mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
boards/esp32s3-pros3: add usbus_%
dependency in STDIO selection
This commit is contained in:
parent
8512db60a6
commit
c9711b4d5b
@ -24,10 +24,9 @@ config BOARD_ESP32S3_PROS3
|
||||
select HAS_PERIPH_USBDEV
|
||||
select HAS_TINYUSB_DEVICE
|
||||
select MODULE_USB_BOARD_RESET if TEST_KCONFIG && MODULE_STDIO_USB_SERIAL_JTAG
|
||||
select MODULE_USBUS_CDC_ACM if MODULE_USBUS
|
||||
|
||||
choice STDIO_IMPLEMENTATION
|
||||
bool "STDIO implementation"
|
||||
depends on TEST_KCONFIG
|
||||
default MODULE_STDIO_CDC_ACM if MODULE_USBUS
|
||||
default MODULE_STDIO_TINYUSB_CDC_ACM if MODULE_TINYUSB_DEVICE
|
||||
default MODULE_STDIO_USB_SERIAL_JTAG if !MODULE_USBUS && !MODULE_TINYUSB_DEVICE
|
||||
|
@ -1,4 +1,4 @@
|
||||
ifeq (,$(filter stdio_% slipdev_stdio usbus tinyusb_device,$(USEMODULE)))
|
||||
ifeq (,$(filter stdio_% slipdev_stdio usbus usbus% tinyusb_device,$(USEMODULE)))
|
||||
# Use stdio_usb_serial_jtag if no other stdio is requested explicitly
|
||||
# and neither USBUS nor tinyusb_device are used
|
||||
USEMODULE += stdio_usb_serial_jtag
|
||||
|
Loading…
Reference in New Issue
Block a user