-
Notifications
You must be signed in to change notification settings - Fork 3
Compile Options
When running on low end embedded hardware it is often useful to remove code that is not going to be used.
Add these compiler flags to reduce the compile and memory size. In Arduino this will need to be done using the compiler.cpp.extra_flags property.
Setting this will disable Protocol Negotiations (M2_DISABLE_PROTOCOL = 1
) and reduce the memory needed for managing 16 Groups.
Disable all Property Exchange functionality - also reduces the memory footprint. Property Exchange is one of the heavier (and one of the most powerful) parts of MIDI-CI and should be disabled if your MIDI 2.0 Device does not intended to use this feature.
Disable all Protocol Negotiation functionality.
Disable all Profile Configuration functionality.
Disable all Jitter Reduction functionality.
Disable Protocol Negotiation. Note you this should be enabled if Jitter Reduction is enabled.
Disable the Universal SysEx Device ID functionality.