mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #2779 from jeromecoutant/PR_NUCLEO_F103RB
[NUCLEO_F103RB] RTOS tests updatepull/2663/merge
commit
5556d781a1
|
@ -21,8 +21,8 @@
|
|||
#define STACK_SIZE DEFAULT_STACK_SIZE/8
|
||||
#elif defined(TARGET_STM32F334R8) && (defined(TOOLCHAIN_GCC) || defined(TOOLCHAIN_IAR))
|
||||
#define STACK_SIZE DEFAULT_STACK_SIZE/4
|
||||
#elif defined(TARGET_STM32F103RB) && defined(TOOLCHAIN_IAR)
|
||||
#define STACK_SIZE DEFAULT_STACK_SIZE/4
|
||||
#elif defined(TARGET_STM32F103RB)
|
||||
#define STACK_SIZE DEFAULT_STACK_SIZE/2
|
||||
#elif defined(TARGET_STM32F030R8) && defined(TOOLCHAIN_IAR)
|
||||
#define STACK_SIZE DEFAULT_STACK_SIZE/4
|
||||
#elif defined(TARGET_STM32F070RB)
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
*/
|
||||
#if defined(TARGET_MCU_NRF51822) || defined(TARGET_MCU_NRF52832)
|
||||
#define STACK_SIZE 512
|
||||
#elif (defined(TARGET_STM32F070RB) || defined(TARGET_STM32F072RB))
|
||||
#elif (defined(TARGET_STM32F070RB) || defined(TARGET_STM32F072RB) || defined(TARGET_STM32F103RB))
|
||||
#define STACK_SIZE 512
|
||||
#else
|
||||
#define STACK_SIZE DEFAULT_STACK_SIZE
|
||||
|
|
|
@ -353,7 +353,8 @@ extern void pre_main (void);
|
|||
|
||||
#if defined(TARGET_MCU_NRF51822) || defined(TARGET_MCU_NRF52832) || defined (TARGET_STM32F334R8) ||\
|
||||
defined(TARGET_STM32F070RB) || defined(TARGET_STM32F072RB) || \
|
||||
defined(TARGET_STM32F302R8) || defined(TARGET_STM32F303K8) || defined (TARGET_STM32F334C8)
|
||||
defined(TARGET_STM32F302R8) || defined(TARGET_STM32F303K8) || defined (TARGET_STM32F334C8) ||\
|
||||
defined(TARGET_STM32F103RB)
|
||||
static uint32_t thread_stack_main[DEFAULT_STACK_SIZE / sizeof(uint32_t)];
|
||||
#else
|
||||
static uint32_t thread_stack_main[DEFAULT_STACK_SIZE * 2 / sizeof(uint32_t)];
|
||||
|
|
Loading…
Reference in New Issue