makefiles/tools/dfu: add initial DFU programming support
This commit is contained in:
parent
3e7b3d380d
commit
f74b819efe
8
makefiles/tools/dfu.inc.mk
Normal file
8
makefiles/tools/dfu.inc.mk
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
DFU ?= dfu-util
|
||||||
|
FLASHER ?= $(DFU)
|
||||||
|
HEXFILE = $(BINFILE)
|
||||||
|
|
||||||
|
FFLAGS ?= -D $(HEXFILE) --reset $(DFU_ARGS)
|
||||||
|
|
||||||
|
RESET ?= $(DFU)
|
||||||
|
RESET_FLAGS ?= $(DFU_ARGS) -t $(DFU_DEVICE_TYPE)
|
||||||
Loading…
x
Reference in New Issue
Block a user