summaryrefslogtreecommitdiff
path: root/src/lpc/ao_arch.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-08-17 17:43:18 +0200
committerKeith Packard <keithp@keithp.com>2013-08-25 16:22:48 -0700
commit10f88c46df9a266f62452dc25275c79a3bb0653d (patch)
tree3cfb8159954ed26f7222199ca856c50071b64b0c /src/lpc/ao_arch.h
parent41428d1e1e44a17eea5fda2b34cabafbdebf1464 (diff)
altos: Set default LPC stack to 512 bytes, Em to 384 bytes
The default for lpc has been raised to 512 bytes, but Em doesn't have enough RAM for that. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/lpc/ao_arch.h')
-rw-r--r--src/lpc/ao_arch.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lpc/ao_arch.h b/src/lpc/ao_arch.h
index a8d3cfc4..d04bf2c8 100644
--- a/src/lpc/ao_arch.h
+++ b/src/lpc/ao_arch.h
@@ -24,7 +24,9 @@
* LPC11U14 definitions and code fragments for AltOS
*/
-#define AO_STACK_SIZE 320
+#ifndef AO_STACK_SIZE
+#define AO_STACK_SIZE 512
+#endif
#define AO_LED_TYPE uint16_t