Skip to content

Commit

Permalink
fix(espefuse): Fix efuse base addr for esp32c5 MP
Browse files Browse the repository at this point in the history
  • Loading branch information
KonstantinKondrashov committed Apr 19, 2024
1 parent d2bfaad commit 248dc9a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion espefuse/efuse/esp32c5/mem_definition.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class EfuseDefineRegisters(EfuseRegistersBase):
EFUSE_MEM_SIZE = 0x01FC + 4

# EFUSE registers & command/conf values
DR_REG_EFUSE_BASE = 0x600B0800
DR_REG_EFUSE_BASE = 0x600B4800
EFUSE_PGM_DATA0_REG = DR_REG_EFUSE_BASE
EFUSE_CHECK_VALUE0_REG = DR_REG_EFUSE_BASE + 0x020
EFUSE_CLK_REG = DR_REG_EFUSE_BASE + 0x1C8
Expand Down
2 changes: 2 additions & 0 deletions esptool/targets/esp32c5.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ class ESP32C5ROM(ESP32C6ROM):
CHIP_NAME = "ESP32-C5"
IMAGE_CHIP_ID = 23

EFUSE_BASE = 0x600B4800

IROM_MAP_START = 0x42000000
IROM_MAP_END = 0x42800000
DROM_MAP_START = 0x42800000
Expand Down

0 comments on commit 248dc9a

Please sign in to comment.