Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ 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)
- Corrected eFuse block sizes for ESP32-C2, ESP32-C3, and ESP32-S3 (#964)

### Removed

Expand Down
2 changes: 1 addition & 1 deletion espflash/src/target/efuse/esp32c2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
use super::EfuseField;

/// Total size in bytes of each block
pub(crate) const BLOCK_SIZES: &[u32] = &[8, 11, 32, 32];
pub(crate) const BLOCK_SIZES: &[u32] = &[12, 12, 32, 32];

/// Disable programming of individual eFuses
pub const WR_DIS: EfuseField = EfuseField::new(0, 0, 0, 8);
Expand Down
2 changes: 1 addition & 1 deletion espflash/src/target/efuse/esp32c3.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
use super::EfuseField;

/// Total size in bytes of each block
pub(crate) const BLOCK_SIZES: &[u32] = &[23, 24, 32, 32, 32, 32, 32, 32, 32, 32, 32];
pub(crate) const BLOCK_SIZES: &[u32] = &[24, 24, 32, 32, 32, 32, 32, 32, 32, 32, 32];

/// Disable programming of individual eFuses
pub const WR_DIS: EfuseField = EfuseField::new(0, 0, 0, 32);
Expand Down
2 changes: 1 addition & 1 deletion espflash/src/target/efuse/esp32s3.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
use super::EfuseField;

/// Total size in bytes of each block
pub(crate) const BLOCK_SIZES: &[u32] = &[23, 24, 32, 32, 32, 32, 32, 32, 32, 32, 32];
pub(crate) const BLOCK_SIZES: &[u32] = &[24, 24, 32, 32, 32, 32, 32, 32, 32, 32, 32];

/// Disable programming of individual eFuses
pub const WR_DIS: EfuseField = EfuseField::new(0, 0, 0, 32);
Expand Down
Loading