From 27ae597fbc17e1dcf8c4fd775844499d4cd42a35 Mon Sep 17 00:00:00 2001 From: Tiago Medicci Serrano Date: Thu, 16 Apr 2026 13:40:22 -0300 Subject: [PATCH] boards: Increase `esp32h2-devkit:efuse` IDLETHREAD stack to 3072 The idle task is used during initialization and its stack size is operating near the boundaries of a stack overflow, causing occasional crashes during board's bringup. This commit increases the idle task stack size to solve such an issue. Signed-off-by: Tiago Medicci Serrano --- boards/risc-v/esp32h2/esp32h2-devkit/configs/efuse/defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boards/risc-v/esp32h2/esp32h2-devkit/configs/efuse/defconfig b/boards/risc-v/esp32h2/esp32h2-devkit/configs/efuse/defconfig index 522b095ea07..63160e8bbe9 100644 --- a/boards/risc-v/esp32h2/esp32h2-devkit/configs/efuse/defconfig +++ b/boards/risc-v/esp32h2/esp32h2-devkit/configs/efuse/defconfig @@ -24,7 +24,7 @@ CONFIG_BOARD_LOOPSPERMSEC=15000 CONFIG_BUILTIN=y CONFIG_ESPRESSIF_EFUSE=y CONFIG_FS_PROCFS=y -CONFIG_IDLETHREAD_STACKSIZE=2048 +CONFIG_IDLETHREAD_STACKSIZE=3072 CONFIG_INIT_ENTRYPOINT="nsh_main" CONFIG_INIT_STACKSIZE=4096 CONFIG_INTELHEX_BINARY=y