fix: fix ci job error of some instructions require put to iram text

This commit is contained in:
Li Shuai
2025-03-21 16:21:33 +08:00
parent b47005a030
commit ce63f86f56
5 changed files with 7 additions and 1 deletions

View File

@@ -23,6 +23,7 @@ menu "ESP-Driver:SPI Configurations"
bool "Place SPI master ISR function into IRAM"
default y
depends on !HEAP_PLACE_FUNCTION_INTO_FLASH
select ESP_PERIPH_CTRL_FUNC_IN_IRAM
select ESP_SPI_BUS_LOCK_ISR_FUNCS_IN_IRAM
select GDMA_CTRL_FUNC_IN_IRAM if SOC_GDMA_SUPPORTED
help
@@ -51,6 +52,7 @@ menu "ESP-Driver:SPI Configurations"
config SPI_SLAVE_ISR_IN_IRAM
bool "Place SPI slave ISR function into IRAM"
default y
select ESP_PERIPH_CTRL_FUNC_IN_IRAM
select GDMA_CTRL_FUNC_IN_IRAM if SOC_GDMA_SUPPORTED
help
Place the SPI slave ISR in to IRAM to avoid possible cache miss.