From: Keith Packard Date: Tue, 23 Oct 2012 04:37:25 +0000 (-0700) Subject: altos: Let AVR products override the stack size. Set telepyro to 104 X-Git-Tag: 1.1.9.2~22^2~7 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=e80d7cd18fa4dac98d941e86b5956403a7170966 altos: Let AVR products override the stack size. Set telepyro to 104 Otherwise, telepyro doesn't have enough ram... Signed-off-by: Keith Packard --- diff --git a/src/avr/ao_arch.h b/src/avr/ao_arch.h index a14d0ade..96659aaf 100644 --- a/src/avr/ao_arch.h +++ b/src/avr/ao_arch.h @@ -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 */ diff --git a/src/avr/ao_pins.h b/src/avr/ao_pins.h index 0aa978e9..a08e87fa 100644 --- a/src/avr/ao_pins.h +++ b/src/avr/ao_pins.h @@ -69,6 +69,7 @@ #endif #ifdef TELEPYRO + #define AO_STACK_SIZE 104 #define LEDS_AVAILABLE 0 #define HAS_USB 1 #define HAS_LOG 0