diff options
| author | Luke Hoersten <[email protected]> | 2026-06-20 13:03:23 -0500 |
|---|---|---|
| committer | Luke Hoersten <[email protected]> | 2026-06-20 13:03:23 -0500 |
| commit | 175dd50ba2a2a6c8d033a9fd4e91f4823f9e210a (patch) | |
| tree | 2f41235b0a4792822f737953e6fa553383a7bd36 /main/viewport_state.h | |
| parent | 3729f04458e358fab7872b9590d9fdb012f5ddf9 (diff) | |
firmware: OTA firmware updates via POST /firmware + rollback
Streams the raw .bin to the inactive ota_0/ota_1 slot via esp_ota_*, flips otadata, replies 200, reboots after 500 ms. Single-shot guarded by atomic_flag (409 on concurrent). CONFIG_BOOTLOADER_APP_ROLLBACK_ENABLE armed: new images boot pending-verify and ota_arm_healthy_timer marks them valid after 30 s of healthy uptime; otherwise the bootloader reverts on next reset. /state gains ota_state.
Diffstat (limited to 'main/viewport_state.h')
| -rw-r--r-- | main/viewport_state.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/viewport_state.h b/main/viewport_state.h index 165d1a7..730767c 100644 --- a/main/viewport_state.h +++ b/main/viewport_state.h @@ -3,7 +3,7 @@ #include <stdbool.h> #include <stdint.h> -#define VIEWPORT_VERSION "1.1.0" +#define VIEWPORT_VERSION "1.2.0" #define VIEWPORT_PANEL_WIDTH 800 #define VIEWPORT_PANEL_HEIGHT 480 |
