mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-31 19:24:33 +02:00
Psram: Do not initialize spiram cache if no chip is found.
Closes https://github.com/espressif/esp-idf/issues/6063
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user