1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

sys: add tinyusb_dfu and riotboot_tinyusb_dfu to makefiles

This commit is contained in:
Gunar Schorcht 2022-11-24 14:57:58 +01:00
parent 152213692b
commit fe0bea73b2
2 changed files with 5 additions and 1 deletions

View File

@ -859,6 +859,10 @@ ifneq (,$(filter riotboot_usb_dfu, $(USEMODULE)))
FEATURES_REQUIRED += periph_pm
endif
ifneq (,$(filter riotboot_tinyusb_dfu, $(USEMODULE)))
USEPKG += tinyusb
endif
ifneq (,$(filter irq_handler,$(USEMODULE)))
USEMODULE += event
endif

View File

@ -163,7 +163,7 @@ ifneq (,$(filter prng,$(USEMODULE)))
include $(RIOTBASE)/sys/random/Makefile.include
endif
ifneq (,$(filter usbus_dfu riotboot_reset,$(USEMODULE)))
ifneq (,$(filter tinyusb_dfu usbus_dfu riotboot_reset,$(USEMODULE)))
CFLAGS += -DCPU_RAM_BASE=$(RAM_START_ADDR)
CFLAGS += -DCPU_RAM_SIZE=$(RAM_LEN)
endif