Workaround for Pi Hat F446 and stm32flash

c4fmdemod
Andy CA6JAU 2017-04-16 15:36:10 -03:00
parent ff8bf96abb
commit 852785b616
1 changed files with 4 additions and 2 deletions

View File

@ -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...