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

sys/stdio: add module to Kconfig

This commit is contained in:
Leandro Lanzieri 2020-07-27 17:40:05 +02:00
parent 67b2519a7d
commit 4f2494fa1a
No known key found for this signature in database
GPG Key ID: 13559905E2EBEAA5
2 changed files with 31 additions and 0 deletions

View File

@ -9,6 +9,7 @@ menu "System"
rsource "auto_init/Kconfig"
rsource "net/Kconfig"
rsource "Kconfig.newlib"
rsource "Kconfig.stdio"
rsource "usb/Kconfig"
config MOD_SYS

30
sys/Kconfig.stdio Normal file
View File

@ -0,0 +1,30 @@
# Copyright (c) 2020 HAW Hamburg
#
# This file is subject to the terms and conditions of the GNU Lesser
# General Public License v2.1. See the file LICENSE in the top level
# directory for more details.
#
menu "Standard Input/Ouput (STDIO)"
depends on TEST_KCONFIG
choice
bool "STDIO implementation"
default MOD_STDIO_UART
# TODO: Add MOD_STDIO_CDC_ACM, MOD_STDIO_RTT, MOD_SLIPDEV_STDIO,
# MOD_STDIO_NATIVE and MOD_STDIO_ETHOS
config MOD_STDIO_NULL
bool "Null"
help
Empty implementation.
config MOD_STDIO_UART
bool "UART"
depends on HAS_PERIPH_UART
select MOD_PERIPH_UART
endchoice
endmenu # Standard Input/Ouput (STDIO)