mirror of
https://github.com/espressif/esp-idf.git
synced 2025-11-19 08:49:43 +01:00
efuse(esp32s2): Added flash_ver, psram_ver, pkg_ver efuses
This commit is contained in:
committed by
bot
parent
7b5f731cce
commit
3cf4fbc150
@@ -19,5 +19,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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user