Page 1 of 1

CONFIG_COMPILER_OPTIMIZATION esp32

Posted: Tue Sep 14, 2021 1:27 pm
by Oscar_T
Hello

I'm trying to figure out how to change this option to be able to try out different levels of optimization.

Could you tell me a method to change these options?

thanks !

Re: CONFIG_COMPILER_OPTIMIZATION esp32

Posted: Tue Sep 14, 2021 2:26 pm
by LeighM
When a Flowcode project is first compiled, a default sdkconfig file is copied into the project build subdirectory (similar name to the project)
You can edit this file and subsequent compiles will not overwrite it.

You can also use the ESP-IDF config tool to change sdkconfig settings.
To do this, run the ESP-IDF cmd prompt.
Change (cd) directory to the project build directory, where sdkconfig exists.
Run the following command:

Code: Select all

idf.py menuconfig