altos/stmf0: Allow projects to specify non-default stack size
authorKeith Packard <keithp@keithp.com>
Wed, 20 Jan 2016 07:55:52 +0000 (23:55 -0800)
committerKeith Packard <keithp@keithp.com>
Sun, 7 Feb 2016 23:42:27 +0000 (15:42 -0800)
512 may not be suitable for everyone.

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

index 6ee71ef9caeec029f4cdd2042c62e817fc50ce0b..45df09820279ca52c9077f9c296bc18e0985be93 100644 (file)
@@ -25,7 +25,9 @@
  * STM32F0 definitions and code fragments for AltOS
  */
 
  * STM32F0 definitions and code fragments for AltOS
  */
 
+#ifndef AO_STACK_SIZE
 #define AO_STACK_SIZE  512
 #define AO_STACK_SIZE  512
+#endif
 
 #define AO_LED_TYPE    uint16_t
 
 
 #define AO_LED_TYPE    uint16_t