mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
pkg/tinyusb: automatic use of tinusb_device for pure device classes
This commit is contained in:
parent
71a606a1db
commit
7a65eea8d0
@ -30,31 +30,31 @@ endif
|
|||||||
|
|
||||||
# Following device classes work only with tinyUSB device stack
|
# Following device classes work only with tinyUSB device stack
|
||||||
ifneq (,$(filter tinyusb_class_audio,$(USEMODULE)))
|
ifneq (,$(filter tinyusb_class_audio,$(USEMODULE)))
|
||||||
FEATURES_REQUIRED += tinyusb_device
|
USEMODULE += tinyusb_device
|
||||||
endif
|
endif
|
||||||
ifneq (,$(filter tinyusb_class_bth,$(USEMODULE)))
|
ifneq (,$(filter tinyusb_class_bth,$(USEMODULE)))
|
||||||
FEATURES_REQUIRED += tinyusb_device
|
USEMODULE += tinyusb_device
|
||||||
endif
|
endif
|
||||||
ifneq (,$(filter tinyusb_class_dfu,$(USEMODULE)))
|
ifneq (,$(filter tinyusb_class_dfu,$(USEMODULE)))
|
||||||
FEATURES_REQUIRED += tinyusb_device
|
USEMODULE += tinyusb_device
|
||||||
endif
|
endif
|
||||||
ifneq (,$(filter tinyusb_class_dfu_runtime,$(USEMODULE)))
|
ifneq (,$(filter tinyusb_class_dfu_runtime,$(USEMODULE)))
|
||||||
FEATURES_REQUIRED += tinyusb_device
|
USEMODULE += tinyusb_device
|
||||||
endif
|
endif
|
||||||
ifneq (,$(filter tinyusb_class_midi,$(USEMODULE)))
|
ifneq (,$(filter tinyusb_class_midi,$(USEMODULE)))
|
||||||
FEATURES_REQUIRED += tinyusb_device
|
USEMODULE += tinyusb_device
|
||||||
endif
|
endif
|
||||||
ifneq (,$(filter tinyusb_class_net_ecm_rndis,$(USEMODULE)))
|
ifneq (,$(filter tinyusb_class_net_ecm_rndis,$(USEMODULE)))
|
||||||
FEATURES_REQUIRED += tinyusb_device
|
USEMODULE += tinyusb_device
|
||||||
endif
|
endif
|
||||||
ifneq (,$(filter tinyusb_class_net_ncm,$(USEMODULE)))
|
ifneq (,$(filter tinyusb_class_net_ncm,$(USEMODULE)))
|
||||||
FEATURES_REQUIRED += tinyusb_device
|
USEMODULE += tinyusb_device
|
||||||
endif
|
endif
|
||||||
ifneq (,$(filter tinyusb_class_usbtmc,$(USEMODULE)))
|
ifneq (,$(filter tinyusb_class_usbtmc,$(USEMODULE)))
|
||||||
FEATURES_REQUIRED += tinyusb_device
|
USEMODULE += tinyusb_device
|
||||||
endif
|
endif
|
||||||
ifneq (,$(filter tinyusb_class_video,$(USEMODULE)))
|
ifneq (,$(filter tinyusb_class_video,$(USEMODULE)))
|
||||||
FEATURES_REQUIRED += tinyusb_device
|
USEMODULE += tinyusb_device
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# tinyUSB hardware driver selection
|
# tinyUSB hardware driver selection
|
||||||
|
Loading…
Reference in New Issue
Block a user