stm32f0l0g0/Kconfig: hide STM32F0L0G0_SPI_DMA option and select it automatically
This commit is contained in:
parent
1b45982521
commit
d307e5a7f5
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue