add soft solution for esp32 eco3 live lock issue

This commit is contained in:
Li Shuai
2020-05-29 14:53:30 +08:00
committed by bot
parent 55b319e1ae
commit 72f583dfa7
6 changed files with 345 additions and 3 deletions

View File

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