altos: Clean up boot loader support
[fw/altos] / src / stm-flash / ao_pins.h
index ca53d844cd86af4924cd470602411d8ea9185571..382ef3531a4372b867b2d17b666d66c159daedb0 100644 (file)
 #define HAS_TASK_INFO          0
 #define HAS_VERSION            0
 
+#define AO_BOOT_CHAIN          1
+#define AO_BOOT_PIN            1
+
 #define AO_BOOT_APPLICATION_GPIO       stm_gpioa
 #define AO_BOOT_APPLICATION_PIN                0
 #define AO_BOOT_APPLICATION_VALUE      1
 #define AO_BOOT_APPLICATION_MODE       0
-#define AO_BOOT_APPLICATION_BASE       0x2000
+#define AO_BOOT_APPLICATION_BASE       ((uint32_t *) 0x2000)
 
 #endif /* _AO_PINS_H_ */