mirror of
https://github.com/espressif/esp-idf.git
synced 2026-09-22 13:01:16 +03:00
fix(spi_flash): Check for SPM memory in esp_task_stack_is_sane_cache_disabled
This commit is contained in:
@@ -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
|
||||
;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user