mirror of
https://github.com/esp-rs/espflash.git
synced 2026-04-08 15:45:18 +00:00
9b2c5ef69ca3247409863a33336cfbc3193800fa
add support for flashing direct-boot images to esp32c3
ESPFlash
ESP8266 and ESP32 family serial flasher based on esptool.py.
Status
Flashing should work for ESP32, ESP32-S2, ESP32-C3, 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%