altos: Shrink STM stack size
authorKeith Packard <keithp@keithp.com>
Sun, 26 Aug 2012 16:52:27 +0000 (09:52 -0700)
committerKeith Packard <keithp@keithp.com>
Sun, 26 Aug 2012 16:52:27 +0000 (09:52 -0700)
512 bytes should be enough for anybody.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/stm/ao_arch.h

index 484ce89eb5892232e4109ea232a66cffeba3614f..d0dd3c7976d432a32557399c5fb6b36e4c38c6a2 100644 (file)
  * 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))