Releases: esp-rs/espflash
Releases · esp-rs/espflash
3.0.0-rc.1
Added
- Add reset strategies (#487)
- Read
esp-printlngenerateddefmtmessages (#466) - Add
--target-app-partitionargument to flash command (#461) - Add
--confirm-portargument to flash command (#455) - Add
--chip argumentfor flash and write-bin commands (#514) - Add
--partition-table-offsetargument for specifying the partition table offset (#516) - Add
SerializeandDeserializetoFlashFrequency,FlashModeandFlashSize(#528) - Add
checksum-md5command (#536) - Add verify and skipping of unchanged flash regions - add
--no-verifyand--no-skip(#538) - Add
--min-chip-revargument to specify minimum chip revision (#525) - Add
serialportfeature (#535) - Add support for 26 MHz bootloader for ESP32 and ESP32-C2 (#553)
- Add CI check to verify that CHANGELOG is updated (#560)
- Add
--beforeand--afterreset arguments (#561) - Add
read-flashcommand (#558)
Fixed
- Fix printing panic backtraces when using
esp-printlnanddefmt(#496) - Fix
defmtparsing when data is read in parts (#503) - Use partition table instead of hard-coded values for the location of partitions (#516)
- Fix a missed
flushcall that may be causing communication errors (#521) - Fix "SHA-256 comparison failed: [...] attempting to boot anyway..." (#567)
- Windows: Update RST/DTR order to avoid issues (#562)
- Tolerate non-utf8 data in boot detection (#573)
- Fix flash/monitoring of 26MHz targets (#584)
Changed
- Create
FlashData,FlashDataBuilderandFlashSettingsstructs to reduce number of input arguments in some functions (#512, #566) espflashwill now exit with an error ifdefmtis selected but not usable (#524)- Unify configuration methods (#551)
- Improved symbol resolving (#581)
- Update ESP32-C2 stub (#584)
- MSRV bumped to
1.74.0(#586)
Removed
2.1.0
2.0.1
2.0.0
2.0.0-rc.4
Added
- Add
ESPFLASH_PORTenvironment variable (#366) - Added ESP32-H2 support (#371)
- Generate Shell completions (#388)
- Make the default flashing frequency target specific (#389)
- Add note about permissions on Linux (#391)
- Add a diagnostic to tell the user about the partition table format (#397)
Fixed
- Fix
espflash::write_bin(#353) - Fix ESP32-C3 direct boot (#358)
- Disable watchdog timer before build (#363)
- Restore the cursor when exiting from serial port selection via Ctrl-C (#372)
- Fix chip revision check during flashing for the ESP8266 (#373)
- Fix config file parsing (#382)
- Limit default partition size (#398)
- Fix Windows installation (#399)
- Reword elf too big error (#400)
- Fix handling of serial ports on BSD systems (#415)
- Override the flash size in Flasher if provided via command-line argument (#417)
Changed
- Simplify and improve errors (#342)
- Make
Interfaceconstructor public (#354) - Update stubs from esptool v4.5 (#359)
- Update documentation (#368)
- Update
tomldependency and fix errors, feature gatectrlcdependency (#378) - If exactly one port matches, use it (#374)
- Image header improvements and bug fixes (#375)
- Update to the latest version of addr2line and address breaking changes (#412)
- Do not require the
--partition-tableargument when erasing partitions (#413) - Downgrade
crosstermto0.25.0(#418) - Update the supported targets for ESP32-C6/H2 (#424)
- Update flasher stubs and bootloaders (#426)
2.0.0-rc.3
- Various fixesand improvements relating to crystal frequency and serial monitor for the ESP32-C2 #314 #315 #330
- Add support for flashing the ESP32-C6 #317
- Reorder ports so that known ports appear first in CLI #324
- Make the flasher return a struct of device information instead of printing directly #328
- CLI improvements and dependency updates #334
- Use the flasher stub by default #337
- Mark public enums as
#[non_exhaustive]for semver compatibility #338 - If a bootloader and/or partition table other than the defaults have been provided, indicate such #339
- Add an optional callback trait which can be implemented and provided to most flashing functions #333
2.0.0-rc.2
- Add option to supply the
ELFimage path in the monitor subcommand #292 - Report the image and partition size in the error #293
- Allow
SerialPortType::PciPortduring port detection #295 - Update dependencies to their latest versions #299
- Clean up unused code, optimize comparison in
find_serial_port#302 - Make command module public #303
- Display the newer
v{major}.{minor}chip revision format #307 - Fix typo in
ImageFormatKind'sFromStrimplementation #308 - Add support for using custom cargo metadata when in a workspace #300
2.0.0-rc.1
- Redesign of the command-line interface #239
- Extract the partition table handling code into a separate package,
esp-idf-part#243 - A bunch of refactoring #246 #247 #249
- Updated to
[email protected]#251 - Replace the
espmonitordependency with our own home-grown monitor #254 - Use logging instead of
println!()#256 - Add support for erasing any partition #273
- Use newest bootloaders from ESP-IDF #278
- Various bugfixes, plenty of cleanup and simplification
- Improved documentation and testing
1.7.0
New
- Check if a new version if available upon invocation #214
- Enable support for loader stubs (via --use-stub arg) #216
- Add support for custom partition types and sub-types #220
- Add support for flashing S2 via CDC UART #228
- Add support for erasing otadata #229
- Allow skipping the padding for image files #230
- Check (and display) app vs partition size before flashing #232
- Add option --bin for choosing one binary when there are more than one binaries #233
- Relicense under MIT and Apache-2.0 #235
- Allow custom serial monitor baud option #238
Fixed
1.6.0
- Add support for flashing from WSL2 (no support for USB Serial JTAG) #179
- Add
--lockedand--frozenoptions #180 - Detect the bootloader and partition table from ESP-IDF when able #186
- Pass-through
--target-dirto cargo #187 - Add
write-bin-to-flashsubcommand #194 - Add support for flashing the ESP32-C2 (aka ESP8684) #204
- Add
serial-monitorsubcommand #205 - Various bugfixes