Skip to content

Releases: esp-rs/espflash

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 clap@4.0.x #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

1.3.0

18 Feb 19:27
Compare
Choose a tag to compare
  • Fallback serial port detection added for MUSL users
  • Allow for flashing when factory partition is not set (eg. OTA partitions)
  • Resolve various connection issues by fixing flasher::sync
  • Support for flashing devices via the built-in USB Serial JTAG peripheral
  • Allow for the passing of unstable Cargo options
  • Use the correct load address when creating a direct boot image
  • Handle the Interrupted system call error caused by resizing the terminal with a monitor open
  • Remove deprecated --board-info option (use subcommand instead)
  • Update all dependencies to newest versions

1.2.0

15 Dec 18:17
Compare
Choose a tag to compare
  • Unify cli options between cargo espflash and espflash commands
  • Add support for flashing to ESP32-S3 devices
  • Allow specifying build target as command line argument
  • Auto detect serial port if none is provided
  • Allow specifying package to use when running from a cargo workspace
  • Improved reliability for connecting to devices
  • Improved support of partition table format