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:
parent
152213692b
commit
fe0bea73b2
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user