Skip to content

Commit 3f4e839

Browse files
committed
NRF52832: Extend idle thread stack size to 512 bytes.
Fix a crash where the idle thread stack size overflows. This crash was depending on the compiler and standard library used.
1 parent 744b2a2 commit 3f4e839

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

targets/TARGET_NORDIC/mbed_rtx.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@
3737
#define INITIAL_SP (0x20010000UL)
3838
#endif
3939

40+
#define OS_IDLE_THREAD_STACK_SIZE 512
41+
4042
#elif defined(TARGET_MCU_NRF52840)
4143

4244
#ifndef INITIAL_SP

0 commit comments

Comments
 (0)