diff --git a/cpu/esp32/Kconfig b/cpu/esp32/Kconfig index 06598dc835..97cbf9da06 100644 --- a/cpu/esp32/Kconfig +++ b/cpu/esp32/Kconfig @@ -94,5 +94,6 @@ rsource "Kconfig.esp32" rsource "Kconfig.esp32c3" rsource "Kconfig.esp32s3" rsource "Kconfig.esp32s2" +rsource "stdio_usb_serial_jtag/Kconfig" source "$(RIOTCPU)/esp_common/Kconfig" diff --git a/cpu/esp32/stdio_usb_serial_jtag/Kconfig b/cpu/esp32/stdio_usb_serial_jtag/Kconfig new file mode 100644 index 0000000000..8965c6aa5b --- /dev/null +++ b/cpu/esp32/stdio_usb_serial_jtag/Kconfig @@ -0,0 +1,9 @@ +choice STDIO_IMPLEMENTATION + +config MODULE_STDIO_USB_SERIAL_JTAG + bool "STDIO via ESP32 Debug USB Serial/JTAG interface" + depends on TEST_KCONFIG + depends on CPU_FAM_ESP32C3 || CPU_FAM_ESP32S3 + select MODULE_TSRB + +endchoice diff --git a/sys/Kconfig.stdio b/sys/Kconfig.stdio index 7ee523cb71..bd55e3078e 100644 --- a/sys/Kconfig.stdio +++ b/sys/Kconfig.stdio @@ -49,12 +49,6 @@ config MODULE_STDIO_ETHOS select MODULE_ETHOS_STDIO select USE_STDOUT_BUFFERED -config MODULE_STDIO_USB_SERIAL_JTAG - bool "STDIO via ESP32 Debug USB Serial/JTAG interface" - depends on TEST_KCONFIG - depends on CPU_FAM_ESP32C3 || CPU_FAM_ESP32S3 - select MODULE_TSRB - endchoice config MODULE_STDIN