1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

cpu/efm32: increase RIOTBOOT_LEN for riotboot_dfu

This commit is contained in:
Gunar Schorcht 2022-10-19 01:49:21 +02:00
parent 4f47dc13fe
commit c6bae0b4bf

View File

@ -16,7 +16,11 @@ ifeq (,$(EFM32_HEADER))
endif
# the size of riotboot on the EFM32 exceeds the default value
RIOTBOOT_LEN ?= 0x2000
ifneq (,$(filter periph_usbdev,$(USEMODULE)))
RIOTBOOT_LEN ?= 0x4000
else
RIOTBOOT_LEN ?= 0x2000
endif
# the em_device.h header requires a global define with the cpu model
CFLAGS += -D$(call uppercase_and_underscore,$(CPU_MODEL))