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
Russ Butler 2016-12-03 14:21:17 -06:00
parent 1fd2402a76
commit 92d11df19d
1 changed files with 4 additions and 0 deletions

View File

@ -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;