altos: Fix up stm-flash output file name. Use discovery LED pins
[fw/altos] / src / stm-flash / ao_pins.h
index ca53d844cd86af4924cd470602411d8ea9185571..048fc8282ad0d077c9dbb6c75a49664b680f9b8f 100644 (file)
@@ -51,9 +51,9 @@
 #define PACKET_HAS_SLAVE       0
 
 #define LED_PORT_ENABLE                STM_RCC_AHBENR_GPIOCEN
-#define LED_PORT               (&stm_gpioc)
-#define LED_PIN_RED            8
-#define LED_PIN_GREEN          9
+#define LED_PORT               (&stm_gpiob)
+#define LED_PIN_RED            6
+#define LED_PIN_GREEN          7
 #define AO_LED_RED             (1 << LED_PIN_RED)
 #define AO_LED_GREEN           (1 << LED_PIN_GREEN)
 
 #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_ */