altos: Set default LPC stack to 512 bytes, Em to 384 bytes
[fw/altos] / src / lpc / ao_arch.h
index f605e3d2d677ddc4ed4b5ada58e46ecb88a0d4b9..d04bf2c8b06d210a59b39ce39653fdcf14df0304 100644 (file)
@@ -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
 
@@ -137,4 +139,8 @@ ao_serial_init(void);
 
 #define AO_SPI_SPEED_FAST      AO_SPI_SPEED_12MHz
 
+#define AO_BOOT_APPLICATION_BASE       ((uint32_t *) 0x00001000)
+#define AO_BOOT_LOADER_BASE            ((uint32_t *) 0x00000000)
+#define HAS_BOOT_LOADER                        1
+
 #endif /* _AO_ARCH_H_ */