zephyr/drivers/serial/Kconfig.gecko

86 lines
1.2 KiB
Plaintext

# Kconfig - Gecko SDK UART
#
# Copyright (c) 2017, Christian Taedcke
#
# SPDX-License-Identifier: Apache-2.0
#
menuconfig UART_GECKO
bool "Gecko uart driver"
depends on HAS_SILABS_GECKO
depends on GPIO_GECKO
select SERIAL_HAS_DRIVER
select SERIAL_SUPPORT_INTERRUPT
help
Enable the Gecko uart driver.
if UART_GECKO
menuconfig UART_GECKO_0
bool "UART 0"
help
Enable UART 0.
if UART_GECKO_0
config UART_GECKO_0_GPIO_LOC
int "Pin Locations"
range 0 3
depends on UART_GECKO
help
The GPIO pins to use.
endif # UART_GECKO_0
menuconfig UART_GECKO_1
bool "UART 1"
help
Enable UART 1.
if UART_GECKO_1
config UART_GECKO_1_GPIO_LOC
int "Pin Locations"
range 0 3
depends on UART_GECKO
help
The GPIO pins to use.
endif # UART_GECKO_1
menuconfig USART_GECKO_0
bool "USART 0"
default n
help
Enable USART 0.
if USART_GECKO_0
config USART_GECKO_0_GPIO_LOC
int "Pin Locations"
range 0 3
depends on UART_GECKO
help
The GPIO pins to use.
endif # USART_GECKO_0
menuconfig USART_GECKO_1
bool "USART 1"
default n
help
Enable USART 1.
if USART_GECKO_1
config USART_GECKO_1_GPIO_LOC
int "Pin Locations"
range 0 3
depends on UART_GECKO
help
The GPIO pins to use.
endif # USART_GECKO_1
endif # UART_GECKO