From df811616dfa1b1c31cd3434a47ebd670c98edf1f Mon Sep 17 00:00:00 2001 From: TT Date: Sun, 25 Aug 2019 23:08:42 +0900 Subject: [PATCH] make: add target flash --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index b40bc5d..11718e0 100644 --- a/Makefile +++ b/Makefile @@ -225,6 +225,9 @@ ULIBS = -lm RULESPATH = $(CHIBIOS)/os/common/startup/ARMCMx/compilers/GCC include $(RULESPATH)/rules.mk +flash: build/ch.bin + dfu-util -d 0483:df11 -a 0 -s 0x08000000:leave -D build/ch.bin + TAGS: Makefile @etags *.[ch] NANOVNA_STM32_F072/*.[ch] $(shell find ChibiOS/os/hal/ports/STM32/STM32F0xx ChibiOS/os -name \*.\[ch\] -print) @ls -l TAGS