From 03e94aab1e7dbdf375a3b1c34872093a4e21ecbb Mon Sep 17 00:00:00 2001 From: Leandro Lanzieri Date: Wed, 25 Nov 2020 18:29:09 +0100 Subject: [PATCH] drivers/uart_half_duplex: add module to Kconfig --- drivers/Kconfig | 1 + drivers/uart_half_duplex/Kconfig | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 drivers/uart_half_duplex/Kconfig diff --git a/drivers/Kconfig b/drivers/Kconfig index 30b01babc9..37f0e630a8 100644 --- a/drivers/Kconfig +++ b/drivers/Kconfig @@ -29,6 +29,7 @@ rsource "edbg_eui/Kconfig" rsource "hd44780/Kconfig" rsource "ili9341/Kconfig" rsource "io1_xplained/Kconfig" +rsource "uart_half_duplex/Kconfig" endmenu # Miscellaneous Device Drivers rsource "Kconfig.net" diff --git a/drivers/uart_half_duplex/Kconfig b/drivers/uart_half_duplex/Kconfig new file mode 100644 index 0000000000..adcf21550f --- /dev/null +++ b/drivers/uart_half_duplex/Kconfig @@ -0,0 +1,18 @@ +# 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. +# + +config MODULE_UART_HALF_DUPLEX + bool "half-duplex UART Driver" + depends on HAS_PERIPH_GPIO + depends on HAS_PERIPH_UART + depends on TEST_KCONFIG + select MODULE_PERIPH_GPIO + select MODULE_PERIPH_UART + select MODULE_XTIMER + help + This module contains drivers for UART half-duplex communication bus. It + needs to manage the communication direction by enabling or disabling TX.