Merge branch 'feature/update_efuses_for_esp32s2_v4.3' into 'release/v4.3'

efuse(esp32s2): Added flash_ver, psram_ver, pkg_ver efuses (v4.3)

See merge request espressif/esp-idf!14770
This commit is contained in:
Zim Kalinowski
2021-09-10 04:21:54 +00:00
5 changed files with 57 additions and 39 deletions

View File

@@ -27,5 +27,5 @@ uint8_t bootloader_common_get_chip_revision(void)
uint32_t bootloader_common_get_chip_ver_pkg(void)
{
// should return the same value as esp_efuse_get_pkg_ver()
return REG_GET_FIELD(EFUSE_RD_MAC_SPI_SYS_3_REG, EFUSE_PKG_VERSION);
return REG_GET_FIELD(EFUSE_RD_MAC_SPI_SYS_4_REG, EFUSE_PKG_VERSION);
}