diff --git a/makefiles/boot/riotboot_dfu-util.mk b/makefiles/boot/riotboot_dfu-util.mk index 457fe53a80..b225c4ffd7 100644 --- a/makefiles/boot/riotboot_dfu-util.mk +++ b/makefiles/boot/riotboot_dfu-util.mk @@ -1,6 +1,7 @@ -ifneq (,$(filter usbus_dfu,$(USEMODULE))) - ifeq (,$(filter riotboot_usb_dfu,$(USEMODULE))) - # If module usbus_dfu is used but not module riotboot_usb_dfu, the +ifneq (,$(filter usbus_dfu tinyusb_dfu,$(USEMODULE))) + ifeq (,$(filter riotboot_usb_dfu riotboot_tinyusb_dfu,$(USEMODULE))) + # If module usbus_dfu or module tinyusb_dfu is used but neither + # module riotboot_usb_dfu nor module riotboot_tinyusb_dfu, the # application uses DFU Runtime and dfu-util as programmer to flash the # application with the bootloader riotboot_dfu which uses the VID/PID pair # allocated for the RIOT bootloader https://pid.codes/1209/7D02/