From 766a7650a550b40f501724aa29046dc45d1323db Mon Sep 17 00:00:00 2001 From: Chun-Chieh Li Date: Tue, 18 Jun 2019 11:20:11 +0800 Subject: [PATCH] [Nuvoton] Fix idle thread stack underflow in debug build In rtos/mbed_lib.json: Enlarge idle-thread-stack-size-debug-extra for all Nuvoton targets. In rtos/TARGET_CORTEX/mbed_rtx_conf.h: MBED_DEBUG also must be defined for this configuration parameter to take effect. --- rtos/mbed_lib.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rtos/mbed_lib.json b/rtos/mbed_lib.json index 3e189ee84b..36b4e0ad62 100644 --- a/rtos/mbed_lib.json +++ b/rtos/mbed_lib.json @@ -49,6 +49,9 @@ }, "MCU_NRF51_UNIFIED": { "target.boot-stack-size": "0x800" - } + }, + "NUVOTON": { + "idle-thread-stack-size-debug-extra": 512 + } } }