I’m currently using the Particle CLI to compile my application but I’d like to change some of the compiler options. Is there a configuration file somewhere that allows me to adjust compile options such as -D flags and optimization options?
None that I know of, but you could use #pragma GCC optimize ...
or __attribute__((optimize("o0")))
in your code (maybe even inside a set of header files for variing needs)