Version 2.7
Features
- New option
write_flash --flash-size keepwill keep whatever flash size is set in the bootloader header, matching the behaviour of--flash-mode keepand--flash-speed keep. The default is still--flash-size detectbut may be changed tokeepin a future major update, to be consistent with the other two options. write_flashno longer updates the flash header if the file being written to the bootloader offset isn't a valid image file for the chip. This is useful for flashing pre-encrypted data to ESP32s, where the image file contains ciphertext.- esptool now always prints the detected crystal frequency (26MHz or 40MHz) as part of general chip information, and will warn if the detected frequency deviates by an unexpected amount.
- Passing arguments to
main()from Python is now documented in the README (#408)
Bug Fixes/Changes
elf2image --sha256-offsetwill now only write the ELF SHA-256 to this offset if the existing data is all zeroes. Otherwise a warning is printed.- Improved the error message if esptool searches all serial ports and finds nothing. (#401)
ESP32 Only
Features
- New
write_flash --encryptoption that works with the new Development Mode flash encryption that will be the default flash encryption development workflow in ESP-IDF V4.0. espefuse.py summary --format jsonwill print a JSON dictionary of efuse summary data (#436)espefuse.pyburn commands now set the efuse timing before burning, in line with recent ESP32 TRM update.espsecure.pykey operations now support--keylenargument, allowing 192-bit keys for ESP32s with 3/4 Coding Scheme set.espsecure.pyencryption and decryption speed substantially improved. (#416)
Bug Fixes/Changes
FLASH_CRYPT_CNTefuse is now defined as 7 bits wide, as eight bit is not used by flash encryption hardware.
ESP8266 Only
Bug Fixes/Changes
- Flasher stub is now built with gcc 5.2.0 toolchain.
Thanks to @grandcat, @darkfader, @tim-nordell-nimbelink, @sbertrand-witekio, @marcelstoer, @eykamp, @cclauss for contributing to this release.