Skip to content

Commit 50b42d5

Browse files
Address minor feedback things of rc.1 (#589)
* feat: Update log message for skipping segments * docs: Update changelog
1 parent 7fad99d commit 50b42d5

File tree

2 files changed

+17
-2
lines changed

2 files changed

+17
-2
lines changed

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,16 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [Unreleased]
9+
10+
### Added
11+
12+
### Fixed
13+
14+
### Changed
15+
16+
### Removed
17+
818
## [3.0.0-rc.1] - 2024-02-16
919

1020
### Added
@@ -47,6 +57,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
4757

4858
### Removed
4959

60+
- Remove support for Cargo metadata configuration (#551)
5061
- Remove support for the ESP8266 (#576)
5162
- Remove the direct boot image format (#577)
5263
- Remove support for Raspberry Pi's internal UART peripherals (#585)
@@ -204,6 +215,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
204215

205216
## [1.0.0] - 2021-09-21
206217

218+
[Unreleased]: https://github.com/esp-rs/espflash/compare/v3.0.0-rc.1...HEAD
207219
[3.0.0-rc.1]: https://github.com/esp-rs/espflash/compare/v2.1.0...v3.0.0-rc.1
208220
[2.1.0]: https://github.com/esp-rs/espflash/compare/v2.0.1...v2.1.0
209221
[2.0.1]: https://github.com/esp-rs/espflash/compare/v2.0.0...v2.0.1

espflash/src/targets/flash_target/esp32.rs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ use flate2::{
44
write::{ZlibDecoder, ZlibEncoder},
55
Compression,
66
};
7-
use log::debug;
7+
use log::info;
88
use md5::{Digest, Md5};
99

1010
#[cfg(feature = "serialport")]
@@ -155,7 +155,10 @@ impl FlashTarget for Esp32Target {
155155
})?;
156156

157157
if checksum_md5.as_slice() == flash_checksum_md5.to_be_bytes() {
158-
debug!("Skipping segment at address {:x}", addr);
158+
info!(
159+
"Segment at address '0x{:x}' has not changed, skipping write",
160+
addr
161+
);
159162
return Ok(());
160163
}
161164
}

0 commit comments

Comments
 (0)