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 e088053614
commit a28c236c21
+3
View File
@@ -60,6 +60,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
;
}