Commit Graph

6415 Commits

Author SHA1 Message Date
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
Will Miles
46125773d9 Merge pull request #4998 from willmmiles/fix-4929-sq
Add OTA metadata validation v2
2025-11-08 17:41:42 -05:00
Will Tatam
ec61a35042 fix ESP32_DEBUG 2025-11-08 21:21:32 +00:00
copilot-swe-agent[bot]
1afd72cb83 Initial plan 2025-11-08 19:03:17 +00:00
Will Tatam
c623b82698 improve esp32_dev env 2025-11-08 19:03:17 +00:00
Will Tatam
acd415c522 fix release name for esp32 2025-11-08 19:03:17 +00:00
Will Tatam
5fb37130f8 Include esp32 debug build 2025-11-08 19:03:17 +00:00
Will Tatam
8e00e7175c Include audioreactive for hub75 examples - MOONHUB audio 2025-11-08 19:03:17 +00:00
Will Tatam
0f06535932 Include audioreactive for hub75 examples 2025-11-08 19:03:17 +00:00
Damian Schneider
46ff43889b check config backup as welcome page gate 2025-11-08 19:03:17 +00:00
Damian Schneider
7e1992fc5c adding function to check if a backup exists 2025-11-08 19:03:17 +00:00
Brandon502
0391488cef Game of Life Optimizations
Adjust mutation logic. Use 1D get/set. Reduce code size.
2025-11-08 19:03:17 +00:00
Brandon502
eb80fdf733 Game of Life Rework
RAM and speed optimizations. Better repeat detection. Mutation toggle. Blur option added.
2025-11-08 19:03:17 +00:00
Damian Schneider
4973fd5a39 Adding DDP over WS, moving duplicate WS-connection to common.js (#4997)
- Enabling DDP over WebSocket: this allows for UI or html tools to stream data to the LEDs much faster than through the JSON API.
- first byte of data array is used to determine protocol for future use
- Moved the duplicate function to establish a WS connection from the live-view htm files to common.js
- add better safety check for DDP: prevent OOB reads of buffer
2025-11-08 19:03:17 +00:00
Benjam Welker
1dd338c5e0 Fix blank area issue with Twinkle (#5005)
* Fix blank area issue with Twinkle
2025-11-08 19:03:17 +00:00
Damian Schneider
186c4a7724 fix low brightness gradient "jumpyness"
during testing at low brightness I noticed that gradients can be "jumping" in colors quite wildly, turning a smooth gradient into a flickering mess. This is due to the color hue preservation being inaccurate and a bit too aggressive. This can be seen for example using a gradient palette and "Running" FX.
Removing the hue preservation completely fixes it but leaves color artefacts for example visible in PS Fire at very low brightness: the bright part of the flames gets a pink hue. This change is a compromise to fix both problems to a "good enough" state
2025-11-08 19:03:17 +00:00
Damian Schneider
f0182eb1b2 safety check for bootloop action tracker: bring it back on track if out of bounds 2025-11-08 19:03:17 +00:00
wled-compile
2acf731baf Update platformio.ini
esp32dev_8M: add flash_mode
2025-11-08 19:03:17 +00:00
copilot-swe-agent[bot]
e2b8f91417 Reference Hardware Compilation section for common environments list
Co-authored-by: netmindz <442066+netmindz@users.noreply.github.com>
2025-11-08 19:03:17 +00:00
copilot-swe-agent[bot]
5f33c69dd0 Fix copilot-instructions.md to require mandatory build validation
Co-authored-by: netmindz <442066+netmindz@users.noreply.github.com>
2025-11-08 19:03:17 +00:00
copilot-swe-agent[bot]
76bb3f7d77 Initial plan 2025-11-08 19:03:17 +00:00