From 1b4598252109b1a65448de4a399f0be316df8278 Mon Sep 17 00:00:00 2001 From: raiden00pl Date: Fri, 15 Jul 2022 19:39:48 +0200 Subject: [PATCH] stm32f0l0g0/Kconfig: remove the duplicated SPI DMA section --- arch/arm/src/stm32f0l0g0/Kconfig | 46 +++++++++++--------------------- 1 file changed, 16 insertions(+), 30 deletions(-) diff --git a/arch/arm/src/stm32f0l0g0/Kconfig b/arch/arm/src/stm32f0l0g0/Kconfig index 3e391c1baf..6e7fa4b0fc 100644 --- a/arch/arm/src/stm32f0l0g0/Kconfig +++ b/arch/arm/src/stm32f0l0g0/Kconfig @@ -1272,36 +1272,6 @@ config STM32F0L0G0_SPI2 select SPI select STM32F0L0G0_SPI -config STM32F0L0G0_SPI1_DMA - bool "SPI1 DMA" - default n - depends on STM32F0L0G0_SPI1 && STM32F0L0G0_SPI_DMA - ---help--- - Use DMA to improve SPI1 transfer performance. - -config STM32F0L0G0_SPI2_DMA - bool "SPI2 DMA" - default n - depends on STM32F0L0G0_SPI2 && STM32F0L0G0_SPI_DMA - ---help--- - Use DMA to improve SPI2 transfer performance. - -config STM32F0L0G0_SPI1_COMMTYPE - int "SPI1 Operation mode" - default 0 - range 0 3 - depends on STM32F0L0G0_SPI1 - ---help--- - Select full-duplex (0), simplex tx (1), simplex rx (2) or half-duplex (3) - -config STM32F0L0G0_SPI2_COMMTYPE - int "SPI2 Operation mode" - default 0 - range 0 3 - depends on STM32F0L0G0_SPI2 - ---help--- - Select full-duplex (0), simplex tx (1), simplex rx (2) or half-duplex (3) - config STM32F0L0G0_SYSCFG bool "SYSCFG" default y @@ -2737,6 +2707,22 @@ config STM32F0L0G0_SPI2_DMA ---help--- Use DMA to improve SPI2 transfer performance. +config STM32F0L0G0_SPI1_COMMTYPE + int "SPI1 Operation mode" + default 0 + range 0 3 + depends on STM32F0L0G0_SPI1 + ---help--- + Select full-duplex (0), simplex tx (1), simplex rx (2) or half-duplex (3) + +config STM32F0L0G0_SPI2_COMMTYPE + int "SPI2 Operation mode" + default 0 + range 0 3 + depends on STM32F0L0G0_SPI2 + ---help--- + Select full-duplex (0), simplex tx (1), simplex rx (2) or half-duplex (3) + endmenu # SPI Configuration menu "I2C Configuration"