summaryrefslogtreecommitdiff
path: root/src/easymini-v2.0/flash-loader/ao_pins.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2017-12-19 16:19:40 -0800
committerKeith Packard <keithp@keithp.com>2017-12-19 16:19:40 -0800
commit6d05747941b8e31afb1f8522ac0b8c1ad12aa90f (patch)
treee320cecb8d436cce98f2c445f28f951a9f27405a /src/easymini-v2.0/flash-loader/ao_pins.h
parent9826845f952abe898f029e31cc0f7080708e2eae (diff)
altos/easymini-v2.0: Adapt to final hardware pin assignment changes
Beeper moved from PB0 to PB1 (Tim3 CH4) Drogue fire moved from PB6 to PB3 Bootloader moved from PB1 to PB6 Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/easymini-v2.0/flash-loader/ao_pins.h')
-rw-r--r--src/easymini-v2.0/flash-loader/ao_pins.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/easymini-v2.0/flash-loader/ao_pins.h b/src/easymini-v2.0/flash-loader/ao_pins.h
index 3098fc22..9cba43e5 100644
--- a/src/easymini-v2.0/flash-loader/ao_pins.h
+++ b/src/easymini-v2.0/flash-loader/ao_pins.h
@@ -21,11 +21,11 @@
#include <ao_flash_stm_pins.h>
-/* pin 5 (PB1) on debug header to gnd for boot mode */
+/* pin 27 (PB6) on debug header to gnd for boot mode */
#define AO_BOOT_PIN 1
#define AO_BOOT_APPLICATION_GPIO stm_gpiob
-#define AO_BOOT_APPLICATION_PIN 1
+#define AO_BOOT_APPLICATION_PIN 6
#define AO_BOOT_APPLICATION_VALUE 1
#define AO_BOOT_APPLICATION_MODE AO_EXTI_MODE_PULL_UP