# # For a description of the syntax of this configuration file, # see kconfig/kconfig-language.txt. # mainmenu "Espressif IoT Development Framework Configuration" menu "SDK tool configuration" config TOOLPREFIX string "Compiler toolchain path/prefix" default "xtensa-esp32-elf-" help The prefix/path that is used to call the toolchain. The default setting assumes a crosstool-ng gcc setup that is in your PATH. config PYTHON string "Python 2 interpreter" default "python" help The executable name/path that is used to run python. On some systems Python 2.x may need to be invoked as python2. endmenu source "$COMPONENT_KCONFIGS_PROJBUILD" choice OPTIMIZATION_LEVEL prompt "Optimization level" default OPTIMIZATION_LEVEL_DEBUG help This option sets optimization level. - for "Release" setting, -Os flag is added to CFLAGS, and -DNDEBUG flag is added to CPPFLAGS. - for "Debug" setting, -Og flag is added to CFLAGS. To override any of these settings, set CFLAGS and/or CPPFLAGS in project makefile, before including $(IDF_PATH)/make/project.mk. config OPTIMIZATION_LEVEL_DEBUG bool "Debug" config OPTIMIZATION_LEVEL_RELEASE bool "Release" endchoice menu "Component config" source "$COMPONENT_KCONFIGS" endmenu