when i tried to switch from debug to release , i found there was no release option in the configuration drop down menu. i creat one by "create new configuration" ,but there is no symbol define in the symbol window,and there is no include path in the include path window which cause some errors , i fixed the errors by anding "CPU_S32K116" ,"START_FROM_FLASH" and include paths. but there are many "selected processor does not support `bkpt #0' in ARM" erros while compiling.
the attachments are the details.
Hi,
the easiest way how to create Release version is copy Debug configuration as it is and remove debug info. Right click on project name -> Properties -> C/C++ Build -> Settings:
In newly created configuration set debbug level to none:
Jiri
hi jiri:
i followed your guide ,copying a configruation from the debug and mask the debug information by select none , compiling is finish ,but the code size is the same as debug configuration.
steven
Hi,
Code size (binary) will be same. Debug info is stored inside .elf file. With no debug info will be .elf file way smaller. Anyway - technically from MCU point of view - there is no difference between Debug and Release binary. You can also turn ON optimization - if you already didn't turned it ON and debug.
Jiri