From a66f7fd61fcffdc9ae41a44ca6405076a4b22f63 Mon Sep 17 00:00:00 2001 From: Leandro Lanzieri Date: Mon, 17 Aug 2020 16:55:30 +0200 Subject: [PATCH] sys/stdio: add stdin and stdio_uart_rx modules to Kconfig --- sys/Kconfig.stdio | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/sys/Kconfig.stdio b/sys/Kconfig.stdio index 5b89d3ef63..a41da22354 100644 --- a/sys/Kconfig.stdio +++ b/sys/Kconfig.stdio @@ -5,7 +5,7 @@ # directory for more details. # -menu "Standard Input/Ouput (STDIO)" +menu "Standard Input/Output (STDIO)" depends on TEST_KCONFIG choice @@ -27,4 +27,15 @@ config MODULE_STDIO_UART endchoice -endmenu # Standard Input/Ouput (STDIO) +config MODULE_STDIN + bool "Standard Input" + +config MODULE_STDIO_UART_RX + bool + depends on MODULE_STDIO_UART + select MODULE_ISRPIPE + default y if MODULE_STDIN + help + Reception when using UART-based STDIO needs to be enabled. + +endmenu # Standard Input/Output (STDIO)