2019-05-22 04:43 AM
I believe I am experiencing a bug in CubeMX software which is not critical but is very annoying. Every time I re-generate project code from Cube, it automatically alters .cproject file, resetting C code optimizations to -O2 level. This then leads to funny behavior during debugging if I happen to forget to fix it manually.
I'm using CubeMX v5.2.0 and STM32F4 series package v1.24.1 in Atollic TrueStudio.