Define MBED_CONF_RTOS_MAIN_THREAD_STACK_SIZE properly in rtos mbed_lib.json

pull/12979/head
Lingkai Dong 2020-05-15 15:10:41 +01:00
parent 4ecd99f6a4
commit 0ac17eaea8
2 changed files with 3 additions and 4 deletions

View File

@ -76,6 +76,9 @@
"STM32F072RB": {
"main-thread-stack-size": 3072
},
"TMPM46B": {
"main-thread-stack-size": 3072
},
"NUVOTON": {
"idle-thread-stack-size-debug-extra": 512
}

View File

@ -25,10 +25,6 @@
#ifndef INITIAL_SP
#define INITIAL_SP (0x20080000UL)
#endif
#ifdef MBED_CONF_RTOS_MAIN_THREAD_STACK_SIZE
#undef MBED_CONF_RTOS_MAIN_THREAD_STACK_SIZE
#endif
#define MBED_CONF_RTOS_MAIN_THREAD_STACK_SIZE 3072
#endif