mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 03:00:34 +03:00
feat(efuse): Support efuse token dump
- efuse token dump is compatible with espefuse tool - EFSW dump can be burned on chip with esp_efuse_token_burn()
This commit is contained in:
@@ -97,6 +97,28 @@ __attribute__((always_inline)) static inline uint32_t efuse_ll_get_ecdsa_key_blk
|
||||
return EFUSE.ecdsa.cur_ecdsa_p256_blk;
|
||||
}
|
||||
|
||||
__attribute__((always_inline)) static inline uint32_t efuse_ll_get_coding_error(unsigned index)
|
||||
{
|
||||
switch (index) {
|
||||
case 0:
|
||||
return EFUSE.rd_repeat_data_err0.val;
|
||||
case 1:
|
||||
return EFUSE.rd_repeat_data_err1.val;
|
||||
case 2:
|
||||
return EFUSE.rd_repeat_data_err2.val;
|
||||
case 3:
|
||||
return EFUSE.rd_repeat_data_err3.val;
|
||||
case 4:
|
||||
return EFUSE.rd_repeat_data_err4.val;
|
||||
case 5:
|
||||
return EFUSE.rd_rs_data_err0.val;
|
||||
case 6:
|
||||
return EFUSE.rd_rs_data_err1.val;
|
||||
default:
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
/******************* eFuse control functions *************************/
|
||||
|
||||
__attribute__((always_inline)) static inline bool efuse_ll_get_read_cmd(void)
|
||||
|
||||
Reference in New Issue
Block a user