mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
makefiles/dfu-util: add default DFU_ALT for riotboot/flash-slotX
This commit is contained in:
parent
80e14e88a1
commit
7eae017d5d
@ -124,12 +124,14 @@ riotboot/flash-extended-slot0: $(RIOTBOOT_EXTENDED_BIN) $(FLASHDEPS)
|
||||
$(flash-recipe)
|
||||
|
||||
# Flashing rule for slot 0
|
||||
riotboot/flash-slot0: DFU_ALT=0
|
||||
riotboot/flash-slot0: export IMAGE_OFFSET=$(SLOT0_OFFSET)
|
||||
riotboot/flash-slot0: FLASHFILE=$(SLOT0_RIOT_BIN)
|
||||
riotboot/flash-slot0: $(SLOT0_RIOT_BIN) $(FLASHDEPS)
|
||||
$(flash-recipe)
|
||||
|
||||
# Flashing rule for slot 1
|
||||
riotboot/flash-slot1: DFU_ALT=1
|
||||
riotboot/flash-slot1: export IMAGE_OFFSET=$(SLOT1_OFFSET)
|
||||
riotboot/flash-slot1: FLASHFILE=$(SLOT1_RIOT_BIN)
|
||||
riotboot/flash-slot1: $(SLOT1_RIOT_BIN) $(FLASHDEPS)
|
||||
|
Loading…
Reference in New Issue
Block a user