mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
makefiles/tools: add support for nrfutil
This commit is contained in:
parent
56dc53a486
commit
ebd1e8f016
8
makefiles/tools/adafruit-nrfutil.inc.mk
Normal file
8
makefiles/tools/adafruit-nrfutil.inc.mk
Normal file
@ -0,0 +1,8 @@
|
||||
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 $< $@
|
Loading…
Reference in New Issue
Block a user