mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
8d43859b6a
Implements support for system level traces compatible with SEGGER SystemView tool on top of ESP32 application tracing module. That kind of traces can help to analyse program's behaviour. SystemView can show timeline of tasks/ISRs execution, context switches, statistics related to the CPUs' load distribution etc. Also this commit adds useful feature to ESP32 application tracing module: - Trace data buffering is implemented to handle temporary peaks of events load
49 lines
1.3 KiB
Plaintext
49 lines
1.3 KiB
Plaintext
#
|
|
# 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
|