mirror of
https://github.com/ttrftech/NanoVNA.git
synced 2025-12-06 03:31:59 +01:00
add target dfu in Makefile
This commit is contained in:
parent
5a5f298323
commit
ec8c53bde3
3
Makefile
3
Makefile
|
|
@ -228,6 +228,9 @@ include $(RULESPATH)/rules.mk
|
||||||
flash: build/ch.bin
|
flash: build/ch.bin
|
||||||
dfu-util -d 0483:df11 -a 0 -s 0x08000000:leave -D build/ch.bin
|
dfu-util -d 0483:df11 -a 0 -s 0x08000000:leave -D build/ch.bin
|
||||||
|
|
||||||
|
dfu:
|
||||||
|
printf "reset dfu\r" >/dev/cu.usbmodem401
|
||||||
|
|
||||||
TAGS: Makefile
|
TAGS: Makefile
|
||||||
@etags *.[ch] NANOVNA_STM32_F072/*.[ch] $(shell find ChibiOS/os/hal/ports/STM32/STM32F0xx ChibiOS/os -name \*.\[ch\] -print)
|
@etags *.[ch] NANOVNA_STM32_F072/*.[ch] $(shell find ChibiOS/os/hal/ports/STM32/STM32F0xx ChibiOS/os -name \*.\[ch\] -print)
|
||||||
@ls -l TAGS
|
@ls -l TAGS
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue