Skip to content

Releases: esp-rs/espflash

2.0.0-rc.4

08 Jun 13:55
Compare
Choose a tag to compare

Added

  • 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)

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 Interface constructor public (#354)
  • Update stubs from esptool v4.5 (#359)
  • Update documentation (#368)
  • Update toml dependency and fix errors, feature gate ctrlc 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 to 0.25.0 (#418)
  • Update the supported targets for ESP32-C6/H2 (#424)
  • Update flasher stubs and bootloaders (#426)

2.0.0-rc.3

12 Jan 16:36
Compare
Choose a tag to compare
  • 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

07 Dec 11:32
Compare
Choose a tag to compare
  • Add option to supply the ELF image path in the monitor subcommand #292
  • 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
  • Fix typo in ImageFormatKind's FromStr implementation #308
  • Add support for using custom cargo metadata when in a workspace #300

2.0.0-rc.1

07 Nov 17:58
Compare
Choose a tag to compare
  • 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 espmonitor dependency 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

16 Sep 16:33
Compare
Choose a tag to compare

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

  • Fix direct-boot image check for ESP32-S3 #207
  • Consistently support binary partition tables #212
  • Fix sync behavior #217
  • Don't use canonicalized strings on Windows #218
  • Wait for FlashDeflateEnd ack #223
  • Fix workaround causing corruption of segment length #226

1.6.0

11 Jul 16:57
Compare
Choose a tag to compare
  • Add support for flashing from WSL2 (no support for USB Serial JTAG) #179
  • Add --locked and --frozen options #180
  • Detect the bootloader and partition table from ESP-IDF when able #186
  • Pass-through --target-dir to cargo #187
  • Add write-bin-to-flash subcommand #194
  • Add support for flashing the ESP32-C2 (aka ESP8684) #204
  • Add serial-monitor subcommand #205
  • Various bugfixes

1.5.1

20 May 11:57
Compare
Choose a tag to compare
  • Fix the save-image subcommand for espflash - a09ba95

1.5.0

11 May 15:07
Compare
Choose a tag to compare
  • Release artifacts built for additional targets, installable via cargo-binstall
  • Fixes a bug when passing multiple features, causing them to be improperly processed #162
  • Update the --merge option of the save-image subcommand to behave in a more expected way #160
  • Fix a bug where the RTC watchdog timer was not disabled on reset when using USB Serial JTAG, resulting in flashing failures #169
  • Add a partition-table subcommand which allows conversion between CSV/binary and viewing of partition tables on the command-line #172

1.4.1

19 Apr 17:38
Compare
Choose a tag to compare
  • Fixes reset sequence when flashing via the USB-Serial-JTAG peripheral (ESP32-C3 only)
  • Fixes a bug which caused valid partition table files to be rejected when specified via cargo package metadata

1.4.0

06 Apr 17:09
Compare
Choose a tag to compare
  • Fix a logical error which prevented the use of the board-info subcommand when using espflash
  • Improvements made to serial port related errors to make the actual problem more clear
  • Allow for the modification of the application firmware header
    • Can now set the flash frequency, size, and mode via the command line
  • Use the espmonitor library for our serial monitor
  • Default app partition size is now scaled with flash size
  • Add an option to the save-image subcommand to merge all binaries into a single file, allowing for use with QEMU
  • Update serialport and all other outdated dependencies
    • This should resolve issues when using macOS Monterrey and/or M1