feat(efuse): Update efuses for C5 and C61

This commit is contained in:
Konstantin Kondrashov
2024-03-13 22:51:44 +02:00
parent 22b5f69f7b
commit 25bc10e143
35 changed files with 4482 additions and 3285 deletions

View File

@@ -17,15 +17,15 @@
static __attribute__((unused)) const char *TAG = "efuse";
// TODO: [ESP32C5] IDF-8674
// Contains functions that provide access to efuse fields which are often used in IDF.
// Returns chip package from efuse
uint32_t esp_efuse_get_pkg_ver(void)
{
uint32_t pkg_ver = 0;
#ifdef EFUSE_PKG_VERSION
esp_efuse_read_field_blob(ESP_EFUSE_PKG_VERSION, &pkg_ver, ESP_EFUSE_PKG_VERSION[0]->bit_count);
#endif
return pkg_ver;
}