1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-18 19:13:51 +01:00
RIOT/boards/common/makefiles/stdio_tinyusb_cdc_acm.dep.mk
2023-02-02 10:56:40 +01:00

12 lines
345 B
Makefile

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