1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

sys/arduino: enable arduino_serial_stdio if stdio_cdc_acm is used

This commit is contained in:
Gunar Schorcht 2021-12-25 13:31:27 +01:00
parent 725472cbc4
commit 2dcd761954
2 changed files with 5 additions and 1 deletions

View File

@ -10,6 +10,9 @@ ifneq (,$(filter arduino,$(USEMODULE)))
USEMODULE += fmt
USEMODULE += ztimer_usec
USEMODULE += ztimer_msec
ifneq (,$(filter stdio_cdc_acm,$(USEMODULE)))
USEMODULE += arduino_serial_stdio
endif
endif
ifneq (,$(filter arduino_pwm,$(FEATURES_USED)))

View File

@ -38,4 +38,5 @@ config MODULE_ARDUINO_PWM
config MODULE_ARDUINO_SERIAL_STDIO
bool "Use STDIO as Serial"
depends on MODULE_ARDUINO
depends on TEST_KCONFIG
depends on TEST_KCONFIG
default y if MODULE_STDIO_CDC_ACM