mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-15 17:43:51 +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
|
FEATURES_REQUIRED += periph_pm
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifneq (,$(filter riotboot_tinyusb_dfu, $(USEMODULE)))
|
||||||
|
USEPKG += tinyusb
|
||||||
|
endif
|
||||||
|
|
||||||
ifneq (,$(filter irq_handler,$(USEMODULE)))
|
ifneq (,$(filter irq_handler,$(USEMODULE)))
|
||||||
USEMODULE += event
|
USEMODULE += event
|
||||||
endif
|
endif
|
||||||
|
|||||||
@ -163,7 +163,7 @@ ifneq (,$(filter prng,$(USEMODULE)))
|
|||||||
include $(RIOTBASE)/sys/random/Makefile.include
|
include $(RIOTBASE)/sys/random/Makefile.include
|
||||||
endif
|
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_BASE=$(RAM_START_ADDR)
|
||||||
CFLAGS += -DCPU_RAM_SIZE=$(RAM_LEN)
|
CFLAGS += -DCPU_RAM_SIZE=$(RAM_LEN)
|
||||||
endif
|
endif
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user