From e481571b4ed3c11b9cb72ed2e6d192192da32f6a Mon Sep 17 00:00:00 2001 From: MrKevinWeiss Date: Wed, 5 Apr 2023 14:58:36 +0200 Subject: [PATCH] cpu/esp32: Move MODULE_STDIO_USB_SERIAL_JTAG to cpu --- cpu/esp32/Kconfig | 1 + cpu/esp32/stdio_usb_serial_jtag/Kconfig | 9 +++++++++ sys/Kconfig.stdio | 6 ------ 3 files changed, 10 insertions(+), 6 deletions(-) create mode 100644 cpu/esp32/stdio_usb_serial_jtag/Kconfig 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