Skip to content

Commit 1c39f5b

Browse files
semaphore test: fix out of memory problem for NUCLEO_F070RB
1 parent 1566395 commit 1c39f5b

File tree

1 file changed

+1
-1
lines changed
  • TESTS/mbedmicro-rtos-mbed/semaphore

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ using namespace utest::v1;
3030
#define SEM_CHANGES 100
3131
#define SHORT_WAIT 5
3232

33-
#define THREAD_STACK_SIZE 512
33+
#define THREAD_STACK_SIZE 320 /* larger stack cause out of heap memory on some 16kB RAM boards in multi thread test*/
3434

3535
Semaphore two_slots(SEMAPHORE_SLOTS);
3636

0 commit comments

Comments
 (0)