summaryrefslogtreecommitdiff
path: root/src/stm/ao_arch.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2012-08-26 09:52:27 -0700
committerKeith Packard <keithp@keithp.com>2012-08-26 09:52:27 -0700
commitdec1481786ad54e22634e32109b5ed6e5483938e (patch)
treec42c2a0da5cf8b070e859c00bf3f6cc2e74537f6 /src/stm/ao_arch.h
parentd13d0fbfcb0fd6d8a1af46f6270a968d746c830e (diff)
altos: Shrink STM stack size
512 bytes should be enough for anybody. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/stm/ao_arch.h')
-rw-r--r--src/stm/ao_arch.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/stm/ao_arch.h b/src/stm/ao_arch.h
index 484ce89e..d0dd3c79 100644
--- a/src/stm/ao_arch.h
+++ b/src/stm/ao_arch.h
@@ -25,10 +25,14 @@
* STM32L definitions and code fragments for AltOS
*/
-#define AO_STACK_SIZE 668
+#define AO_STACK_SIZE 512
#define AO_LED_TYPE uint16_t
+#ifndef AO_TICK_TYPE
+#define AO_TICK_TYPE uint16_t
+#endif
+
/* Various definitions to make GCC look more like SDCC */
#define ao_arch_naked_declare __attribute__((naked))