mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
a945ea144f
Individual files need to be converted to uf2 format, targets flashing individual slots or the bootloader will work: - riotboot/flash-slot% - riotboot/flash-bootloader 'flash' also works by flashing both the bootloader and slot0 independently. But not targets flashing combined/extended versions since conversion of the blob is not possible with the uf2conv.py script.
13 lines
259 B
Makefile
13 lines
259 B
Makefile
FLASHFILE ?= $(HEXFILE)
|
|
|
|
IMAGE_OFFSET ?= $(ROM_OFFSET)
|
|
|
|
FLASHER ?= $(RIOTTOOLS)/uf2/uf2conv.py
|
|
FFLAGS ?= $(UF2CONV_FLAGS) $(FLASHFILE) --base $(IMAGE_OFFSET)
|
|
|
|
PREFLASH_DELAY ?= 2
|
|
|
|
ifeq ($(RIOTTOOLS)/uf2/uf2conv.py,$(FLASHER))
|
|
FLASHDEPS += $(FLASHER)
|
|
endif
|