Skip to content

Commit

Permalink
fix(esp32c2): Add esp32c2 eco4 rom magic value
Browse files Browse the repository at this point in the history
  • Loading branch information
esp-jiangguangming authored and radimkarnis committed Sep 25, 2024
1 parent 908d0b5 commit 3434433
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions esptool/targets/esp32c2.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ class ESP32C2ROM(ESP32C3ROM):
DROM_MAP_START = 0x3C000000
DROM_MAP_END = 0x3C400000

# Magic value for ESP32C2 ECO0 and ECO1 respectively
CHIP_DETECT_MAGIC_VALUE = [0x6F51306F, 0x7C41A06F]
# Magic value for ESP32C2 ECO0 , ECO1 and ECO4 respectively
CHIP_DETECT_MAGIC_VALUE = [0x6F51306F, 0x7C41A06F, 0x0C21E06F]

EFUSE_BASE = 0x60008800
EFUSE_BLOCK2_ADDR = EFUSE_BASE + 0x040
Expand Down

0 comments on commit 3434433

Please sign in to comment.