bugfix(cpu_start): check c3 efuse error log on ram app condition

Prior to this commit, esp_efuse_check_errors() is only called when it's
2nd stage btld app.

This commit moves this error check so under all conditions (including
ram app, pure ram app) will check this efuse error
This commit is contained in:
Armando 2023-11-03 12:07:16 +08:00
parent 8e66d38959
commit 168ff6e268

View File

@ -583,6 +583,11 @@ void IRAM_ATTR call_start_cpu0(void)
#else
ESP_EARLY_LOGI(TAG, "Multicore app");
#endif
if (esp_efuse_check_errors() != ESP_OK) {
esp_restart();
}
bootloader_init_mem();
#if !CONFIG_ESP_SYSTEM_SINGLE_CORE_MODE