summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2016-01-19 23:55:52 -0800
committerKeith Packard <keithp@keithp.com>2016-02-07 15:42:27 -0800
commitfbb07cf50ba7fa278d1f8201ef376ec12480e9aa (patch)
tree1aa0dcf791658ff961866dee490c066548d69287
parent1d7463befc18f415d8982f04e52729d3bf5b95a9 (diff)
altos/stmf0: Allow projects to specify non-default stack size
512 may not be suitable for everyone. Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r--src/stmf0/ao_arch.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/stmf0/ao_arch.h b/src/stmf0/ao_arch.h
index 6ee71ef9..45df0982 100644
--- a/src/stmf0/ao_arch.h
+++ b/src/stmf0/ao_arch.h
@@ -25,7 +25,9 @@
* STM32F0 definitions and code fragments for AltOS
*/
+#ifndef AO_STACK_SIZE
#define AO_STACK_SIZE 512
+#endif
#define AO_LED_TYPE uint16_t