altos/telemini-v3.0: Use dbg connector pin 5 for force bootloader
authorKeith Packard <keithp@keithp.com>
Fri, 5 May 2017 05:09:31 +0000 (22:09 -0700)
committerKeith Packard <keithp@keithp.com>
Fri, 5 May 2017 05:10:36 +0000 (22:10 -0700)
This works way better than attempting to use the beeper pin.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/telemini-v3.0/flash-loader/ao_pins.h

index fea9a6453437bd76d73957b4a8022eb67fea827d..c523d413a7b258e4e7304c2110dd50447d862871 100644 (file)
 
 #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