mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
boards: add common stdio_tinyusb_cdc_acm.dep.mk
This commit is contained in:
parent
7607b9c0f5
commit
4b5df6485f
11
boards/common/makefiles/stdio_tinyusb_cdc_acm.dep.mk
Normal file
11
boards/common/makefiles/stdio_tinyusb_cdc_acm.dep.mk
Normal file
@ -0,0 +1,11 @@
|
||||
ifeq (,$(filter stdio_% slipdev_stdio,$(USEMODULE)))
|
||||
# Use stdio_tinyusb_cdc_acm only if no other stdio is requested explicitly.
|
||||
# and usbus is used for any other reason
|
||||
ifneq (,$(filter usbus,$(USEMODULE)))
|
||||
USEMODULE += stdio_cdc_acm
|
||||
else
|
||||
USEMODULE += stdio_tinyusb_cdc_acm
|
||||
endif
|
||||
|
||||
FEATURES_REQUIRED += highlevel_stdio
|
||||
endif
|
Loading…
Reference in New Issue
Block a user