mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-25 14:33:52 +01:00
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
|