From 4245a2ecc029f2908970ce3074113603acf1eae7 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Fri, 4 Sep 2026 19:52:05 -0700 Subject: pos: offer "Flash latest release" from a published firmware manifest Host the ESP32-C3 firmware under static/firmware (bootloader, partition table, boot_app0, app) with a manifest.json written by coinos-pos's publish.sh. The flasher fetches the manifest, downloads every part, verifies sizes, flashes them at their offsets and resets the device. The config partition is not in the manifest so credentials survive. Manual .bin upload stays available underneath. Co-Authored-By: Claude Fable 5.1 Claude-Session: https://claude.ai/code/session_014gVYGi29FjTeLdNTiutkZx --- static/firmware/manifest.json | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 static/firmware/manifest.json (limited to 'static/firmware/manifest.json') diff --git a/static/firmware/manifest.json b/static/firmware/manifest.json new file mode 100644 index 00000000..2ddcf9cc --- /dev/null +++ b/static/firmware/manifest.json @@ -0,0 +1,12 @@ +{ + "version": "2026.09.04-0ec9bae", + "commit": "0ec9bae", + "built": "2026-09-05T02:51:16Z", + "chip": "ESP32-C3", + "parts": [ + { "path": "/firmware/bootloader.bin", "address": 0, "size": 18688 }, + { "path": "/firmware/partitions.bin", "address": 32768, "size": 3072 }, + { "path": "/firmware/boot_app0.bin", "address": 57344, "size": 8192 }, + { "path": "/firmware/coinos-pos.bin", "address": 65536, "size": 1298928 } + ] +} -- cgit v1.2.3