mirror of
https://github.com/esp-rs/espflash.git
synced 2026-03-14 01:47:47 +00:00
ESPFlash
ESP8266 and ESP32 serial flasher based on esptool.py.
Status
Flashing should work for both ESP32 and ESP8266.
If you have an ELF file that flashes correctly with esptool.py but not with this tool then please open an issue with the ELF in question.
Quickstart - Docker
The docker image esprs/espflash contains all necessary toolchains and tooling including espflash to build and flash.
To clone, build and flash the esp32-hal examples run the following:
git clone https://github.com/esp-rs/esp32-hal
cd esp32-hal
docker run -v "$(pwd):/espflash" --device=/dev/ttyUSB0 -ti esprs/espflash --release --tool=cargo --example=blinky /dev/ttyUSB0
Custom Docker Build
git clone --depth 1 https://github.com/esp-rs/espflash.git
cd espflash
docker build -t esprs/espflash .
Description
Languages
Rust
99.9%