mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-17 04:16:00 +00:00
Split QMSI relevant part into its own file. Some config where using prompt, some not: normalizing it by removing the prompt keyword where relevant. Reducing the file by using if/endif when relevant. However, it still not fully clean default: cfg and default baudrate should disappear. There is no default configuration to apply as long as the controller is not configured to run from any part using spi API. Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
32 lines
661 B
Plaintext
32 lines
661 B
Plaintext
# Kconfig - STM32 SPI driver configuration options
|
|
|
|
#
|
|
# Copyright (c) 2015-2016 Intel Corporation
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
menuconfig SPI_STM32
|
|
bool "STM32 MCU SPI controller driver"
|
|
depends on SPI && SOC_FAMILY_STM32
|
|
select HAS_DTS_SPI
|
|
select USE_STM32_LL_SPI
|
|
default n
|
|
help
|
|
Enable SPI support on the STM32 family of processors.
|
|
|
|
if SPI_STM32
|
|
|
|
config SPI_STM32_HAS_FIFO
|
|
bool
|
|
depends on SOC_SERIES_STM32L4X || SOC_SERIES_STM32F0X || SOC_SERIES_STM32F3X
|
|
default y
|
|
|
|
config SPI_STM32_INTERRUPT
|
|
bool "STM32 MCU SPI Interrupt Support"
|
|
default n
|
|
help
|
|
Enable Interrupt support for the SPI Driver of STM32 family.
|
|
|
|
endif # SPI_STM32
|