From: Keith Packard Date: Sat, 26 Mar 2016 22:59:26 +0000 (-0700) Subject: altos/stm: Allow apps to define different stack size X-Git-Tag: 1.6.3~2^2~70 X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=a86d98b708d84c6e0b85cb950e3f1ee16cfc56f5;p=fw%2Faltos altos/stm: Allow apps to define different stack size While 512 bytes is a reasonable size, sometimes apps don't have that much stack space. Signed-off-by: Keith Packard --- diff --git a/src/stm/ao_arch.h b/src/stm/ao_arch.h index a6276c5a..f9508b8f 100644 --- a/src/stm/ao_arch.h +++ b/src/stm/ao_arch.h @@ -25,7 +25,9 @@ * STM32L definitions and code fragments for AltOS */ +#ifndef AO_STACK_SIZE #define AO_STACK_SIZE 512 +#endif #define AO_LED_TYPE uint16_t