Split the USART driver into separate implementations for Silabs Series 2 and Series 0/1 boards. This change improves maintainability (especially with the support of pin-ctrl and clock-ctrl on series 2 boards). Signed-off-by: Martin Hoff <martin.hoff@silabs.com>
16 lines
402 B
Plaintext
16 lines
402 B
Plaintext
# Gecko SDK UART
|
|
|
|
# Copyright (c) 2017, Christian Taedcke
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
config UART_GECKO
|
|
bool "Gecko UART/USART driver"
|
|
default y
|
|
depends on DT_HAS_SILABS_GECKO_UART_ENABLED || DT_HAS_SILABS_GECKO_USART_ENABLED
|
|
select SERIAL_HAS_DRIVER
|
|
select SERIAL_SUPPORT_INTERRUPT
|
|
select SOC_GECKO_USART
|
|
select PINCTRL if SOC_FAMILY_SILABS_S1
|
|
help
|
|
Enable the Gecko uart driver.
|