espuck

Release Management

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

  1. Copy the newly generated combined_firmware.bin into the root of this GitHub Pages repository.
  2. Ensure the manifest.json file points to this binary (this is already set up to look for combined_firmware.bin at offset 0).
  3. 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.