2016-08-17 11:08:22 -04:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
|
|
|
# see kconfig/kconfig-language.txt.
|
|
|
|
#
|
2016-08-19 02:30:39 -04:00
|
|
|
mainmenu "Espressif IoT Development Framework Configuration"
|
2016-08-17 11:08:22 -04:00
|
|
|
|
|
|
|
|
|
|
|
menu "SDK tool configuration"
|
|
|
|
config TOOLPREFIX
|
2016-09-28 01:24:58 -04:00
|
|
|
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.
|
2016-08-17 11:08:22 -04:00
|
|
|
|
|
|
|
config PYTHON
|
|
|
|
string "Python 2 interpreter"
|
2016-09-28 01:24:58 -04:00
|
|
|
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.
|
2016-08-17 11:08:22 -04:00
|
|
|
endmenu
|
|
|
|
|
|
|
|
source "$COMPONENT_KCONFIGS_PROJBUILD"
|
|
|
|
|
2016-10-17 00:38:17 -04:00
|
|
|
choice OPTIMIZATION_LEVEL
|
|
|
|
prompt "Optimization level"
|
|
|
|
default OPTIMIZATION_LEVEL_DEBUG
|
|
|
|
help
|
2016-10-20 04:10:51 -04:00
|
|
|
This option sets optimization level.
|
2016-10-20 05:17:54 -04:00
|
|
|
|
|
|
|
- for "Release" setting, -Os flag is added to CFLAGS,
|
2016-10-20 04:10:51 -04:00
|
|
|
and -DNDEBUG flag is added to CPPFLAGS.
|
2016-10-20 05:17:54 -04:00
|
|
|
|
|
|
|
- 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.
|
|
|
|
|
2016-10-17 00:38:17 -04:00
|
|
|
config OPTIMIZATION_LEVEL_DEBUG
|
|
|
|
bool "Debug"
|
|
|
|
config OPTIMIZATION_LEVEL_RELEASE
|
|
|
|
bool "Release"
|
|
|
|
endchoice
|
|
|
|
|
2016-08-17 11:08:22 -04:00
|
|
|
menu "Component config"
|
|
|
|
source "$COMPONENT_KCONFIGS"
|
|
|
|
endmenu
|
|
|
|
|
|
|
|
|
|
|
|
|