diff --git a/arch/arm/src/stm32f0l0g0/Kconfig b/arch/arm/src/stm32f0l0g0/Kconfig index 6e7fa4b0fc..c4721953e9 100644 --- a/arch/arm/src/stm32f0l0g0/Kconfig +++ b/arch/arm/src/stm32f0l0g0/Kconfig @@ -1420,6 +1420,10 @@ config STM32F0L0G0_DMA config STM32F0L0G0_SPI bool +config STM32F0L0G0_SPI_DMA + bool + default n + config STM32F0L0G0_I2C bool @@ -2687,25 +2691,21 @@ config STM32F0L0G0_SPI_INTERRUPTS poll-waiting is recommended if the interrupt rate would be to high in the interrupt driven case. -config STM32F0L0G0_SPI_DMA - bool "SPI DMA" - default n - ---help--- - Use DMA to improve SPI transfer performance. Cannot be used with STM32F0L0G0_SPI_INTERRUPT. - config STM32F0L0G0_SPI1_DMA bool "SPI1 DMA" default n - depends on STM32F0L0G0_SPI1 && STM32F0L0G0_SPI_DMA + depends on STM32F0L0G0_SPI1 && !STM32F0L0G0_SPI_INTERRUPTS + select STM32F0L0G0_SPI_DMA ---help--- - Use DMA to improve SPI1 transfer performance. + Use DMA to improve SPI1 transfer performance. Cannot be used with STM32F0L0G0_SPI_INTERRUPT. config STM32F0L0G0_SPI2_DMA bool "SPI2 DMA" default n - depends on STM32F0L0G0_SPI2 && STM32F0L0G0_SPI_DMA + depends on STM32F0L0G0_SPI2 && !STM32F0L0G0_SPI_INTERRUPTS + select STM32F0L0G0_SPI_DMA ---help--- - Use DMA to improve SPI2 transfer performance. + Use DMA to improve SPI2 transfer performance. Cannot be used with STM32F0L0G0_SPI_INTERRUPT. config STM32F0L0G0_SPI1_COMMTYPE int "SPI1 Operation mode"