2023-10-18 17:25:20 +08:00
|
|
|
[mapping:gpspi_driver]
|
|
|
|
archive: libesp_driver_spi.a
|
|
|
|
entries:
|
2023-12-28 19:58:54 +08:00
|
|
|
# SOC_GDMA_SUPPORTED is undeclared if GDMA not support, so use `SOC_GDMA_SUPPORTED != y` instead
|
|
|
|
if SOC_GDMA_SUPPORTED != y && (SPI_MASTER_ISR_IN_IRAM = y || SPI_SLAVE_ISR_IN_IRAM = y):
|
|
|
|
spi_dma: spi_dma_reset (noflash)
|
|
|
|
spi_dma: spi_dma_start (noflash)
|
2023-12-20 16:14:34 +08:00
|
|
|
|
|
|
|
if SOC_SPI_SUPPORT_SLAVE_HD_VER2 = y:
|
|
|
|
spi_dma: spi_dma_get_eof_desc (noflash)
|
2025-01-24 16:21:55 +08:00
|
|
|
|
|
|
|
[mapping:gpspi_hal]
|
|
|
|
archive: libhal.a
|
|
|
|
entries:
|
|
|
|
if SPI_MASTER_ISR_IN_IRAM = y:
|
|
|
|
spi_hal_iram (noflash)
|
|
|
|
if SPI_SLAVE_ISR_IN_IRAM = y:
|
|
|
|
spi_slave_hal_iram (noflash)
|