1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/drivers/periph_common/Kconfig.uart
2021-07-27 16:29:30 +02:00

55 lines
1.5 KiB
Plaintext

# 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.
#
menuconfig MODULE_PERIPH_UART
bool "UART peripheral driver"
depends on HAS_PERIPH_UART
select MODULE_PERIPH_COMMON
if MODULE_PERIPH_UART
# TODO: the 'init' modules are actually just artifacts from the way
# periph_init_% modules are handled in Makefile. We need to define them to keep
# the list the same for now. We should be able to remove them later on.
config MODULE_PERIPH_INIT_UART
bool "Auto initialize UART peripheral"
default y if MODULE_PERIPH_INIT
config MODULE_PERIPH_UART_MODECFG
bool "Mode configuration support"
depends on HAS_PERIPH_UART_MODECFG
config MODULE_PERIPH_LPUART
bool "Enable Low Power UART (LPUART)"
depends on HAS_PERIPH_LPUART
config MODULE_PERIPH_UART_NONBLOCKING
bool "Non-blocking support"
depends on HAS_PERIPH_UART_NONBLOCKING
config MODULE_PERIPH_UART_RXSTART_IRQ
bool "Enable Start Condition Interrupt"
depends on HAS_PERIPH_UART_RXSTART_IRQ
config MODULE_PERIPH_INIT_UART_MODECFG
bool
depends on MODULE_PERIPH_UART_MODECFG
default y if MODULE_PERIPH_INIT
config MODULE_PERIPH_INIT_UART_NONBLOCKING
bool
depends on MODULE_PERIPH_UART_NONBLOCKING
default y if MODULE_PERIPH_INIT
config MODULE_PERIPH_INIT_LPUART
bool
depends on MODULE_PERIPH_LPUART
default y if MODULE_PERIPH_INIT
endif # MODULE_PERIPH_UART