2020-07-27 17:09:27 +02:00
|
|
|
# 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.
|
|
|
|
#
|
|
|
|
|
2020-08-31 09:57:28 +02:00
|
|
|
menuconfig MODULE_PERIPH_UART
|
2020-07-27 17:09:27 +02:00
|
|
|
bool "UART peripheral driver"
|
|
|
|
depends on HAS_PERIPH_UART
|
2020-08-31 09:57:28 +02:00
|
|
|
select MODULE_PERIPH_COMMON
|
2020-07-27 17:09:27 +02:00
|
|
|
|
2020-08-31 09:57:28 +02:00
|
|
|
if MODULE_PERIPH_UART
|
2020-07-27 17:09:27 +02:00
|
|
|
|
|
|
|
# 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.
|
|
|
|
|
2020-08-31 09:57:28 +02:00
|
|
|
config MODULE_PERIPH_INIT_UART
|
2020-07-27 17:09:27 +02:00
|
|
|
bool "Auto initialize UART peripheral"
|
2020-08-31 09:57:28 +02:00
|
|
|
default y if MODULE_PERIPH_INIT
|
2020-07-27 17:09:27 +02:00
|
|
|
|
2020-08-31 09:57:28 +02:00
|
|
|
config MODULE_PERIPH_UART_MODECFG
|
2020-07-27 17:09:27 +02:00
|
|
|
bool "Mode configuration support"
|
|
|
|
depends on HAS_PERIPH_UART_MODECFG
|
|
|
|
|
2020-09-24 14:20:53 +02:00
|
|
|
config MODULE_PERIPH_LPUART
|
|
|
|
bool "Enable Low Power UART (LPUART)"
|
|
|
|
depends on HAS_PERIPH_LPUART
|
|
|
|
|
2021-07-26 14:42:03 +02:00
|
|
|
config MODULE_PERIPH_UART_COLLISION
|
|
|
|
bool "Enable UART collision detection"
|
|
|
|
depends on HAS_PERIPH_UART_COLLISION
|
|
|
|
|
2020-08-31 09:57:28 +02:00
|
|
|
config MODULE_PERIPH_UART_NONBLOCKING
|
2020-07-27 17:09:27 +02:00
|
|
|
bool "Non-blocking support"
|
|
|
|
depends on HAS_PERIPH_UART_NONBLOCKING
|
|
|
|
|
2021-05-27 22:19:40 +02:00
|
|
|
config MODULE_PERIPH_UART_RXSTART_IRQ
|
|
|
|
bool "Enable Start Condition Interrupt"
|
|
|
|
depends on HAS_PERIPH_UART_RXSTART_IRQ
|
|
|
|
|
2020-08-31 09:57:28 +02:00
|
|
|
config MODULE_PERIPH_INIT_UART_MODECFG
|
2020-07-27 17:09:27 +02:00
|
|
|
bool
|
2020-08-31 09:57:28 +02:00
|
|
|
depends on MODULE_PERIPH_UART_MODECFG
|
|
|
|
default y if MODULE_PERIPH_INIT
|
2020-07-27 17:09:27 +02:00
|
|
|
|
2020-08-31 09:57:28 +02:00
|
|
|
config MODULE_PERIPH_INIT_UART_NONBLOCKING
|
2020-07-27 17:09:27 +02:00
|
|
|
bool
|
2020-08-31 09:57:28 +02:00
|
|
|
depends on MODULE_PERIPH_UART_NONBLOCKING
|
|
|
|
default y if MODULE_PERIPH_INIT
|
2020-07-27 17:09:27 +02:00
|
|
|
|
2020-09-24 14:20:53 +02:00
|
|
|
config MODULE_PERIPH_INIT_LPUART
|
|
|
|
bool
|
|
|
|
depends on MODULE_PERIPH_LPUART
|
|
|
|
default y if MODULE_PERIPH_INIT
|
|
|
|
|
2021-11-25 12:32:57 +01:00
|
|
|
config MODULE_PERIPH_UART_HW_FC
|
|
|
|
bool
|
|
|
|
depends on HAS_PERIPH_UART_HW_FC
|
|
|
|
|
|
|
|
config MODULE_PERIPH_INIT_UART_HW_FC
|
|
|
|
bool
|
|
|
|
depends on MODULE_PERIPH_UART_HW_FC
|
|
|
|
default y if MODULE_PERIPH_INIT
|
|
|
|
|
2020-08-31 09:57:28 +02:00
|
|
|
endif # MODULE_PERIPH_UART
|