Skip to content

Commit cdb6258

Browse files
committed
Decrease nrf51 semaphore test stack size
Decrease the stack size of the threads used on semaphore test for the nrf51. This fixes a crash due to being out of heap memory.
1 parent 55d74c5 commit cdb6258

File tree

1 file changed

+1
-1
lines changed
  • libraries/tests/rtos/mbed/semaphore

1 file changed

+1
-1
lines changed

libraries/tests/rtos/mbed/semaphore/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
#elif (defined(TARGET_EFM32GG_STK3700)) && !defined(TOOLCHAIN_ARM_MICRO)
4141
#define STACK_SIZE 1536
4242
#elif defined(TARGET_MCU_NRF51822)
43-
#define STACK_SIZE 768
43+
#define STACK_SIZE 512
4444
#else
4545
#define STACK_SIZE DEFAULT_STACK_SIZE
4646
#endif

0 commit comments

Comments
 (0)