Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Although there is a #define DEBUG made when compiling in debug mode there is no choice to in- or exclude a component based on that.

The reason for that is: the fitter process runs before any C-Language is compiled and so does not "see" any external symbols.


You can do it the other way: In each ComponentName.h file a symbol is #defined which you may use for conditional compiling.  So you just need todisable your bootloadable (and bootloader when you use both) in the Top>>Design schematic.


0 Replies