My project has 2 configurations in MCUXpresso: debug and release. I would like the debug configuration to build with settings that make debugging easier. The release configuration should have optimizations turned on.
The active configuration for the project is set to Debug. The Optimization setting for the Debug configuration is set to "None -O0", like it should. Everything is good here.
So I switched to the release configuration by changing the "Configuration" drop down from "Debug" to "Release", and changed the optimization level to "Optimize most (-O3)".
I then clicked "Apply and Close". I reopened the project properties, and suddenly the Debug configuration is set with -O3 for the Optimization Level.
This is with MCUXpresso 10.2.1