All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Added reset strategies (#487)
- Read esp-println generated defmt messages (#466)
- Add --target-app-partition argument to flash command (#461)
- Add --confirm-port argument to flash command (#455)
- Add --chip argument for flash and write-bin commands (#514)
- Fixed printing panic backtraces when using
esp-println
anddefmt
(#496) - Fixed defmt parsing when data is read in parts (#503)
2.1.0 - 2023-10-03
- Added erase-flash, erase-region, and erase-parts subcommands (#462)
- Fixed printing UTF-8 sequences that were read in multiple parts. (#468)
- Update dependencies to their latest versions (#482)
2.0.1 - 2023-07-13
- Add help text for all subcommands (#441)
- Update
cargo
dependency to 0.72 (#445)
- Explicitly set
bin_name
attribute forcargo-espflash
(#432)
2.0.0-rc.4 - 2023-06-08
- Add
ESPFLASH_PORT
environment 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)
- 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)
- Simplify and improve errors (#342)
- Make
Interface
constructor public (#354) - Update stubs from esptool v4.5 (#359)
- Update documentation (#368)
- Update
toml
dependency and fix errors, feature gatectrlc
dependency (#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-table
argument when erasing partitions (#413) - Downgrade
crossterm
to0.25.0
(#418) - Update the supported targets for ESP32-C6/H2 (#424)
- Update flasher stubs and bootloaders (#426)
2.0.0-rc.3 - 2023-01-12
- Add support for flashing the ESP32-C6 (#317)
- Add an optional callback trait which can be implemented and provided to most flashing functions (#333)
- Various fixesand improvements relating to crystal frequency and serial monitor for the ESP32-C2 (#314, #315, #330)
- 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)
2.0.0-rc.2 - 2022-12-07
- Add option to supply the
ELF
image path in the monitor subcommand (#292) - Add support for using custom cargo metadata when in a workspace (#300)
- Fix typo in
ImageFormatKind
'sFromStr
implementation (#308)
- Report the image and partition size in the error (#293)
- Allow
SerialPortType::PciPort
during 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)
2.0.0-rc.1 - 2022-11-07
- Add support for erasing any partition (#273)
- Various bugfixes, plenty of cleanup and simplification
- 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
clap@4.0.x
(#251) - Replace the
espmonitor
dependency with our own home-grown monitor (#254) - Use logging instead of
println!()
(#256) - Use newest bootloaders from ESP-IDF (#278)
- Improved documentation and testing