2019-08-09 08:32 AM
In projects generated by CubeMX, the release build is missing predefined preprocessor symbol NDEBUG. This is part of the C/C++ standard for decades (implicitly in the assert.h specification). Lots of existing code depends on this symbol to exclude debug code for release builds...
There, an easy one to fix!
Please confirm when someone has written a ticket for this,
Thanks,
Best Regards, Dave
2019-08-09 05:53 PM
Does CubeMX indeed create projects with separate debug and release configurations?
-- pa
2019-08-09 06:19 PM
@Pavel A. Yes, its quite tedious to set up configurations. IIRC all other tools like CubeMX I've used create both.