From ff8bf96abb6b4c50d1dc67b5e89144883318510a Mon Sep 17 00:00:00 2001 From: Andy CA6JAU Date: Sun, 16 Apr 2017 11:48:41 -0300 Subject: [PATCH] Adding GPIO sequence to enter serial bootloader mode (F446) --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 569bde4..ea1ac9d 100644 --- a/Makefile +++ b/Makefile @@ -175,11 +175,11 @@ endif deploy-pi: ifneq ($(wildcard /usr/local/bin/stm32flash),) - /usr/local/bin/stm32flash -w bin/outp.bin -g 0x0 /dev/ttyAMA0 + /usr/local/bin/stm32flash -w bin/outp.bin -g 0x0 -R -i 20,-21,21:-20,21 /dev/ttyAMA0 endif ifneq ($(wildcard /usr/bin/stm32flash),) - /usr/bin/stm32flash -w bin/outp.bin -g 0x0 /dev/ttyAMA0 + /usr/bin/stm32flash -w bin/outp.bin -g 0x0 -i 20,-21,21:-20,21 /dev/ttyAMA0 endif # Export the current git version if the index file exists, else 000...