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

drivers/soft_uart: add modules to Kconfig

This commit is contained in:
Leandro Lanzieri 2021-01-06 10:17:35 +01:00
parent 858187dc25
commit d5ca9550e1
No known key found for this signature in database
GPG Key ID: F4E9A721761C7593
2 changed files with 23 additions and 0 deletions

View File

@ -49,6 +49,7 @@ menu "Peripherals drivers"
rsource "periph_common/Kconfig"
rsource "rtt_rtc/Kconfig"
rsource "soft_spi/Kconfig"
rsource "soft_uart/Kconfig"
endmenu # Peripherals drivers
menu "Sensor Device Drivers"

22
drivers/soft_uart/Kconfig Normal file
View File

@ -0,0 +1,22 @@
# Copyright (c) 2021 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_SOFT_UART
bool "Software-implemented UART"
depends on HAS_PERIPH_GPIO
depends on HAS_PERIPH_GPIO_IRQ
depends on HAS_PERIPH_TIMER
depends on HAS_PERIPH_TIMER_PERIODIC
depends on TEST_KCONFIG
select MODULE_PERIPH_GPIO
select MODULE_PERIPH_GPIO_IRQ
select MODULE_PERIPH_TIMER
select MODULE_PERIPH_TIMER_PERIODIC
config MODULE_SOFT_UART_MODECFG
bool "Mode configuration support"
depends on MODULE_SOFT_UART