mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
8f22175af3
When a second slot is defined, the "partition table" gets a second field which represents the starting of the second slot, at a defined offset.
10 lines
233 B
Makefile
10 lines
233 B
Makefile
SUBMODULES := 1
|
|
|
|
ifneq (,$(filter riotboot_slot,$(USEMODULE)))
|
|
CFLAGS += -DSLOT0_OFFSET=$(SLOT0_OFFSET)
|
|
CFLAGS += -DSLOT1_OFFSET=$(SLOT1_OFFSET)
|
|
CFLAGS += -DNUM_SLOTS=$(NUM_SLOTS)
|
|
endif
|
|
|
|
include $(RIOTBASE)/Makefile.base
|