mirror of
https://github.com/espressif/esp-idf.git
synced 2025-10-23 18:53:28 +00:00
spi: remove hard-coded DMA chan in soc_caps.h
This commit is contained in:
@@ -159,8 +159,6 @@
|
||||
|
||||
// Attention: These fixed DMA channels are temporarily workaround before we have a centralized DMA controller API to help alloc the channel dynamically
|
||||
// Remove them when GDMA driver API is ready
|
||||
#define SOC_GDMA_SPI2_DMA_CHANNEL (1)
|
||||
#define SOC_GDMA_SPI3_DMA_CHANNEL (2)
|
||||
#define SOC_GDMA_SHA_DMA_CHANNEL (3)
|
||||
#define SOC_GDMA_AES_DMA_CHANNEL (4)
|
||||
|
||||
|
@@ -63,7 +63,7 @@ const spi_signal_conn_t spi_periph_signal[SOC_SPI_PERIPH_NUM] = {
|
||||
.spihd_iomux_pin = FSPI_IOMUX_PIN_NUM_HD,
|
||||
.spics0_iomux_pin = FSPI_IOMUX_PIN_NUM_CS,
|
||||
.irq = ETS_SPI2_INTR_SOURCE,
|
||||
.irq_dma = ETS_SPI2_DMA_INTR_SOURCE,
|
||||
.irq_dma = -1,
|
||||
.module = PERIPH_FSPI_MODULE,
|
||||
.hw = &GPSPI2,
|
||||
.func = FSPI_FUNC_NUM,
|
||||
@@ -89,7 +89,7 @@ const spi_signal_conn_t spi_periph_signal[SOC_SPI_PERIPH_NUM] = {
|
||||
.spihd_iomux_pin = -1,
|
||||
.spics0_iomux_pin = -1,
|
||||
.irq = ETS_SPI3_INTR_SOURCE,
|
||||
.irq_dma = ETS_SPI3_DMA_INTR_SOURCE,
|
||||
.irq_dma = -1,
|
||||
.module = PERIPH_HSPI_MODULE,
|
||||
.hw = &GPSPI3,
|
||||
.func = -1,
|
||||
|
Reference in New Issue
Block a user