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

View File

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