mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
9 lines
344 B
Makefile
9 lines
344 B
Makefile
FLASHFILE = $(HEXFILE)
|
|
FLASHDEPS += $(HEXFILE).zip
|
|
FLASHER ?= adafruit-nrfutil
|
|
FFLAGS = dfu serial --port=${PORT} --baudrate=${BAUD} --touch=1200 --package=$(HEXFILE).zip --singlebank
|
|
|
|
%.hex.zip: %.hex
|
|
$(call check_cmd,$(FLASHER),Flash program and preparation tool)
|
|
$(FLASHER) dfu genpkg --dev-type 0x0052 --sd-req 0x00B6 --application $< $@
|