add soft solution for esp32 eco3 live lock issue

This commit is contained in:
Li Shuai
2020-06-17 14:50:24 +08:00
committed by bot
parent bd72a9ab2b
commit b89a2bb266
6 changed files with 333 additions and 5 deletions

View File

@@ -390,6 +390,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();