Skip to content

Commit

Permalink
feat(espefuse): Adds new efuses for esp32p4
Browse files Browse the repository at this point in the history
  • Loading branch information
KonstantinKondrashov committed Feb 16, 2024
1 parent 0c3a09c commit 31477fb
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 24 deletions.
11 changes: 0 additions & 11 deletions espefuse/efuse/esp32p4/mem_definition.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
EfuseBlocksBase,
EfuseFieldsBase,
EfuseRegistersBase,
Field,
)


Expand Down Expand Up @@ -152,16 +151,6 @@ def __init__(self) -> None:
self.BLOCK2_CALIBRATION_EFUSES.append(efuse)
self.ALL_EFUSES[i] = None

f = Field()
f.name = "MAC_EUI64"
f.block = 1
f.bit_len = 64
f.type = f"bytes:{f.bit_len // 8}"
f.category = "MAC"
f.class_type = "mac"
f.description = "calc MAC_EUI64 = MAC[0]:MAC[1]:MAC[2]:MAC_EXT[0]:MAC_EXT[1]:MAC[3]:MAC[4]:MAC[5]"
self.CALC.append(f)

for efuse in self.ALL_EFUSES:
if efuse is not None:
self.EFUSES.append(efuse)
Expand Down
Loading

0 comments on commit 31477fb

Please sign in to comment.