mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-17 05:12:57 +01:00
boards/common/stdio_tinyusb_cdc_acm: let tests wait for serial port
After a reset, it can take several seconds before the CDC ACM interface becomes available as serial device `ttyACMx`. This was a change that was already made for `stdio_cdc_acm` in #19128.
This commit is contained in:
parent
e3b1c81603
commit
90dc95eba1
@ -8,4 +8,9 @@ ifeq (,$(filter stdio_% slipdev_stdio,$(USEMODULE)))
|
||||
endif
|
||||
|
||||
FEATURES_REQUIRED += highlevel_stdio
|
||||
|
||||
# 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)
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user