mirror of https://github.com/ARMmbed/mbed-os.git
Define MBED_CONF_RTOS_MAIN_THREAD_STACK_SIZE properly in rtos mbed_lib.json
parent
4ecd99f6a4
commit
0ac17eaea8
|
@ -76,6 +76,9 @@
|
|||
"STM32F072RB": {
|
||||
"main-thread-stack-size": 3072
|
||||
},
|
||||
"TMPM46B": {
|
||||
"main-thread-stack-size": 3072
|
||||
},
|
||||
"NUVOTON": {
|
||||
"idle-thread-stack-size-debug-extra": 512
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue