2022-11-09 23:55:23 +01:00
|
|
|
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
|
2023-02-04 14:12:19 +01:00
|
|
|
|
|
|
|
# Enforce tests to wait a bit for the serial port after reset
|
|
|
|
TERM_DELAY ?= 2
|
|
|
|
TESTRUNNER_CONNECT_DELAY ?= $(TERM_DELAY)
|
|
|
|
$(call target-export-variables,test,TESTRUNNER_CONNECT_DELAY)
|
2022-11-09 23:55:23 +01:00
|
|
|
endif
|