We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1148bb commit 579bad5Copy full SHA for 579bad5
drivers/spi/Kconfig.gd32
@@ -13,7 +13,16 @@ if SPI_GD32
13
config SPI_GD32_INTERRUPT
14
bool "GD32 MCU SPI Interrupt Support"
15
default y if SPI_ASYNC
16
+ default y if SPI_GD32_DMA
17
help
18
Enable the interrupt driven mode for SPI instances
19
20
+config SPI_GD32_DMA
21
+ bool "GD32 MCU SPI DMA Support"
22
+ select DMA
23
+ select SPI_GD32_INTERRUPT
24
+ help
25
+ Use the DMA for SPI transfer
26
+ that enable dma channels in their device tree node.
27
+
28
endif # SPI_GD32
0 commit comments