sys/stdio: add module to Kconfig
This commit is contained in:
parent
67b2519a7d
commit
4f2494fa1a
@ -9,6 +9,7 @@ menu "System"
|
|||||||
rsource "auto_init/Kconfig"
|
rsource "auto_init/Kconfig"
|
||||||
rsource "net/Kconfig"
|
rsource "net/Kconfig"
|
||||||
rsource "Kconfig.newlib"
|
rsource "Kconfig.newlib"
|
||||||
|
rsource "Kconfig.stdio"
|
||||||
rsource "usb/Kconfig"
|
rsource "usb/Kconfig"
|
||||||
|
|
||||||
config MOD_SYS
|
config MOD_SYS
|
||||||
|
|||||||
30
sys/Kconfig.stdio
Normal file
30
sys/Kconfig.stdio
Normal 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)
|
||||||
Loading…
x
Reference in New Issue
Block a user