I am using MDK ARM 4.23 compiling for the Freescale K60 micro using version 3.7 of the MQX operating system.
If I use any compiler optimization setting other than Level 0 for any of the operating system, the BSP, the PSP, or my code ... the resulting system is erratic and unstable. If I use no optimization, on any of the portions of the code, it works fine. I can't isolate it to a single chunk in that it seems universal.
Is this an issue with optimization in general, with the K60, or with MQX?
Does anyone have any experience here?