altos: Let AVR products override the stack size. Set telepyro to 104
authorKeith Packard <keithp@keithp.com>
Tue, 23 Oct 2012 04:37:25 +0000 (21:37 -0700)
committerKeith Packard <keithp@keithp.com>
Tue, 23 Oct 2012 04:37:25 +0000 (21:37 -0700)
Otherwise, telepyro doesn't have enough ram...

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

index a14d0adecc6d7fc3d0cb3d5e0965768c15eb4818..96659aaf9c530c92fd16837b0975724da34a0918 100644 (file)
@@ -37,7 +37,9 @@
  * AVR definitions and code fragments for AltOS
  */
 
+#ifndef AO_STACK_SIZE
 #define AO_STACK_SIZE  116
+#endif
 
 /* Various definitions to make GCC look more like SDCC */
 
index 0aa978e9dd174830163d2d20ac2e1e27c7a9fd1f..a08e87fa021660ed21c04050c1690e37e4ad1ea1 100644 (file)
@@ -69,6 +69,7 @@
 #endif
 
 #ifdef TELEPYRO
+       #define AO_STACK_SIZE           104
        #define LEDS_AVAILABLE          0
        #define HAS_USB                 1
        #define HAS_LOG                 0