Hello,
I am using nCS for my application
In vscode I found compiler optimization settings under guiconfig, I just wanted to understand is there any other way for me to enable Oz and Os compiler optimization for build size..?
Thanks,
Hello,
I am using nCS for my application
In vscode I found compiler optimization settings under guiconfig, I just wanted to understand is there any other way for me to enable Oz and Os compiler optimization for build size..?
Thanks,
Hi,
When creating or editing a build configuration add the following to Extra CMake arguments:
-DCMAKE_C_FLAGS="-Os" .
Or any other C compiler flag you desire.
In case you compile C++ code use -DCMAKE_CXX_FLAGS.
-Priyanka