STM32F0: clean main-thread-stack-size setting

pull/12619/head
jeromecoutant 2019-12-19 13:02:02 +01:00 committed by Bartek Szatkowski
parent c27c03c784
commit 5cedd3320c
2 changed files with 6 additions and 7 deletions

View File

@ -38,6 +38,12 @@
"STM32L1": {
"idle-thread-stack-size-debug-extra": 512
},
"STM32F070RB": {
"main-thread-stack-size": 3072
},
"STM32F072RB": {
"main-thread-stack-size": 3072
},
"MCU_NRF51": {
"target.boot-stack-size": "0x800"
},

View File

@ -19,13 +19,6 @@
#include <stdint.h>
#if (defined(TARGET_STM32F070RB) || defined(TARGET_STM32F072RB))
#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
#if (defined(TARGET_STM32L475VG) || defined(TARGET_STM32L443RC))
#if defined(__ARMCC_VERSION)
extern uint32_t Image$$ARM_LIB_HEAP$$ZI$$Base[];