JavaScript package to install firmware on ESP devices via the browser using WebSerial.
WebSerialを使ってブラウザ経由でESPデバイスにファームウェアをインストールするJavaScriptパッケージ。
https://jt-webflash.yozolab.net/
- Clone this repository.
- Install dependencies with
npm install
- Run
script/develop
- Open http://localhost:5004/
- Clone this repository.
- Install dependencies with
npm install
- Run
script/develop.ps1
- Open http://localhost:5004/
Adafruit WebSerial ESPToolの元リポジトリの説明
This project was originally written by Melissa LeBlanc-Williams. Nabu Casa ported the code over to TypeScript and in March 2022 took over maintenance from Adafruit. In July 2022, the Nabucasa stopped maintaining the project in favor of an official, but very early release of Espressif's esptool-js. Due to the instability of the tool, Adafruit updated their fork with Nabucasa's changes in November 2022 and took over maintenance once again.
A live copy of the tool is hosted here: https://adafruit.github.io/Adafruit_WebSerial_ESPTool/
私のSlimeVRトラッカーFWの更新をより楽にするために見つけ、それ専用に改造したリポジトリです。
あらかじめFWを開発者側で用意しておき、リスト化することで簡単にFWの更新が簡単になります。 もともとESPWebToolsで実装予定でしたが、ESP32C3のオンボードシリアルコンバーターが悪さしてアップロードできなかったのでAdafruit_WebSerial_ESPToolを利用しました
PlatformIOの拡張機能アイコンを押し、そのメニューの中からAdvanced/Verbose Uploadを選択すると、一通りビルドが終わったあとにこのようなログが現れるはずです。
このログを見てみると、それぞれ
- 0x0000
- bootloader.bin
- 0x8000
- partitions.bin
- 0xe000
- boot_app0.bin
- 0x10000
- firmware.bin
という構成になっているのがわかります。 これらをすべての.binを一つのフォルダにまとめ、それがどのFWなのかわかるようにフォルダ名を変更します(例:Firmware/JT-V0.5.0-sfusion-tuned-mbe)
このリポジトリにあるFirmware/config.jsonを見てもらえばわかると思う...!説明がむずい!めんどくさい!
これで終わりっ!