From 5b543692cdff82847f9b568ae3ead1a9a7108dd9 Mon Sep 17 00:00:00 2001 From: Gunar Schorcht Date: Thu, 24 Nov 2022 14:56:21 +0100 Subject: [PATCH] cpu/nrf52: handling RIOTBOOT_LEN for tinyusb_dfu --- cpu/nrf52/Makefile.include | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpu/nrf52/Makefile.include b/cpu/nrf52/Makefile.include index 98e984bf87..e0dd3beefd 100644 --- a/cpu/nrf52/Makefile.include +++ b/cpu/nrf52/Makefile.include @@ -1,7 +1,7 @@ # Slot size is determined by "((total_flash_size - RIOTBOOT_LEN) / 2)". # 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. -ifneq (,$(filter usbus_dfu,$(USEMODULE))) +ifneq (,$(filter usbus_dfu tinyusb_dfu,$(USEMODULE))) RIOTBOOT_LEN ?= 0x4000 else RIOTBOOT_LEN ?= 0x2000