2019-11-01 20:45:29 +08:00
|
|
|
# STM32 SPI driver configuration options
|
2017-06-21 15:16:25 +08:00
|
|
|
|
|
|
|
# Copyright (c) 2015-2016 Intel Corporation
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
menuconfig SPI_STM32
|
|
|
|
bool "STM32 MCU SPI controller driver"
|
2019-03-07 13:55:22 +08:00
|
|
|
depends on SOC_FAMILY_STM32
|
2017-06-21 15:16:25 +08:00
|
|
|
select USE_STM32_LL_SPI
|
|
|
|
help
|
|
|
|
Enable SPI support on the STM32 family of processors.
|
|
|
|
|
|
|
|
if SPI_STM32
|
|
|
|
|
|
|
|
config SPI_STM32_INTERRUPT
|
|
|
|
bool "STM32 MCU SPI Interrupt Support"
|
|
|
|
help
|
|
|
|
Enable Interrupt support for the SPI Driver of STM32 family.
|
|
|
|
|
2020-03-19 16:57:20 +08:00
|
|
|
config SPI_STM32_DMA
|
|
|
|
bool "STM32 MCU SPI DMA Support"
|
|
|
|
select DMA
|
|
|
|
help
|
|
|
|
Enable the SPI DMA mode for SPI instances
|
|
|
|
that enable dma channels in their device tree node.
|
|
|
|
|
2019-07-24 14:23:52 +08:00
|
|
|
config SPI_STM32_USE_HW_SS
|
|
|
|
bool "STM32 Hardware Slave Select support"
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
Use Slave Select pin instead of software Slave Select.
|
|
|
|
|
2020-03-19 16:57:20 +08:00
|
|
|
|
2017-06-21 15:16:25 +08:00
|
|
|
endif # SPI_STM32
|