I try to change the compiler options like -01 or -02. I already go to the platform.txt both for mbed. but I find they replace the options with one variable. The details are shown as below, do you know whereI can find the compliler.mbed.cflags?
The compiler.mbed.cflags property is defined in the board definition in the platform's boards.txt configuration file:
Note the @ in the "@{compiler.mbed.cflags}" argument. This syntax tells the GCC compiler to load a list of command line options from a text file at the provided path: