Files
espflash/README.md
Robin Appelman fc84c40605 update readme
2020-09-05 00:18:04 +02:00

799 B

ESPFlash

ESP8266 and ESP32 serial flasher

Status

Flashing should work for both ESP32 and ESP8266.

If you're have an elf file that flashes correctly with esptool.py but not with this tool than please open an issue with the elf in question.

Usage

espflash [--ram] <path to serial> <path to elf image>

when the --ram option is specified, the provided elf image will be loaded into ram and executed without touching the flash.

As cargo runner

You can also use espflash as a cargo runner by setting

[target.'cfg(all(target_arch = "xtensa", target_os = "none"))']
runner = "espflash --ram /dev/ttyUSB0"

in your .cargo/config. Which then allows you to run your project using xargo run.

License

Licensed under the GNU General Public License Version 2.