3
Vote

Exclude abort diagnostics in Release build or by default

description

There is a lot of code in DeviceCode\cores\arm\Diagnostics\Aborts.cpp that serve for interactive diagnostic purposes, mostly for one specific platform that has LCD, buttons etc. Please change the preprocessor directive, so this code is not included in Release configuration by default (now it is excluded for RTM) or included only if requested explicitly. This results in firmware size reduction, significant in case of bootloaders.

comments