Why am I getting a HardFault with -O2 optimization only?
In my STM32F091 project, the Debug build works all just fine.Release build does not.So I kept -O2 to keep the behavior, but added -g3 to be able to debug.Fixed a couple typical bugs like a forgotten volatile on an ISR-accessed flag etc.Now I get a HA...