2017-10-05 09:09 AM
Hi all,
I would like yo know the differences between Debug & Release compile mode. Usually, I work with STM32f4 microcontroller family using Atollic TRUEStudio IDE. By default, I use Debug mode, but in some cases my microcontroller seems frozen. Why? Does Release compile mode more efficient than Debug mode?
Thanks in advance.
2017-10-05 10:00 AM
Look at the settings in the project meta data.
Often enables asserts, and disables optimizations. The former can stick in while loops, the former allows single stepping and better line resolution.
If your code is stuck, stop it and check where it is.