mirror of https://github.com/markqvist/MMDVM.git
Adding Pi Hat F446 support for stm32flash utility in Makefile
parent
38bcf1f4c4
commit
edc53fc347
9
Makefile
9
Makefile
|
@ -173,6 +173,15 @@ ifneq ($(wildcard /opt/openocd/bin/openocd),)
|
|||
/opt/openocd/bin/openocd -f /opt/openocd/share/openocd/scripts/board/stm32f4discovery.cfg -c "program bin/$(BINELF) verify reset exit"
|
||||
endif
|
||||
|
||||
deploy-pi:
|
||||
ifneq ($(wildcard /usr/local/bin/stm32flash),)
|
||||
/usr/local/bin/stm32flash -w bin/outp.bin -g 0x0 /dev/ttyAMA0
|
||||
endif
|
||||
|
||||
ifneq ($(wildcard /usr/bin/stm32flash),)
|
||||
/usr/bin/stm32flash -w bin/outp.bin -g 0x0 /dev/ttyAMA0
|
||||
endif
|
||||
|
||||
# Export the current git version if the index file exists, else 000...
|
||||
GitVersion.h:
|
||||
ifneq ("$(wildcard .git/index)","")
|
||||
|
|
Loading…
Reference in New Issue