mirror of https://github.com/ARMmbed/mbed-os.git
Increase stack size in malloc test for Cortex-A
Increase the stack size used in the malloc test to prevent stack overflows on Cortex-A devices.pull/3362/head
parent
1fd2402a76
commit
92d11df19d
|
@ -7,7 +7,11 @@
|
|||
#endif
|
||||
|
||||
#define NUM_THREADS 5
|
||||
#if defined(__CORTEX_A9)
|
||||
#define THREAD_STACK_SIZE DEFAULT_STACK_SIZE
|
||||
#else
|
||||
#define THREAD_STACK_SIZE 256
|
||||
#endif
|
||||
|
||||
DigitalOut led1(LED1);
|
||||
volatile bool should_exit = false;
|
||||
|
|
Loading…
Reference in New Issue