altos/stm: Allow apps to define different stack size
[fw/altos] / src / stm / ao_arch.h
index a6276c5ae306963e8ac76fc0e86b02ca9e76b2fa..f9508b8f2f4c92401c196e702720a74f70f50e70 100644 (file)
@@ -25,7 +25,9 @@
  * STM32L definitions and code fragments for AltOS
  */
 
+#ifndef AO_STACK_SIZE
 #define AO_STACK_SIZE  512
+#endif
 
 #define AO_LED_TYPE    uint16_t