Merge branch 'bugfix/customer_baidu_int_wdt_v4.2' into 'release/v4.2'

backport v4.2: add soft solution for esp32 eco3 live lock issue

See merge request espressif/esp-idf!9223
This commit is contained in:
Jiang Jiang Jian
2020-08-07 14:12:00 +08:00
6 changed files with 345 additions and 3 deletions

View File

@@ -162,3 +162,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