From a86d98b708d84c6e0b85cb950e3f1ee16cfc56f5 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Sat, 26 Mar 2016 15:59:26 -0700 Subject: [PATCH] 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 --- src/stm/ao_arch.h | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.30.2