feat(v2): OTA firmware update over Ethernet

POST /ota writes the image to the idle app slot and reboots; GET /ota
reports the running slot. App rollback is enabled, and a new image confirms
itself after 10 s. Adds make ota HOST=<ip>, tools/ota.py and the led-tool
--ota update.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
jimmyandClaude Sonnet 5.5 committed 2026-11-01 00:22:55 +13:00
1 parent 8d78af1246
commit 6c16998691
8 files changed
+212 -4

No files matched your search

+2
View File
@@ -16,3 +16,5 @@ CONFIG_FREERTOS_HZ=1000
CONFIG_ESP_WIFI_ESPNOW_MAX_ENCRYPT_NUM=7
CONFIG_ESPNOW_CHANNEL=5
CONFIG_BEAT_TEST_GPIO=4
# A new OTA image must confirm itself (ota_confirm_later) or the bootloader goes back to the old one
CONFIG_BOOTLOADER_APP_ROLLBACK_ENABLE=y