15 lines
446 B
Plaintext
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.
|