Skip to content

Commit 6b721e9

Browse files
ccli8Arto Kinnunen
authored andcommitted
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.
1 parent 41a8c68 commit 6b721e9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

rtos/mbed_lib.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@
4949
},
5050
"MCU_NRF51_UNIFIED": {
5151
"target.boot-stack-size": "0x800"
52-
}
52+
},
53+
"NUVOTON": {
54+
"idle-thread-stack-size-debug-extra": 512
55+
}
5356
}
5457
}

0 commit comments

Comments
 (0)