2 # For a description of the syntax of this configuration file,
3 # see kconfig/kconfig-language.txt.
5 mainmenu "Espressif IoT Development Framework Configuration"
8 menu "SDK tool configuration"
10 string "Compiler toolchain path/prefix"
11 default "xtensa-esp32-elf-"
13 The prefix/path that is used to call the toolchain. The default setting assumes
14 a crosstool-ng gcc setup that is in your PATH.
17 string "Python 2 interpreter"
20 The executable name/path that is used to run python. On some systems Python 2.x
21 may need to be invoked as python2.
24 source "$COMPONENT_KCONFIGS_PROJBUILD"
26 choice OPTIMIZATION_LEVEL
27 prompt "Optimization level"
28 default OPTIMIZATION_LEVEL_DEBUG
30 This option sets optimization level.
32 - for "Release" setting, -Os flag is added to CFLAGS,
33 and -DNDEBUG flag is added to CPPFLAGS.
35 - for "Debug" setting, -Og flag is added to CFLAGS.
37 To override any of these settings, set CFLAGS and/or CPPFLAGS
38 in project makefile, before including $(IDF_PATH)/make/project.mk.
40 config OPTIMIZATION_LEVEL_DEBUG
42 config OPTIMIZATION_LEVEL_RELEASE
46 menu "Component config"
47 source "$COMPONENT_KCONFIGS"