From 1c38bee393727138ea502446d1de4d3ccd45e03c Mon Sep 17 00:00:00 2001 From: mikee47 Date: Mon, 27 Sep 2021 11:15:08 +0100 Subject: [PATCH] Revert loglevel changes from #2371. Cannot set `CONFIG_BOOTLOADER_LOG_LEVEL` directly, only through choice variables --- Sming/Arch/Esp32/Components/esp32/sdk/config/debug | 12 ++++++++++++ Sming/Arch/Esp32/Components/esp32/sdk/config/release | 12 ++++++++++++ 2 files changed, 24 insertions(+) diff --git a/Sming/Arch/Esp32/Components/esp32/sdk/config/debug b/Sming/Arch/Esp32/Components/esp32/sdk/config/debug index 55e48a89ac..c74a1e37de 100644 --- a/Sming/Arch/Esp32/Components/esp32/sdk/config/debug +++ b/Sming/Arch/Esp32/Components/esp32/sdk/config/debug @@ -3,9 +3,21 @@ # # The bootloader logs all type of messages +CONFIG_BOOTLOADER_LOG_LEVEL_NONE= +CONFIG_BOOTLOADER_LOG_LEVEL_ERROR= +CONFIG_BOOTLOADER_LOG_LEVEL_WARN= +CONFIG_BOOTLOADER_LOG_LEVEL_INFO=y +CONFIG_BOOTLOADER_LOG_LEVEL_DEBUG= +CONFIG_BOOTLOADER_LOG_LEVEL_VERBOSE= CONFIG_BOOTLOADER_LOG_LEVEL=3 # ESP-IDF logs all type of messages +CONFIG_LOG_DEFAULT_LEVEL_NONE= +CONFIG_LOG_DEFAULT_LEVEL_ERROR= +CONFIG_LOG_DEFAULT_LEVEL_WARN= +CONFIG_LOG_DEFAULT_LEVEL_INFO=y +CONFIG_LOG_DEFAULT_LEVEL_DEBUG= +CONFIG_LOG_DEFAULT_LEVEL_VERBOSE= CONFIG_LOG_DEFAULT_LEVEL=3 # Sets watchpoint index 1 (the second of two) at the end of any task stack. This is the most accurate way to debug task stack overflows. diff --git a/Sming/Arch/Esp32/Components/esp32/sdk/config/release b/Sming/Arch/Esp32/Components/esp32/sdk/config/release index 2e3743a7c1..f130372a9e 100644 --- a/Sming/Arch/Esp32/Components/esp32/sdk/config/release +++ b/Sming/Arch/Esp32/Components/esp32/sdk/config/release @@ -3,8 +3,20 @@ # # The bootloader logs only errors +CONFIG_BOOTLOADER_LOG_LEVEL_NONE= +CONFIG_BOOTLOADER_LOG_LEVEL_ERROR=y +CONFIG_BOOTLOADER_LOG_LEVEL_WARN= +CONFIG_BOOTLOADER_LOG_LEVEL_INFO= +CONFIG_BOOTLOADER_LOG_LEVEL_DEBUG= +CONFIG_BOOTLOADER_LOG_LEVEL_VERBOSE= CONFIG_BOOTLOADER_LOG_LEVEL=1 # ESP-IDF logs only errors +CONFIG_LOG_DEFAULT_LEVEL_NONE= +CONFIG_LOG_DEFAULT_LEVEL_ERROR=y +CONFIG_LOG_DEFAULT_LEVEL_WARN= +CONFIG_LOG_DEFAULT_LEVEL_INFO= +CONFIG_LOG_DEFAULT_LEVEL_DEBUG= +CONFIG_LOG_DEFAULT_LEVEL_VERBOSE= CONFIG_LOG_DEFAULT_LEVEL=1