diff --git a/CHANGELOG.md b/CHANGELOG.md index 36d9e9fb..1857a3f1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed +- Corrected eFuse BLOCK0 definitions for ESP32-C2, ESP32-C3, and ESP32-S3 (#961) + ### Removed ## [4.2.0] - 2025-10-13 diff --git a/espflash/src/target/mod.rs b/espflash/src/target/mod.rs index 9065db6b..101f5d90 100644 --- a/espflash/src/target/mod.rs +++ b/espflash/src/target/mod.rs @@ -386,14 +386,14 @@ impl Chip { pub fn block0_offset(&self) -> u32 { match self { Chip::Esp32 => 0x0, - Chip::Esp32c2 => 0x35, - Chip::Esp32c3 => 0x2D, + Chip::Esp32c2 => 0x2C, + Chip::Esp32c3 => 0x2C, Chip::Esp32c5 => 0x2C, Chip::Esp32c6 => 0x2C, Chip::Esp32h2 => 0x2C, Chip::Esp32p4 => 0x2C, Chip::Esp32s2 => 0x2C, - Chip::Esp32s3 => 0x2D, + Chip::Esp32s3 => 0x2C, } }