summaryrefslogtreecommitdiff
path: root/src/telefiretwo-v0.1/flash-loader/ao_pins.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2015-12-21 21:48:37 -0800
committerKeith Packard <keithp@keithp.com>2015-12-23 23:12:18 -0800
commitc32c39a2290ac76cd4e85702d981babdbaf5f72d (patch)
tree2319f0dcb79eee1dc056a52ebabbe9d56c776ddb /src/telefiretwo-v0.1/flash-loader/ao_pins.h
parent179f54b60f9e511dc664a35223d9126352ec8f15 (diff)
altos: Support pad/lco boxes with fixed box numbers
This allows for a configuration without adjustable box numbers on either end of the link, simplifying the UI. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/telefiretwo-v0.1/flash-loader/ao_pins.h')
-rw-r--r--src/telefiretwo-v0.1/flash-loader/ao_pins.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/telefiretwo-v0.1/flash-loader/ao_pins.h b/src/telefiretwo-v0.1/flash-loader/ao_pins.h
index f6311267..daa9048d 100644
--- a/src/telefiretwo-v0.1/flash-loader/ao_pins.h
+++ b/src/telefiretwo-v0.1/flash-loader/ao_pins.h
@@ -23,6 +23,10 @@
#include <ao_flash_stm_pins.h>
-#define AO_BOOT_PIN 0
+#define AO_BOOT_PIN 1
+#define AO_BOOT_APPLICATION_GPIO stm_gpiob
+#define AO_BOOT_APPLICATION_PIN 6
+#define AO_BOOT_APPLICATION_VALUE 1
+#define AO_BOOT_APPLICATION_MODE AO_EXTI_MODE_PULL_UP
#endif /* _AO_PINS_H_ */