Skip to content

Commit 0ac17ea

Browse files
committed
Define MBED_CONF_RTOS_MAIN_THREAD_STACK_SIZE properly in rtos mbed_lib.json
1 parent 4ecd99f commit 0ac17ea

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

rtos/source/TARGET_CORTEX/mbed_lib.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,9 @@
7676
"STM32F072RB": {
7777
"main-thread-stack-size": 3072
7878
},
79+
"TMPM46B": {
80+
"main-thread-stack-size": 3072
81+
},
7982
"NUVOTON": {
8083
"idle-thread-stack-size-debug-extra": 512
8184
}

targets/TARGET_TOSHIBA/mbed_rtx.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,6 @@
2525
#ifndef INITIAL_SP
2626
#define INITIAL_SP (0x20080000UL)
2727
#endif
28-
#ifdef MBED_CONF_RTOS_MAIN_THREAD_STACK_SIZE
29-
#undef MBED_CONF_RTOS_MAIN_THREAD_STACK_SIZE
30-
#endif
31-
#define MBED_CONF_RTOS_MAIN_THREAD_STACK_SIZE 3072
3228

3329
#endif
3430

0 commit comments

Comments
 (0)