1. Merge the Binaries
ESP-IDF generates separate binaries for the bootloader, partition table, and the main application (which handles the touch display and NVS). To make it easy to flash via the web, these must be merged into a single payload.
Run the following command in your ESP-IDF project directory after a successful build:
idf.py merge-bin -o combined_firmware.bin
2. Update GitHub Pages
- Copy the newly generated
combined_firmware.bininto the root of this GitHub Pages repository. - Ensure the
manifest.jsonfile points to this binary (this is already set up to look forcombined_firmware.binat offset 0). - Commit and push the changes to your repository.
git add combined_firmware.bin
git commit -m "chore: update firmware image"
git push origin main
GitHub Actions will automatically deploy the updated binary to your static site. Once deployed, anyone using the flasher page will receive the newest version.