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 Mohammed,
I am looking into this. I will discuss this internally and get back to you as soon as I get a response.
Best Regards,
Priyanka
What were your findings Priyanka ..?
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