Changing stm32flash path to point to the the local binary for zumspot-pi uploading method

This commit is contained in:
Andy CA6JAU 2017-04-17 14:26:41 -03:00
parent c1847e8f8d
commit b7b82bf0eb

View file

@ -183,7 +183,13 @@ serial-bl:
$(STM32FLASH) -v -w bin/$(BINBIN) -g 0x0 -S 0x08002000 $(devser)
zumspot-pi:
$(STM32FLASH) -v -w bin/$(BINBIN) -g 0x0 -R -i 20,-21,21:-20,21 /dev/ttyAMA0
ifneq ($(wildcard /usr/local/bin/stm32flash),)
/usr/local/bin/stm32flash -v -w bin/$(BINBIN) -g 0x0 -R -i 20,-21,21:-20,21 /dev/ttyAMA0
endif
ifneq ($(wildcard /usr/bin/stm32flash),)
/usr/bin/stm32flash -v -w bin/$(BINBIN) -g 0x0 -R -i 20,-21,21:-20,21 /dev/ttyAMA0
endif
dfu:
ifdef devser