I have two different Project.lcf files: One is for building witout a bootloader (for development) and the other is for building with a bootloader (for production).
Can I setup something that will swap out these two files (or just the code in the file) based on a flag like this?
#define DEVELOPMENT_BUILD ( FALSE )
I've tried using a something like the following, but the LCF file seems to have it's own syntax and doesn't recognize these commands.
#if( DEVELOPMENT_BUILD == TRUE )....#else....#endif /* #if( DEVELOPMENT_BUILD == TRUE ) */
Note: I'm using CW 10.1 with a mcf51cn128 MCU.