Commit Graph

15 Commits

Author SHA1 Message Date
Frank
a0eec81c8a allow different bootloader sizes for each MCU
not needed yet, but will make maintenance easier in the future, and avoid confusion.
2025-12-01 11:13:18 +01:00
Frank
9eda32b93a add bootloader offsets for -C3, S3, and some future MCU's 2025-12-01 11:11:10 +01:00
Damian Schneider
194829336f Fix OTA update for C3 from 0.15 (#5072)
* change C3 to DIO, add explicit QIO env for C3, add markOTAvalid() to support OTA from 0.15
2025-11-15 07:41:11 +01:00
Will Tatam
50d33c5bf4 Only supports ESP32 and ESP32-S2 2025-11-09 14:20:30 +00:00
Will Tatam
88466c7d1f Truncated bootloader images slip through verification and get flashed 2025-11-09 12:14:32 +00:00
Will Tatam
a36638ee6d Stop processing once an error is detected during bootloader upload 2025-11-09 12:04:56 +00:00
Will Tatam
ff93a48926 optimise fetching of bootloaderSHA256 2025-11-09 11:57:41 +00:00
Will Tatam
9474c29946 single definition of BOOTLOADER_OFFSET 2025-11-09 11:53:42 +00:00
Will Tatam
8097c7c86d refactor current bootloader reading out of the server ino ota 2025-11-09 11:41:51 +00:00
Will Tatam
34445dbe0f working upgrade! (for esp32 classic) 2025-11-09 11:17:59 +00:00
Will Tatam
c5631b8fe3 remove null checks 2025-11-09 10:33:32 +00:00
Will Tatam
4cddd3face refactor bootloader update to pattern used by main ota update 2025-11-09 10:29:16 +00:00
Will Tatam
5250a0fe2c move verifyBootloaderImage to ota_update 2025-11-09 10:21:39 +00:00
Will Miles
5ca10f35d1 Process metadata only in metadata.cpp
Improves cache utilization as fewer things are passed via CFLAGS to
all files.  In the event that no metadata is available, let the cpp
file handle warning about default usage.
2025-10-06 21:52:16 -04:00
copilot-swe-agent[bot]
a073bf32e4 Implement OTA release compatibility checking system
Implement a comprehensive solution for validating a firmware before an
OTA updated is committed.  WLED metadata such as version and release
is moved to a data structure located at near the start of the firmware
binary, where it can be identified and validated.

Co-authored-by: netmindz <442066+netmindz@users.noreply.github.com>
2025-10-06 21:50:23 -04:00