From 852785b6164402bfbbde1bde649d42e9502ce186 Mon Sep 17 00:00:00 2001 From: Andy CA6JAU Date: Sun, 16 Apr 2017 15:36:10 -0300 Subject: [PATCH] Workaround for Pi Hat F446 and stm32flash --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index ea1ac9d..ba62750 100644 --- a/Makefile +++ b/Makefile @@ -175,11 +175,13 @@ endif deploy-pi: ifneq ($(wildcard /usr/local/bin/stm32flash),) - /usr/local/bin/stm32flash -w bin/outp.bin -g 0x0 -R -i 20,-21,21:-20,21 /dev/ttyAMA0 + -/usr/local/bin/stm32flash -i 20,-21,21:-20,21 /dev/ttyAMA0 + /usr/local/bin/stm32flash -v -w bin/outp.bin -g 0x0 -R -c /dev/ttyAMA0 endif ifneq ($(wildcard /usr/bin/stm32flash),) - /usr/bin/stm32flash -w bin/outp.bin -g 0x0 -i 20,-21,21:-20,21 /dev/ttyAMA0 + -/usr/bin/stm32flash -i 20,-21,21:-20,21 /dev/ttyAMA0 + /usr/bin/stm32flash -v -w bin/outp.bin -g 0x0 -R -c /dev/ttyAMA0 endif # Export the current git version if the index file exists, else 000...