summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2016-03-26 15:59:26 -0700
committerKeith Packard <keithp@keithp.com>2016-03-26 16:07:20 -0700
commita86d98b708d84c6e0b85cb950e3f1ee16cfc56f5 (patch)
treee06625373e59482253d05e61bf35d06f5cf06830 /src
parent4fa71ecf168e275b24534a5a20e3dd4e178c7bbd (diff)
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 <keithp@keithp.com>
Diffstat (limited to 'src')
-rw-r--r--src/stm/ao_arch.h2
1 files changed, 2 insertions, 0 deletions
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