mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
cpu/nrf52: handling RIOTBOOT_LEN for tinyusb_dfu
This commit is contained in:
parent
c46545d5a7
commit
5b543692cd
@ -1,7 +1,7 @@
|
|||||||
# Slot size is determined by "((total_flash_size - RIOTBOOT_LEN) / 2)".
|
# Slot size is determined by "((total_flash_size - RIOTBOOT_LEN) / 2)".
|
||||||
# If RIOTBOOT_LEN uses an uneven number of flashpages, the remainder of the
|
# If RIOTBOOT_LEN uses an uneven number of flashpages, the remainder of the
|
||||||
# flash cannot be divided by two slots while staying FLASHPAGE_SIZE aligned.
|
# flash cannot be divided by two slots while staying FLASHPAGE_SIZE aligned.
|
||||||
ifneq (,$(filter usbus_dfu,$(USEMODULE)))
|
ifneq (,$(filter usbus_dfu tinyusb_dfu,$(USEMODULE)))
|
||||||
RIOTBOOT_LEN ?= 0x4000
|
RIOTBOOT_LEN ?= 0x4000
|
||||||
else
|
else
|
||||||
RIOTBOOT_LEN ?= 0x2000
|
RIOTBOOT_LEN ?= 0x2000
|
||||||
|
Loading…
Reference in New Issue
Block a user