1# STM32 SPI driver configuration options
2
3# Copyright (c) 2015-2016 Intel Corporation
4# SPDX-License-Identifier: Apache-2.0
5
6menuconfig SPI_STM32
7	bool "STM32 MCU SPI controller driver"
8	depends on SOC_FAMILY_STM32
9	select USE_STM32_LL_SPI
10	help
11	  Enable SPI support on the STM32 family of processors.
12
13if SPI_STM32
14
15config SPI_STM32_INTERRUPT
16	bool "STM32 MCU SPI Interrupt Support"
17	help
18	  Enable Interrupt support for the SPI Driver of STM32 family.
19
20config SPI_STM32_DMA
21	bool "STM32 MCU SPI DMA Support"
22	select DMA
23	help
24	  Enable the SPI DMA mode for SPI instances
25	  that enable dma channels in their device tree node.
26
27config SPI_STM32_USE_HW_SS
28	bool "STM32 Hardware Slave Select support"
29	default y
30	help
31	  Use Slave Select pin instead of software Slave Select.
32
33
34endif # SPI_STM32
35