mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
riotboot: prepare for when FLASHFILE is used
This currently does nothing but setting FLASHFILE when flashing. This will allow passing the variable when flasher will use the FLASHFILE variable.
This commit is contained in:
parent
13e852c58c
commit
7a88bb4c1f
@ -117,9 +117,12 @@ riotboot/flash-extended-slot0: HEXFILE=$(RIOTBOOT_EXTENDED_BIN)
|
||||
# Flashing rule for openocd to flash combined/extended binaries
|
||||
riotboot/flash-combined-slot0: ELFFILE=$(RIOTBOOT_COMBINED_BIN)
|
||||
riotboot/flash-extended-slot0: ELFFILE=$(RIOTBOOT_EXTENDED_BIN)
|
||||
|
||||
riotboot/flash-combined-slot0: FLASHFILE=$(RIOTBOOT_COMBINED_BIN)
|
||||
riotboot/flash-combined-slot0: $(RIOTBOOT_COMBINED_BIN) $(FLASHDEPS)
|
||||
$(FLASHER) $(FFLAGS)
|
||||
|
||||
riotboot/flash-extended-slot0: FLASHFILE=$(RIOTBOOT_EXTENDED_BIN)
|
||||
riotboot/flash-extended-slot0: $(RIOTBOOT_EXTENDED_BIN) $(FLASHDEPS)
|
||||
$(FLASHER) $(FFLAGS)
|
||||
|
||||
@ -129,6 +132,7 @@ riotboot/flash-slot0: export IMAGE_OFFSET=$(SLOT0_OFFSET)
|
||||
riotboot/flash-slot0: HEXFILE=$(SLOT0_RIOT_BIN)
|
||||
# openocd
|
||||
riotboot/flash-slot0: ELFFILE=$(SLOT0_RIOT_BIN)
|
||||
riotboot/flash-slot0: FLASHFILE=$(SLOT0_RIOT_BIN)
|
||||
riotboot/flash-slot0: $(SLOT0_RIOT_BIN) $(FLASHDEPS)
|
||||
$(FLASHER) $(FFLAGS)
|
||||
|
||||
@ -138,6 +142,7 @@ riotboot/flash-slot1: export IMAGE_OFFSET=$(SLOT1_OFFSET)
|
||||
riotboot/flash-slot1: HEXFILE=$(SLOT1_RIOT_BIN)
|
||||
# openocd
|
||||
riotboot/flash-slot1: ELFFILE=$(SLOT1_RIOT_BIN)
|
||||
riotboot/flash-slot1: FLASHFILE=$(SLOT1_RIOT_BIN)
|
||||
riotboot/flash-slot1: $(SLOT1_RIOT_BIN) $(FLASHDEPS)
|
||||
$(FLASHER) $(FFLAGS)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user