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:
Konstantin Kondrashov
2026-06-03 13:19:59 +03:00
parent d4c8d211e1
commit 885097762f
31 changed files with 1844 additions and 65 deletions
@@ -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)