Skip to content

Commit 6b31279

Browse files
committed
efuse: Correct block0 offset definitions for ESP32-C2, -C3, and -S3
According to both the technical reference manuals and to the esptool definitions these are all at 0x02C.
1 parent d1e1fff commit 6b31279

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1313

1414
### Fixed
1515

16+
- Corrected eFuse BLOCK0 definitions for ESP32-C2, ESP32-C3, and ESP32-S3 (#961)
17+
1618
### Removed
1719

1820
## [4.2.0] - 2025-10-13

espflash/src/target/mod.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -386,14 +386,14 @@ impl Chip {
386386
pub fn block0_offset(&self) -> u32 {
387387
match self {
388388
Chip::Esp32 => 0x0,
389-
Chip::Esp32c2 => 0x35,
390-
Chip::Esp32c3 => 0x2D,
389+
Chip::Esp32c2 => 0x2C,
390+
Chip::Esp32c3 => 0x2C,
391391
Chip::Esp32c5 => 0x2C,
392392
Chip::Esp32c6 => 0x2C,
393393
Chip::Esp32h2 => 0x2C,
394394
Chip::Esp32p4 => 0x2C,
395395
Chip::Esp32s2 => 0x2C,
396-
Chip::Esp32s3 => 0x2D,
396+
Chip::Esp32s3 => 0x2C,
397397
}
398398
}
399399

0 commit comments

Comments
 (0)