stm32f1: Get boot loader working
[fw/altos] / src / stm32f1 / ao_arch.h
index 743651330e96cad130890e3a162516837fc980bb..7e53f2269ed2901e2119708b8ca77e3b9a2dedca 100644 (file)
@@ -58,4 +58,9 @@
 #define AO_PCLK1       AO_APB1CLK
 #define AO_PCLK2       AO_APB2CLK
 
+#define AO_BOOT_APPLICATION_BASE       ((uint32_t *) 0x08001000)
+#define AO_BOOT_APPLICATION_BOUND      ((uint32_t *) (0x08000000 + stm_flash_size()))
+#define AO_BOOT_LOADER_BASE            ((uint32_t *) 0x08000000)
+#define HAS_BOOT_LOADER                        1
+
 #endif /* _AO_ARCH_H_ */