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

@@ -172,3 +172,10 @@ void esp_chip_info(esp_chip_info_t* out_info)
out_info->features |= CHIP_FEATURE_EMB_FLASH;
}
}
#if CONFIG_ESP32_ECO3_CACHE_LOCK_FIX
inline bool soc_has_cache_lock_bug(void)
{
return (esp_efuse_get_chip_ver() == 3);
}
#endif