Kconfig 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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. menu "SDK tool configuration"
  7. config TOOLPREFIX
  8. string "Compiler toolchain path/prefix"
  9. default "xtensa-esp32-elf-"
  10. help
  11. The prefix/path that is used to call the toolchain. The default setting assumes
  12. a crosstool-ng gcc setup that is in your PATH.
  13. config PYTHON
  14. string "Python 2 interpreter"
  15. default "python"
  16. help
  17. The executable name/path that is used to run python. On some systems Python 2.x
  18. may need to be invoked as python2.
  19. endmenu
  20. source "$COMPONENT_KCONFIGS_PROJBUILD"
  21. choice OPTIMIZATION_LEVEL
  22. prompt "Optimization level"
  23. default OPTIMIZATION_LEVEL_DEBUG
  24. help
  25. This option sets optimization level.
  26. - for "Release" setting, -Os flag is added to CFLAGS,
  27. and -DNDEBUG flag is added to CPPFLAGS.
  28. - for "Debug" setting, -Og flag is added to CFLAGS.
  29. To override any of these settings, set CFLAGS and/or CPPFLAGS
  30. in project makefile, before including $(IDF_PATH)/make/project.mk.
  31. config OPTIMIZATION_LEVEL_DEBUG
  32. bool "Debug"
  33. config OPTIMIZATION_LEVEL_RELEASE
  34. bool "Release"
  35. endchoice
  36. menu "Component config"
  37. source "$COMPONENT_KCONFIGS"
  38. endmenu