add soft solution for esp32 eco3 live lock issue

This commit is contained in:
Li Shuai
2020-06-17 15:30:39 +08:00
committed by bot
parent b9dd8630ee
commit 8560d88391
6 changed files with 332 additions and 5 deletions

View File

@@ -386,6 +386,10 @@ void start_cpu0_default(void)
esp_int_wdt_init();
//Initialize the interrupt watch dog for CPU0.
esp_int_wdt_cpu_init();
#else
#if CONFIG_ESP32_ECO3_CACHE_LOCK_FIX
assert(!soc_has_cache_lock_bug() && "ESP32 Rev 3 + Dual Core + PSRAM requires INT WDT enabled in project config!");
#endif
#endif
esp_cache_err_int_init();
esp_crosscore_int_init();