summaryrefslogtreecommitdiff
path: root/src/telefiretwo-v0.1
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
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')
-rw-r--r--src/telefiretwo-v0.1/ao_pins.h1
-rw-r--r--src/telefiretwo-v0.1/flash-loader/ao_pins.h6
2 files changed, 6 insertions, 1 deletions
diff --git a/src/telefiretwo-v0.1/ao_pins.h b/src/telefiretwo-v0.1/ao_pins.h
index e98b7dc7..fd840f47 100644
--- a/src/telefiretwo-v0.1/ao_pins.h
+++ b/src/telefiretwo-v0.1/ao_pins.h
@@ -37,6 +37,7 @@
#define PACKET_HAS_MASTER 0
#define PACKET_HAS_SLAVE 0
#define AO_DATA_RING 32
+#define HAS_FIXED_PAD_BOX 1
/* 8MHz High speed external crystal */
#define AO_HSE 8000000
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_ */