Skip to content

Commit

Permalink
add target dfu in Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
edy555 committed Sep 7, 2019
1 parent 5a5f298 commit ec8c53b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Makefile
Expand Up @@ -228,6 +228,9 @@ include $(RULESPATH)/rules.mk
flash: 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
@etags *.[ch] NANOVNA_STM32_F072/*.[ch] $(shell find ChibiOS/os/hal/ports/STM32/STM32F0xx ChibiOS/os -name \*.\[ch\] -print)
@ls -l TAGS
Expand Down

0 comments on commit ec8c53b

Please sign in to comment.