Commit Graph

5370 Commits

Author SHA1 Message Date
Frank Möhle
de53f61a37 Update package-lock.json version to 0.15.5-beta
align with package.json
2026-03-22 00:06:59 +01:00
Frank
ad32bbb5ab bugfix: right shift on signed char is unsafe
Fix signed-byte handling in SHA256 hex conversion.

When bootloaderSHA256Cache bytes >= 0x80 are assigned to a signed char, they sign-extend to negative values. Right-shifting negative values produces incorrect results (e.g., 0xFF becomes -1, which shifts incorrectly). This causes wrong hex digit output for non-ASCII hash bytes.
2026-03-21 16:11:34 +01:00
Will Tatam
c522807c5a Backport use report https://github.com/wled/WLED/pull/5172 2026-03-14 11:55:53 +00:00
Will Tatam
266a6c49e8 0.15.5-beta 2026-03-14 11:19:14 +00:00
Will Tatam
64fd602121 0.15.4 2026-03-14 11:17:47 +00:00
Frank Möhle
ead2b29cf4 Info page: Total LEDs, GitHub repo, minor re-styling (#5418)
* Info page updates and minor re-styling
  * added GitHub repo (link)
  * added Total LEDs
  *  removed lwip major version on esp32
  * two horizontal lines for better readability

* add rel="noopener noreferrer" for improved security
  * When using target="_blank", it's a security best practice to include rel="noopener noreferrer" to prevent the new page from accessing window.opener.
2026-03-11 18:13:44 +01:00
Will Tatam
d10d4e717a Display relase on info page 2026-03-10 19:07:40 +00:00
Will Tatam
04a935eb4d Merge pull request #5214 from willmmiles/0_15-update-structure-check
Remove OTA metadata structure version block
2026-03-08 20:21:10 +00:00
Will Tatam
4edb91a8de Merge pull request #5410 from willmmiles/cleanup-bootloader-sha-0_15
Bootloader SHA fixes, 0.15 edition
2026-03-08 17:54:02 +00:00
Will Miles
6fc5a8bee8 Import memory check functions 2026-03-01 21:33:31 -05:00
Will Miles
a1511d778a ota_update: Shim IDFv4 flash API 2026-03-01 21:33:31 -05:00
Will Miles
daf92c0a0a Accept rabbit's fixes 2026-03-01 21:33:28 -05:00
Will Miles
ac59c83303 Disable boot loader debug prints 2026-03-01 21:32:20 -05:00
Frank Möhle
a344e15f59 Merge pull request #5396 from wled/bugfix_5391
avoid I2S resource conflict (aPLL) with ethernet - V4 builds only (fixes #5391)
2026-02-27 17:35:23 +01:00
Will Miles
5f7f0ca2bb Ensure bootloader hashes match
Ensure that our calculation function returns the same value as the
image internal hash.
2026-02-19 17:01:09 -05:00
Will Miles
75f5674ed9 Fix null test 2026-02-19 17:01:09 -05:00
Will Miles
aa685dc3b7 Stream bootloader size validation
Use a stateful object to allow bootloader size calculation to operate
on a stream of data blocks instead of requiring a single flat read.
This allows it to work when calculating the bootloader hash as well
as during update validation.

Co-authored-by: Codex <codex@openai.com>
2026-02-19 17:01:09 -05:00
Will Miles
0d6c46a9b4 Use bootloader size in hash calculation
Co-authored-by: Codex <codex@openai.com>
2026-02-19 17:01:07 -05:00
Will Miles
296414c5b6 Factor out bootloader size estimate
Co-authored-by: Codex <codex@openai.com>
2026-02-19 17:00:42 -05:00
Will Miles
8719436923 Bootloader upload validation cleanup
Co-authored-by: Codex <codex@openai.com>
2026-02-19 17:00:42 -05:00
Will Miles
5ffba047e0 Fix heap checks in bootloader update 2026-02-19 17:00:42 -05:00
Will Miles
e07c70efbd ota_update: Fix NRVO in getBootloaderSHA256Hex
h/t @coderabbitai
2026-02-19 17:00:42 -05:00
Will Miles
d2c90c0846 ota_update: Fix hex print 2026-02-19 17:00:42 -05:00
Will Miles
a1d8b59e0b ota_update: Clean up SHA API
Many of these functions are internal, and we can reduce RAM by caching
the binary value instead.
2026-02-19 17:00:42 -05:00
Damian Schneider
fd96254eaa WiFi scan fix for 0.15 and IDF V4 (#5359)
* backport of wifi scan fix

* ESP8266 compile fix
2026-02-09 21:04:40 +01:00
Frank
b8c1e5d349 fix wrong version in package-lock.json
the version in package.json was correct, looks like this place was overlooked.
2026-01-28 15:43:10 +01:00
Frank Möhle
dcba4ab036 Merge pull request #5323 from wled/ethernet_led_pin
Change default LED pin to 4 in esp32 ethernet builds and set AR default to "no mic" mode.
The "normal" default LED pin 16 is conflicting with pins needed by many ethernet boards, which can cause random crashes.
2026-01-28 15:34:34 +01:00
Frank
1d3aed1351 Merge pull request #5276 from wled/fix_5275_part1
prevent file data loss due to replacing an open file handle (partial fix for #5275) - provides better protection again presets.json corruption.
2026-01-05 22:28:25 +01:00
Damian Schneider
a481bb2f6f fix FX checkmark sync (#5241)
this fixes an ancient copy-paste bug that apparently went under the radar for years. Now FX checkmarks sync correctly.
2025-12-29 14:54:09 +01:00
Will Miles
da25418d6d Remove OTA metadata structure version block
If we cap the acceptable version, it becomes impossible to increase it:
older firmwares will reject it.  Instead we must guarantee
backwards compatibility so long as the magic number is the same.
If a breaking change is required in the future, a new magic number
should be used to identify it.
2025-12-19 20:34:09 -05:00
Damian Schneider
8b6a57180e set unused segments to black (#5192)
0.15.1 introduced a new behaviour on how "empty space" is treated. while it is technically correct, it is not user friendly and is a breaking change: all previous versions behaved differently and so does 0.16.
2025-12-16 22:38:41 +01:00
Will Tatam
78ad2fc9fb Merge pull request #5156 from Aogu181/main
Add Gledopto Series With Ethernet
2025-12-13 12:40:10 +00:00
Will Tatam
5257007ae3 0.15.4-beta 2025-12-04 18:07:17 +00:00
Will Tatam
58a84b6536 0.15.3 v0.15.3 2025-12-04 18:02:57 +00:00
Frank
d9831f6335 AR bugfix
prevents crash in case that audioSource creation (audio startup) failed
2025-12-02 22:58:44 +01:00
Will Tatam
8ac5b44a5b Merge pull request #5148 from willmmiles/0_15-npb-894
0.15 - Replace #5138 with upstream NeoPixelBus fix
2025-12-02 08:07:14 +00:00
Will Miles
5e92d231b6 Update NeoPixelBus with DMA fix
Includes bonus fix for ESP32 DMA driver, too!
Replaces #5139.
2025-12-01 21:52:56 -05:00
Will Miles
6d6cd60f78 Revert "Fix ESP8266 DMA off-by-one"
This reverts commit 4995f05063.
2025-12-01 21:52:21 -05:00
Will Tatam
95849e9677 Merge pull request #5139 from willmmiles/0_15_esp8266-dma-fix
Backport fix ESP8266 DMA off-by-one to 0.15
2025-12-01 08:30:01 +00:00
Will Miles
4995f05063 Fix ESP8266 DMA off-by-one
Shim in https://github.com/Makuna/NeoPixelBus/pull/894 until approved by
upstream.  Fixes #4906 and #5136.
2025-11-30 22:16:01 -05:00
Will Tatam
a9a2b83ecb 0.15.3-beta 2025-11-29 16:23:46 +00:00
Will Tatam
fe1481651e 0.15.2 v0.15.2 2025-11-29 16:22:02 +00:00
Will Tatam
d43e05605c fix loading version-info to use older edit api 2025-11-29 16:21:42 +00:00
Will Tatam
071622c7b9 Merge pull request #5097 from netmindz/no-dmx-ar-conflict_0_15
fix for #4298 - no conflict with DMX output - backport
2025-11-29 16:08:41 +00:00
Will Tatam
da2547e8e5 Merge pull request #5084 from DedeHai/fix_LEDtype_selection_015
Dynamic LED type selection, backport to 0.15
2025-11-29 16:07:45 +00:00
Will Tatam
53b88ca6ca Merge pull request #5126 from wled/copilot/backport-version-reporting-0-15-x
Backport version reporting (PR #5093 and #5111) to 0.15.x
2025-11-29 15:18:11 +00:00
Will Tatam
a3741656cd Fix version checking for chip_info.full_revision
# Conflicts:
#	wled00/util.cpp
2025-11-29 15:11:41 +00:00
Frank
15317760b6 allow different bootloader sizes for each MCU
not needed yet, but will make maintenance easier in the future, and avoid confusion.
2025-11-29 01:58:57 +01:00
Frank
f9e72f9a55 fix over-protective ESP_IDF_VERSION check 2025-11-29 01:24:45 +01:00
Frank
7a5c6f9c11 use esp_flash_read for S3, S2, C3 2025-11-29 01:24:16 +01:00