zephyr/drivers/serial/Kconfig.gd32
Gerson Fernando Budke 45d60c4d4c drivers: serial: Add gd32 uart driver
Introduce minimal serial driver support for gigadevice soc.

Signed-off-by: Gerson Fernando Budke <gerson.budke@atl-electronics.com>
2021-10-28 11:17:25 +02:00

15 lines
446 B
Plaintext

# Copyright (c) 2021 ATL Electronics
# SPDX-License-Identifier: Apache-2.0
# Workaround for not being able to have commas in macro arguments
DT_COMPAT_GIGADEVICE_GD32_USART := gd,gd32-usart
config USART_GD32
bool "GD32 serial driver"
default $(dt_compat_enabled,$(DT_COMPAT_GIGADEVICE_GD32_USART))
depends on SOC_FAMILY_GD32
select SERIAL_HAS_DRIVER
select USE_GD32_USART
help
This option enables the USART driver for GD32 SoC family.