spi: change linker file let spi hal able to out from iram

This commit is contained in:
wanlei
2023-04-03 11:01:12 +08:00
parent b519eed230
commit 15e8c04f7b
5 changed files with 22 additions and 2 deletions
+2
View File
@@ -87,6 +87,7 @@ menu "Driver Configurations"
default y
depends on !HEAP_PLACE_FUNCTION_INTO_FLASH
select PERIPH_CTRL_FUNC_IN_IRAM
select HAL_SPI_MASTER_FUNC_IN_IRAM
help
Place the SPI master ISR in to IRAM to avoid possible cache miss.
@@ -114,6 +115,7 @@ menu "Driver Configurations"
bool "Place SPI slave ISR function into IRAM"
default y
select PERIPH_CTRL_FUNC_IN_IRAM
select HAL_SPI_SLAVE_FUNC_IN_IRAM
help
Place the SPI slave ISR in to IRAM to avoid possible cache miss.