Merge branch 'bugfix/fix_crash_psram_not_found' into 'master'

Psram: Do not initialize spiram cache if no chip is found

See merge request espressif/esp-idf!11093
This commit is contained in:
Jeroen Domburg 2020-11-06 15:11:48 +08:00
commit 5bbd61d013

View File

@ -327,7 +327,9 @@ void IRAM_ATTR call_start_cpu0(void)
abort();
#endif
}
esp_spiram_init_cache();
if (g_spiram_ok) {
esp_spiram_init_cache();
}
#endif
#if !CONFIG_ESP_SYSTEM_SINGLE_CORE_MODE