2017-04-06 01:06:17 +08:00
|
|
|
# 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
|
|
|
|
|
2018-03-27 18:25:19 +08:00
|
|
|
menuconfig USART_GECKO_0
|
|
|
|
bool "USART 0"
|
|
|
|
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"
|
|
|
|
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
|
|
|
|
|
2017-04-06 01:06:17 +08:00
|
|
|
endif # UART_GECKO
|