Hi,
We have a project where we would like to have the opportunity to compile it for using a bootloader version and compile it for a version without bootloader. For that I am using the compile in debug mode or in release mode, changing the code accordingly with #if DEBUG and #endif . But to totally accomplish it, we would like to change the PROGRAM_FLASH as well , setting it to 0xf000 for the bootloader and 0 for the debug version .
I am trying to find a way to do so but the MCUxpresso Properties->MCU settings are not defined by the compile mode, therefore I always have to change the PROGRAM_FLASH address every time I want to change the mode.
Is there a way to link the address to the compile mode so that the transition is just linked with the compilation mode?
Thank you for the help
Regards