mirror of https://github.com/ARMmbed/mbed-os.git
STM32F0: clean main-thread-stack-size setting
parent
8197d7625d
commit
dd37ac3c04
|
@ -38,6 +38,12 @@
|
||||||
"STM32L1": {
|
"STM32L1": {
|
||||||
"idle-thread-stack-size-debug-extra": 512
|
"idle-thread-stack-size-debug-extra": 512
|
||||||
},
|
},
|
||||||
|
"STM32F070RB": {
|
||||||
|
"main-thread-stack-size": 3072
|
||||||
|
},
|
||||||
|
"STM32F072RB": {
|
||||||
|
"main-thread-stack-size": 3072
|
||||||
|
},
|
||||||
"MCU_NRF51": {
|
"MCU_NRF51": {
|
||||||
"target.boot-stack-size": "0x800"
|
"target.boot-stack-size": "0x800"
|
||||||
},
|
},
|
||||||
|
|
|
@ -19,13 +19,6 @@
|
||||||
|
|
||||||
#include <stdint.h>
|
#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(TARGET_STM32L475VG) || defined(TARGET_STM32L443RC))
|
||||||
#if defined(__ARMCC_VERSION)
|
#if defined(__ARMCC_VERSION)
|
||||||
extern uint32_t Image$$ARM_LIB_HEAP$$ZI$$Base[];
|
extern uint32_t Image$$ARM_LIB_HEAP$$ZI$$Base[];
|
||||||
|
|
Loading…
Reference in New Issue