mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
cpu/common_cortex: handling RIOTBOOT_LEN for tinyusb_dfu
This commit is contained in:
parent
815f20d2bf
commit
c46545d5a7
@ -70,8 +70,8 @@ else
|
||||
endif
|
||||
|
||||
# Configure riotboot bootloader and slot lengths
|
||||
# 4KB are currently enough, set it to 16KB if USB-DFU is used
|
||||
ifneq (,$(filter usbus_dfu,$(USEMODULE)))
|
||||
# 4KB are currently enough, set it to 16KB if USB-DFU or tinyUSB DFU is used
|
||||
ifneq (,$(filter usbus_dfu tinyusb_dfu,$(USEMODULE)))
|
||||
RIOTBOOT_LEN ?= 0x4000
|
||||
else
|
||||
RIOTBOOT_LEN ?= 0x1000
|
||||
|
Loading…
Reference in New Issue
Block a user