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:
parent
858187dc25
commit
d5ca9550e1
@ -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
22
drivers/soft_uart/Kconfig
Normal 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
|
Loading…
Reference in New Issue
Block a user