This repository contains a Javascript implementation of esptool, a serial flasher utility for Espressif chips adapted for Willow. Unlike the Python-based esptool, esptool-js
doesn't implement generation of binary images out of ELF files, and doesn't include companion tools similar to espefuse.py and espsecure.py.
esptool-js
is based on Web Serial API and works in Google Chrome and Microsoft Edge, version 89 or later.
We've added additional functionality for Willow to support:
- Generation and merge of NVS partition for Wifi and WAS settings
- Integration with your locally hosted WAS to pass your defined settings (minus Wifi PSK)
- Selection or automatic flashing of Willow releases
- Hardware selection
- Much more!
Willow users should visit our hosted site to flash their Willow devices. This repo is for developers who wish to deploy their own.
npm install
npm run build
python3 -m http.server 8008
Then open http://localhost:8008 in Chrome or Edge. The npm run build
step builds the bundle.js
used in the example index.html
.
The code in this repository is Copyright (c) 2021 Espressif Systems (Shanghai) Co. Ltd. It is licensed under Apache 2.0 license, as described in LICENSE file.