add target dfu in Makefile

This commit is contained in:
TT 2019-09-07 09:08:43 +09:00
parent 5a5f298323
commit ec8c53bde3

View file

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