summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2012-10-22 21:37:25 -0700
committerKeith Packard <keithp@keithp.com>2012-10-22 21:37:25 -0700
commite80d7cd18fa4dac98d941e86b5956403a7170966 (patch)
treeb7a34e2e0cab4c9104d6f0370933215803411e7c /src
parent20496608ca287e65302193ee1afe9f0cad3a36e1 (diff)
altos: Let AVR products override the stack size. Set telepyro to 104
Otherwise, telepyro doesn't have enough ram... Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src')
-rw-r--r--src/avr/ao_arch.h2
-rw-r--r--src/avr/ao_pins.h1
2 files changed, 3 insertions, 0 deletions
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