Skip to content

Commit 0e2d1cb

Browse files
authored
Merge pull request #3362 from c1728p9/cortex_a_stack_bump
Increase stack size in malloc test for Cortex-A
2 parents 8f138fc + 92d11df commit 0e2d1cb

File tree

1 file changed

+4
-0
lines changed
  • TESTS/mbedmicro-rtos-mbed/malloc

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,11 @@
77
#endif
88

99
#define NUM_THREADS 5
10+
#if defined(__CORTEX_A9)
11+
#define THREAD_STACK_SIZE DEFAULT_STACK_SIZE
12+
#else
1013
#define THREAD_STACK_SIZE 256
14+
#endif
1115

1216
DigitalOut led1(LED1);
1317
volatile bool should_exit = false;

0 commit comments

Comments
 (0)