]> granicus.if.org Git - esp-idf/blob - Kconfig
OTA: Improve verification of OTA image before writing, incl. secure boot
[esp-idf] / Kconfig
1 #
2 # For a description of the syntax of this configuration file,
3 # see kconfig/kconfig-language.txt.
4 #
5 mainmenu "Espressif IoT Development Framework Configuration"
6
7
8 menu "SDK tool configuration"
9 config TOOLPREFIX
10     string "Compiler toolchain path/prefix"
11     default "xtensa-esp32-elf-"
12     help
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.
15
16 config PYTHON
17     string "Python 2 interpreter"
18     default "python"
19     help
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.
22 endmenu
23
24 source "$COMPONENT_KCONFIGS_PROJBUILD"
25
26 choice OPTIMIZATION_LEVEL
27     prompt "Optimization level"
28     default OPTIMIZATION_LEVEL_DEBUG
29     help
30         This option sets optimization level.
31         
32         - for "Release" setting, -Os flag is added to CFLAGS,
33          and -DNDEBUG flag is added to CPPFLAGS.
34          
35         - for "Debug" setting, -Og flag is added to CFLAGS.
36         
37         To override any of these settings, set CFLAGS and/or CPPFLAGS
38         in project makefile, before including $(IDF_PATH)/make/project.mk.
39         
40 config OPTIMIZATION_LEVEL_DEBUG
41     bool "Debug"
42 config OPTIMIZATION_LEVEL_RELEASE
43     bool "Release"
44 endchoice
45
46 menu "Component config"
47 source "$COMPONENT_KCONFIGS"
48 endmenu
49
50
51