How to make a Release configuration of CubeMX generated project?
Hello Chudik,
I cannot reproduce,
I have created a basic project with CubeMX toggling a simple LED,
then I have added a Release Configuration based on Debug Configuration (to not miss any crucial setting),
then I have set the release configuration as Active, then modified the Debug Level to None and Optimization to -Osize and It works
I the problem persists try the following:
In the same Debug Configuration modify the optimization and you can leave debug level as maximum since this does not impact the binary (this only inmpacts the informations (sympbols) stored within the ELF file)
Regards,
TarekB