A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.espressif.com/projects/arduino-esp32/en/latest/guides/core_debug.html below:

Website Navigation


Compile Arduino libs with ESP_LOGx -

Compile Arduino libs with ESP_LOGx

There are 2 primary approaches and both of them involve editing file configs/defconfig.common. Edit the file directly and then build. Later you can git restore configs/defconfig.common to go back. Copy the file cp configs/defconfig.common configs/defconfig.debug and edit the debug version.

vim configs/defconfig.common or vim configs/defconfig.debug

Edit line 44 containing by default CONFIG_LOG_DEFAULT_LEVEL_ERROR=y to one of the following lines depending on your desired log level:

CONFIG_LOG_DEFAULT_LEVEL_NONE=y # No output
CONFIG_LOG_DEFAULT_LEVEL_ERROR=y # Errors - default
CONFIG_LOG_DEFAULT_LEVEL_WARN=y # Warnings
CONFIG_LOG_DEFAULT_LEVEL_INFO=y # Info
CONFIG_LOG_DEFAULT_LEVEL_DEBUG=y # Debug
CONFIG_LOG_DEFAULT_LEVEL_VERBOSE=y # Verbose

Then simply build the libs for all SoCs or one specific SoC. Note that building for all SoCs takes a lot of time, so if you are working only with specific SoC(s), build only for those.

Note

If you have copied the defconfig file and the debug settings are in file configs/defconfig.debug add flag debug to compilation command. Example : ./build.sh debug


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4