Skip to content

Commit b64fa3a

Browse files
committed
[EFR32] Reduce test stack sizes on EFR32
1 parent b6ff439 commit b64fa3a

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

TESTS/mbedmicro-rtos-mbed/mutex/main.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@
3232
#define STACK_SIZE 768
3333
#elif (defined(TARGET_EFM32GG_STK3700)) && !defined(TOOLCHAIN_ARM_MICRO)
3434
#define STACK_SIZE 1536
35+
#elif (defined(TARGET_EFR32)) && !defined(TOOLCHAIN_ARM_MICRO)
36+
#define STACK_SIZE 768
3537
#elif defined(TARGET_MCU_NRF51822) || defined(TARGET_MCU_NRF52832)
3638
#define STACK_SIZE 1024
3739
#elif defined(TARGET_XDOT_L151CC)

TESTS/mbedmicro-rtos-mbed/semaphore/main.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@
3535
#define STACK_SIZE 768
3636
#elif (defined(TARGET_EFM32GG_STK3700)) && !defined(TOOLCHAIN_ARM_MICRO)
3737
#define STACK_SIZE 1536
38+
#elif (defined(TARGET_EFR32)) && !defined(TOOLCHAIN_ARM_MICRO)
39+
#define STACK_SIZE 768
3840
#elif defined(TARGET_MCU_NRF51822) || defined(TARGET_MCU_NRF52832)
3941
#define STACK_SIZE 768
4042
#elif defined(TARGET_XDOT_L151CC)

TESTS/mbedmicro-rtos-mbed/threads/main.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@
2727
#define STACK_SIZE 1024
2828
#elif defined(TARGET_HI2110)
2929
#define STACK_SIZE 512
30+
#elif defined(TARGET_EFR32)
31+
#define STACK_SIZE 512
3032
#else
3133
#define STACK_SIZE DEFAULT_STACK_SIZE
3234
#endif

0 commit comments

Comments
 (0)