fix(spi_flash): Check for SPM memory in esp_task_stack_is_sane_cache_disabled

This commit is contained in:
Guillaume Souchere
2026-09-11 09:42:26 +02:00
parent d8b677db7e
commit d400947773

View File

@@ -61,6 +61,9 @@ static inline bool esp_task_stack_is_sane_cache_disabled(void)
return esp_ptr_in_dram(sp)
#if CONFIG_ESP_SYSTEM_ALLOW_RTC_FAST_MEM_AS_HEAP
|| esp_ptr_in_rtc_dram_fast(sp)
#endif
#if SOC_MEM_SPM_SUPPORTED
|| esp_ptr_in_spm(sp)
#endif
;
}