Merge branch 'fix/fix_sleep_exception_in_spi_flash_rom_impl_v5.4' into 'release/v5.4'

fix(esp_hw_support): fix sleep exception in spi flash rom impl (v5.4)

See merge request espressif/esp-idf!46447
This commit is contained in:
Jiang Jiang Jian
2026-03-12 03:38:34 +08:00
11 changed files with 46 additions and 17 deletions
+2
View File
@@ -362,6 +362,7 @@ void IRAM_ATTR spi_flash_enable_cache(uint32_t cpuid)
#endif
}
#if !CONFIG_SPI_FLASH_ROM_IMPL
void IRAM_ATTR spi_flash_disable_cache(uint32_t cpuid, uint32_t *saved_state)
{
#if SOC_BRANCH_PREDICTOR_SUPPORTED
@@ -383,6 +384,7 @@ bool IRAM_ATTR spi_flash_cache_enabled(void)
{
return cache_hal_is_cache_enabled(CACHE_LL_LEVEL_EXT_MEM, CACHE_TYPE_ALL);
}
#endif
#if CONFIG_IDF_TARGET_ESP32S2
IRAM_ATTR void esp_config_instruction_cache_mode(void)