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

cross mob
Bob_Marlowe
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.

BUT

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.

Bob

0 Likes
0 Replies