Frank
29d2f7fc1b
debug print for decodeFrame error codes
2025-11-09 19:06:59 +01:00
Will Tatam
7aedf77d83
Merge pull request #4984 from wled/copilot/fix-d4f5fc55-f916-458a-9155-deb9bbff6662
...
Add ESP32 bootloader upgrade capability to OTA update page with JSON API support and ESP-IDF validation
2025-11-09 17:28:39 +00:00
Frank
1324d49098
revert smaller gif size limits for board without PSRAM
...
see discussion in PR#5040
2025-11-09 18:28:12 +01:00
Frank
79a52a60ff
small optimization: fast 2D drawing without scaling
...
for 2D segments, setPixelColorXY() should be used because it is faster than setPixelColor().
2025-11-09 18:14:50 +01:00
Frank
6581dd6ff9
add blur option
2025-11-09 17:33:04 +01:00
Frank
4659939547
error handling and robustness improvements
...
* catch some error that would lead to undefined behavior
* additional debug messages in case of errors
* robustness: handle OOM exception from decoder.alloc() gracefully
2025-11-09 17:29:56 +01:00
Will Tatam
50d33c5bf4
Only supports ESP32 and ESP32-S2
2025-11-09 14:20:30 +00:00
Will Tatam
c7c379f962
match all esp32 types
2025-11-09 13:24:15 +00:00
Will Tatam
af8c851cc6
Privilege checks must run before bootloader init
2025-11-09 12:18:16 +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
abfe91d47b
tidy up imports in wled_server.cpp
2025-11-09 11:31:56 +00:00
Will Tatam
a4109c7ea8
tidy up merge conflict on update.htm
2025-11-09 11:28:30 +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 Tatam
95611f19c0
Improve error handling
2025-11-09 10:14:17 +00:00
Will Tatam
b98ee3e7b6
remove duplicate updatebootloader handler
2025-11-09 09:53:05 +00:00
Will Tatam
90d4dd79de
remove duplicate call for validation - isValidBootloader
2025-11-09 09:52:50 +00:00
Will Tatam
00904d8862
Merge branch 'copilot/fix-d4f5fc55-f916-458a-9155-deb9bbff6662' of https://github.com/wled/WLED into copilot/fix-d4f5fc55-f916-458a-9155-deb9bbff6662
2025-11-09 09:18:00 +00:00
copilot-swe-agent[bot]
2e7b6b79bf
Initial plan
2025-11-09 09:17:06 +00:00
copilot-swe-agent[bot]
104d2ae7e8
Initial plan
2025-11-09 09:17:06 +00:00
copilot-swe-agent[bot]
f1242bfb7a
Initial plan
2025-11-09 09:17:06 +00:00
copilot-swe-agent[bot]
aef5e9691c
Initial plan
2025-11-09 09:17:06 +00:00
copilot-swe-agent[bot]
3d9012b43a
Initial plan
2025-11-09 09:17:06 +00:00
copilot-swe-agent[bot]
3c5df5ae66
Initial plan
2025-11-09 09:17:06 +00:00
copilot-swe-agent[bot]
520f1f884b
Enhance bootloader validation to match esp_image_verify() checks comprehensively
...
Co-authored-by: netmindz <442066+netmindz@users.noreply.github.com >
2025-11-09 09:17:06 +00:00
copilot-swe-agent[bot]
8fc33fd7b1
Add ESP-IDF bootloader image validation before flash operations
...
Co-authored-by: netmindz <442066+netmindz@users.noreply.github.com >
2025-11-09 09:17:06 +00:00
copilot-swe-agent[bot]
9e0f7ec4e9
Refactor bootloader upload to buffer entire file in RAM before flash operations
...
Co-authored-by: netmindz <442066+netmindz@users.noreply.github.com >
2025-11-09 09:17:06 +00:00
Will Tatam
00ca694eea
Fix: Move bootloader JavaScript to separate script block to avoid GetV() injection removal
...
Co-authored-by: netmindz <442066+netmindz@users.noreply.github.com >
2025-11-09 09:16:59 +00:00
copilot-swe-agent[bot]
c91a39f55c
Fix: Cast min() arguments to size_t for ESP32-C3 compatibility
...
Co-authored-by: netmindz <442066+netmindz@users.noreply.github.com >
2025-11-09 09:15:36 +00:00
copilot-swe-agent[bot]
ffc7b66c20
Fix: Remove static keyword from getBootloaderSHA256Hex() to match declaration
...
Co-authored-by: netmindz <442066+netmindz@users.noreply.github.com >
2025-11-09 09:15:36 +00:00
copilot-swe-agent[bot]
94bea4405a
Improve bootloader flash implementation with proper erase and write operations
...
Co-authored-by: netmindz <442066+netmindz@users.noreply.github.com >
2025-11-09 09:15:36 +00:00
copilot-swe-agent[bot]
2963c1b761
Add esp_flash.h include for ESP32 bootloader flash operations
...
Co-authored-by: netmindz <442066+netmindz@users.noreply.github.com >
2025-11-09 09:15:36 +00:00
Will Tatam
013ecfb189
Add ESP32 bootloader upgrade functionality with JSON API support
...
Co-authored-by: netmindz <442066+netmindz@users.noreply.github.com >
2025-11-09 09:15:23 +00:00
copilot-swe-agent[bot]
670f74d589
Initial plan
2025-11-09 09:10:36 +00:00
copilot-swe-agent[bot]
d475d21a79
Initial plan
2025-11-09 09:08:11 +00:00
copilot-swe-agent[bot]
91349234a0
Initial plan
2025-11-09 09:08:11 +00:00
copilot-swe-agent[bot]
601bb6f0ca
Initial plan
2025-11-09 09:08:11 +00:00
Will Tatam
07e26d31f4
fix ESP32_DEBUG
2025-11-09 09:08:11 +00:00
copilot-swe-agent[bot]
151acb249e
Initial plan
2025-11-09 09:08:11 +00:00
Will Tatam
25d5295d5d
Merge pull request #5023 from DedeHai/matrix_save_fix
...
fix timing issue when changing 1D <-> 2D credits to @blazoncek
2025-11-09 08:13:22 +00:00
Will Tatam
474a995845
Merge pull request #5031 from wled/add-check-diff
...
Add segment checkmarks to `differs()` check
2025-11-09 08:03:10 +00:00
Damian Schneider
f0f12e77ad
New file editor ( #4956 )
...
- no mendatory external JS dependency, works in offline mode
- optional external dependency is used for highlighting JSON, plain text edit is used if not available
- WLED styling (dark mode only)
- JSON files are displayed "prettyfied" and saved "minified"
- JSON color highlighting (if available)
- JSON verification during edit and on saving both in online and offline mode
- special treatment for ledmap files: displayed in aligned columns (2D) or as lines (1D), saved as minified json: no more white-space problems
- displays file size and total flash usage
2025-11-09 08:32:45 +01:00
Will Miles
5bf1fc38b1
Implement correct update version check
2025-11-08 19:18:27 -05:00
Will Miles
d55a3f078a
Add source version check to OTA update
...
Add a field to the OTA metadata structure indicating the oldest base
version it's safe to install this update /from/. This provides a clear
path forward in case there are incompatibilities, eg. some case
(bootloader compatibility) where 0.16.0 cannot be installed safely from
0.15.2, but a transitional 0.15.3 can arrange the groundwork.
2025-11-08 19:00:57 -05:00