Where can I change the compiler optimization options

Dear sir or madam,

I try to change the compiler options like -01 or -02. I already go to the platform.txt both for mbed and seeeduio, 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?

compiler.c.flags=-c {compiler.warning_flags} -g3 -nostdlib “@{compiler.mbed.defines}” “@{compiler.mbed.cflags}” {compiler.mbed.arch.define} -MMD -mcpu={build.mcu} {build.float-abi} {build.fpu}

Thanks in advance

Hi @Hao_Liu ,