Commit Graph

6600 Commits

Author SHA1 Message Date
Frank Möhle
bae62d2caf Use C3 defaults for all new MCUs (C5, C6, P4) 2026-03-10 19:06:14 +01:00
Will Tatam
493f0fe952 Merge branch 'main' into V5 2026-03-08 16:21:55 +00:00
Will Tatam
5beafe0a7d Merge pull request #5403 from willmmiles/custom-usermods-better
custom_usermod improvements
2026-03-08 15:39:15 +00:00
Will Miles
7f44396f7f validate_modules: Support LTO
When LTO is enabled, the map file no longer provides a positive
indication of whether a given object file has contributed to the final
binary.  Instead use nm to parse the debug data in the .elf file.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-03-08 10:04:38 -04:00
Will Miles
1da5dc7d18 Merge pull request #5213 from willmmiles/update-source-version-check
Fix upward compatibility of OTA structure version check
2026-03-07 09:35:05 -05:00
Will Miles
05498f2ae4 Apply fixes from code review
h/t @coderabbitai
2026-03-06 23:21:04 -05:00
Damian Schneider
b07cd45642 Bugfix in PS particle size for advanced particles
perParticleSize was disabled by default which is wrong. Fixed some bugs regarding to this new parameter: it is now set by default in PS, adusted FX accordingly
2026-03-04 20:38:17 +01:00
BobLoeffler68
278a1fb6c1 Lava Lamp FX in the user_fx usermod (#5253)
* Added Lava Lamp effect to user_fx usermod
2026-03-04 10:05:52 +01:00
BobLoeffler68
0e1da4f004 Magma FX in the user_fx usermod (#5360)
* Added Magma effect to user_fx usermod

* Get color from current palette for lava bombs
2026-03-04 06:21:49 +01:00
BobLoeffler68
5f5f468983 Ants FX in the user_fx usermod (#5251)
* Added the Ants effect to the user_fx usermod
2026-03-03 17:13:55 +01:00
GLEDOPTO
c604b99a4c add 3 more standard buttons to ESP-NOW Remote (#5400)
maps codes 20, 21 and 22 to presets 5, 6 and 7
2026-03-03 13:18:39 +01:00
BobLoeffler68
5f28406f42 Morse Code FX in the user_fx usermod (#5252)
* Added Morse Code effect to the user_fx usermod

* Added a few comments

* Added punctuation and end-of-message codes, and changing them will force a re-draw.

* Fixed mode name in addEffect

* cosmetic changes

* * removed PROGMEM from letters and numbers arrays.
* changed 1024 to a constexpr named MORSECODE_MAX_PATTERN_SIZE.
* added MORSECODE_MAX_PATTERN_SIZE to build_morsecode_pattern().
* added boundary checked when adding patterns to the array.
*  changed code to allocate per-segment storage for pattern.

* More bounds checking added.

* Added a lookup table for punctuation morse codes.

* Removed PALETTE_MOVING_WRAP macro as it's not used in this effect.

* Moved all static variables to SEGENV.data

* Now using a bit array instead of a bool array

* added a check to see if the pattern is empty

* Added "color by word" option, moved Color modes to a slider and added a couple comments to top comment block.

* Removed return FRAMETIME

* A few changes suggested by coderabbit.

* A few changes suggested by coderabbit
2026-03-02 19:16:43 +01:00
gustebeast
bc229b8cb6 Add flashing effect on line clear in TetrisAI_v2. (#5320)
* Add flashing effect on line clear in TetrisAI_v2.
See https://imgur.com/1dsNCVd for a demo.

* Address feedback for tetris flashing effect.

* Address width == 32 case for isLineFull
2026-03-02 19:11:26 +01:00
gustebeast
5790309371 Introduce comet effect usermod with fire particle system (#5347)
* Introduce comet effect usermod with fire particle system

* Introduce comet effect usermod with fire particle system
2026-03-02 19:10:31 +01:00
Frank
e3bebc0674 build_unflags should always come from same origin as platform
fixes inconsistencies
2026-03-02 11:51:57 +01:00
Will Miles
210b4d8f54 Add external usermod example 2026-03-01 21:35:16 -05:00
Will Miles
19292675d8 Support lib_deps syntax in custom_usermods
Expand the parsing of custom_usermods to accept the same syntax as
lib_deps.  This allows external usermods to appear on the
custom_usermods lines.  Also includes comment handling.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-03-01 21:35:16 -05:00
Will Miles
ac1a4dfbfd validate_modules: Remove obsolete code 2026-03-01 19:27:14 -05:00
Frank
1f4cadc629 -alpha-V5 --> -alphaV5
version tag renaming
2026-03-01 23:31:04 +01:00
Frank
1a91db1f01 bugfix: prevent array bounds violations due to short WS payload data
Guard against zero-length binary payloads before dereferencing data[0] or data[1]
2026-03-01 22:35:41 +01:00
Frank
7fa15761ae bugfix: prevent array bounds violations due to short WS payload data
Guard against zero-length binary payloads before dereferencing data[0] or data[1]
2026-03-01 22:30:04 +01:00
Frank
80e81eeccc 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-01 22:10:11 +01:00
Frank
35d267109f 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-01 22:08:09 +01:00
Frank
8f44f1b395 bump build number to 2603011 2026-03-01 21:30:22 +01:00
Frank
19f7cb19a9 AsyncTCP @ 3.4.7 2026-03-01 21:29:52 +01:00
Frank
b4194b3a32 upgrade to latest V5 tasmota platform
solves "Don't know how to build from a source file with suffix `.o'." build errors
2026-03-01 21:05:44 +01:00
Will Tatam
6b7ecb969b Merge pull request #5401 from wled/dependabot/npm_and_yarn/minimatch-10.2.4
Bump minimatch from 10.2.2 to 10.2.4
2026-03-01 20:52:46 +01:00
Will Tatam
f1fe20d73e Merge pull request #5128 from willmmiles/cleanup-bootloader-sha
Cleanup bootloader SHA256 calculation from #4984
2026-03-01 20:52:09 +01:00
Will Tatam
4e81f272b8 Merge pull request #5393 from wled/dependabot/npm_and_yarn/multi-8e762eef80
Bump minimatch and nodemon
2026-03-01 20:52:09 +01:00
Will Tatam
b3e7e7e8c0 Merge pull request #5357 from netmindz/idf_4_4_8
Upgrade platform to 4.4.8
2026-03-01 20:52:09 +01:00
Will Miles
3bfbbab807 Formalize dynarray system
Break out the dynamic array macros to a re-usable component and fix
the implementation.
2026-02-28 22:47:48 -05:00
Will Miles
b97b46ae12 Use new section for dynamic arrays
Use a custom linker section to hold dynamic arrays such as the
usermod list.  This provides an extensible solution for wider use
in the future (such as FX or Bus drivers), as well as IDF v5
compatibility.
2026-02-28 22:47:48 -05:00
Frank
82723a03aa Update package-lock.json
align version with package.json
2026-02-28 21:23:17 +01:00
Frank Möhle
dcf0a2aaea Update package.json with SemVer compliant version string
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2026-02-28 21:08:55 +01:00
Frank
85cff89bf0 dependancies update
* switch to FastLED "no fastled" fork - removes RMT driver conflicts, reduces firmware size
* update to latest "CORE3" NeoPixelBus
2026-02-28 20:53:45 +01:00
Frank Möhle
26d2cc971a Merge pull request #5396 from wled/bugfix_5391
avoid I2S resource conflict (aPLL) with ethernet - V4 builds only (fixes #5391)
2026-02-27 17:30:23 +01:00
Will Tatam
3972b6e8fb Merge pull request #5401 from wled/dependabot/npm_and_yarn/minimatch-10.2.4
Bump minimatch from 10.2.2 to 10.2.4
2026-02-27 08:13:54 +00:00
dependabot[bot]
3116e88cdc Bump minimatch from 10.2.2 to 10.2.4
Bumps [minimatch](https://github.com/isaacs/minimatch) from 10.2.2 to 10.2.4.
- [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md)
- [Commits](https://github.com/isaacs/minimatch/compare/v10.2.2...v10.2.4)

---
updated-dependencies:
- dependency-name: minimatch
  dependency-version: 10.2.4
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-27 07:45:41 +00:00
Will Tatam
1c2f70598a Update version from 16.0-alpha to 16.0.0-alpha 2026-02-27 07:44:38 +00:00
Damian Schneider
1c8dd8ecd2 extended CCT blending: exclusive blend, bugfix in CCT calculation (fixes color jump) (#5382)
- negative blend values create "exclusive" zones where only one channel is on, blending happens in the center, total is always 255 (non additive)
- CCT from RGB has to be calculated from original color to be accurate
- Fixed CCT brightness ad calculate colorbalance before white
- allow new exclusive blending for 2-wire CCT
2026-02-26 10:42:19 +01:00
Will Tatam
55c4288cb6 Merge pull request #5128 from willmmiles/cleanup-bootloader-sha
Cleanup bootloader SHA256 calculation from #4984
2026-02-26 08:54:16 +00:00
Damian Schneider
536b40c6f1 Fix start & end of segment not "flowing" in Flow FX (#5392) 2026-02-26 09:07:37 +01:00
Frank
d3a8da212c UI improvement: PDM is not a standard I2S microphone
to avoid user confusion, UI now shows "PDM" instead of "I2S PDM"
2026-02-24 12:56:52 +01:00
Frank
522927ea94 fix for I2S ressource conflict with ethernet (aPLL) - V4 builds only
Don't use aPLL clock for I2S (and PDM) microphones.

Ethernet with internal RMII clock (typically on GPIO 0/16/17) uses the Audio PLL (APLL) to generate the 50 MHz reference clock for RMII.

see https://github.com/wled/WLED/issues/5391
2026-02-24 12:35:38 +01:00
Frank
908e17bbfc 16.0-V5alpha --> 16.0-alpha-V5 2026-02-24 11:24:24 +01:00
Will Tatam
4178d05c6a Merge pull request #5393 from wled/dependabot/npm_and_yarn/multi-8e762eef80
Bump minimatch and nodemon
2026-02-23 20:18:41 +00:00
dependabot[bot]
2d1315f9dc Bump minimatch and nodemon
Bumps [minimatch](https://github.com/isaacs/minimatch) to 10.2.2 and updates ancestor dependency [nodemon](https://github.com/remy/nodemon). These dependencies need to be updated together.


Updates `minimatch` from 3.1.2 to 10.2.2
- [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md)
- [Commits](https://github.com/isaacs/minimatch/compare/v3.1.2...v10.2.2)

Updates `nodemon` from 3.1.9 to 3.1.14
- [Release notes](https://github.com/remy/nodemon/releases)
- [Commits](https://github.com/remy/nodemon/compare/v3.1.9...v3.1.14)

---
updated-dependencies:
- dependency-name: minimatch
  dependency-version: 10.2.2
  dependency-type: indirect
- dependency-name: nodemon
  dependency-version: 3.1.14
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-23 09:43:29 +00:00
Damian Schneider
822e07d9f5 fix boot-up wifi pause even with extended scanning
forgot to push this update before merging #5337
2026-02-21 10:12:34 +01:00
Will Tatam
439d4a0e98 Merge pull request #5357 from netmindz/idf_4_4_8
Upgrade platform to 4.4.8
2026-02-20 19:04:39 +00:00
Damian Schneider
1f102ca832 Fix LED-animations briefly pausing at bootup (ESP32 only) (#5337)
* fix bootup output glitch by using NVM stored credentials
* add ifdef guards for ESP8266
2026-02-20 19:57:19 +01:00