summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2017-05-04 22:09:31 -0700
committerKeith Packard <keithp@keithp.com>2017-05-04 22:10:36 -0700
commit08da6f2100c0241c70554427e53b7e237dfda16c (patch)
tree961d6d458a0ca6c33df8f5477a653f2fe4af532a
parent178d7c0aa32267ea71be2ccff146ea6ff990d7dc (diff)
altos/telemini-v3.0: Use dbg connector pin 5 for force bootloader
This works way better than attempting to use the beeper pin. Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r--src/telemini-v3.0/flash-loader/ao_pins.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/telemini-v3.0/flash-loader/ao_pins.h b/src/telemini-v3.0/flash-loader/ao_pins.h
index fea9a645..c523d413 100644
--- a/src/telemini-v3.0/flash-loader/ao_pins.h
+++ b/src/telemini-v3.0/flash-loader/ao_pins.h
@@ -21,13 +21,13 @@
#include <ao_flash_stm_pins.h>
-/* beeper to 3.3V for boot loader mode */
+/* SWDIO to gnd for boot loader mode */
#define AO_BOOT_PIN 1
#define AO_BOOT_APPLICATION_GPIO stm_gpioa
-#define AO_BOOT_APPLICATION_PIN 3
-#define AO_BOOT_APPLICATION_VALUE 0
-#define AO_BOOT_APPLICATION_MODE AO_EXTI_MODE_PULL_DOWN
+#define AO_BOOT_APPLICATION_PIN 13
+#define AO_BOOT_APPLICATION_VALUE 1
+#define AO_BOOT_APPLICATION_MODE AO_EXTI_MODE_PULL_UP
/* USB */
#define HAS_USB 1