13 lines
382 B
Plaintext
13 lines
382 B
Plaintext
# Copyright (c) 2021 BrainCo Inc.
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
# Workaround for not being able to have commas in macro arguments
|
|
DT_COMPAT_GD_GD32_SPI := gd,gd32-spi
|
|
|
|
config SPI_GD32
|
|
bool "Gigadevice GD32 SPI driver"
|
|
depends on (SOC_FAMILY_GD32 || SOC_SERIES_GD32VF103)
|
|
default $(dt_compat_enabled,$(DT_COMPAT_GD_GD32_SPI))
|
|
help
|
|
Enables Gigadevice GD32 SPI driver.
|