1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-17 05:12:57 +01:00

cpu/efm32: enable usbdev_synopsys_dwc2 driver as periph_usbdev

This commit is contained in:
Gunar Schorcht 2022-10-17 00:48:44 +02:00
parent 6146a3ea91
commit 6d233f1308
2 changed files with 5 additions and 0 deletions

View File

@ -13,4 +13,8 @@ endif
# include CPU family module
USEMODULE += cpu_$(CPU_FAM)
ifneq (,$(filter periph_usbdev,$(USEMODULE)))
USEMODULE += usbdev_synopsys_dwc2
endif
include $(RIOTCPU)/cortexm_common/Makefile.dep

View File

@ -8,3 +8,4 @@
config MODULE_PERIPH
bool
default y
select MODULE_USBDEV_SYNOPSYS_DWC2 if MODULE_PERIPH_USBDEV