From c8694244d2b4f266468a8de41fb43c2850725738 Mon Sep 17 00:00:00 2001 From: mikee47 Date: Thu, 12 Nov 2020 17:47:01 +0000 Subject: [PATCH] Increase task timer stack size HostTests will now run without crashing. Still need to build with `USER_CFLAGS=-DNDEBUG` because of test failures (libc, spiffs) --- .../Esp32/Components/esp32/project/sdkconfig.defaults.debug | 3 +++ .../Esp32/Components/esp32/project/sdkconfig.defaults.release | 3 +++ 2 files changed, 6 insertions(+) diff --git a/Sming/Arch/Esp32/Components/esp32/project/sdkconfig.defaults.debug b/Sming/Arch/Esp32/Components/esp32/project/sdkconfig.defaults.debug index 2c5eb65acc..08218fc0a6 100644 --- a/Sming/Arch/Esp32/Components/esp32/project/sdkconfig.defaults.debug +++ b/Sming/Arch/Esp32/Components/esp32/project/sdkconfig.defaults.debug @@ -15,6 +15,9 @@ CONFIG_IDF_FIRMWARE_CHIP_ID=0x0000 # Mandatory LWIP changes CONFIG_LWIP_TCPIP_TASK_STACK_SIZE=4096 +# Mandatory Sming framework changes +CONFIG_ESP_TIMER_TASK_STACK_SIZE=8192 + # The bootloader logs all type of messages CONFIG_BOOTLOADER_LOG_LEVEL_NONE= CONFIG_BOOTLOADER_LOG_LEVEL_ERROR= diff --git a/Sming/Arch/Esp32/Components/esp32/project/sdkconfig.defaults.release b/Sming/Arch/Esp32/Components/esp32/project/sdkconfig.defaults.release index f415eac5c8..5f5f2c6e81 100644 --- a/Sming/Arch/Esp32/Components/esp32/project/sdkconfig.defaults.release +++ b/Sming/Arch/Esp32/Components/esp32/project/sdkconfig.defaults.release @@ -15,6 +15,9 @@ CONFIG_IDF_FIRMWARE_CHIP_ID=0x0000 # Mandatory LWIP changes CONFIG_LWIP_TCPIP_TASK_STACK_SIZE=4096 +# Mandatory Sming framework changes +CONFIG_ESP_TIMER_TASK_STACK_SIZE=8192 + # The bootloader logs only errors CONFIG_BOOTLOADER_LOG_LEVEL_NONE= CONFIG_BOOTLOADER_LOG_LEVEL_ERROR=y