Currently, the uart_wch driver only supports the polling API. This patch introduces bindings for the interrupt-driven API. Signed-off-by: Paul Wedeck <paulwedeck@gmail.com>
12 lines
318 B
Text
12 lines
318 B
Text
# Copyright (c) 2024 Google LLC.
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
config UART_WCH_USART
|
|
bool "CH32V00x USART driver"
|
|
default y
|
|
depends on DT_HAS_WCH_USART_ENABLED
|
|
select SERIAL_HAS_DRIVER
|
|
select SERIAL_SUPPORT_INTERRUPT
|
|
select PINCTRL
|
|
help
|
|
This option enables the USART driver for CH32V00x SoC family.
|