From c46545d5a7f4d97a9c69529cd0c56b197c555648 Mon Sep 17 00:00:00 2001 From: Gunar Schorcht Date: Thu, 24 Nov 2022 14:55:52 +0100 Subject: [PATCH] cpu/common_cortex: handling RIOTBOOT_LEN for tinyusb_dfu --- cpu/cortexm_common/Makefile.include | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cpu/cortexm_common/Makefile.include b/cpu/cortexm_common/Makefile.include index 9fd250d984..04789eaf5c 100644 --- a/cpu/cortexm_common/Makefile.include +++ b/cpu/cortexm_common/Makefile.include @@ -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