Commit Graph

6577 Commits

Author SHA1 Message Date
Frank Möhle
e6e2348483 protect start byte
If Channel is less than 0, it's clamped to 0 on line 134. Then on line 138, dmxData[0] is written with the value, overwriting the start byte that was just set on line 137. DMX Channel numbers should be 1-based (1-512). The bounds check should clamp Channel to a minimum of 1, not 0, to prevent corrupting the start byte

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-25 17:29:10 +01:00
Frank
3150f3b448 use correct DMXSerial object on -S2 and -C3 2026-01-25 17:12:04 +01:00
Frank
8faa88e05b chanSize expansion must account for start byte 2026-01-25 17:02:06 +01:00
Frank
f0753d6cf6 robustness improvement
bounds check before changing global variables
2026-01-25 16:18:30 +01:00
Frank
2628e9167d fix max number of bytes to be sent 2026-01-25 16:15:24 +01:00
Frank
82f713093e indentation 2026-01-25 15:46:57 +01:00
Frank
279d48a3d1 (minor) clarify compile-time messages for DMX drivers 2026-01-25 15:44:40 +01:00
Frank
fb738883fa safeguards against array bounds violation 2026-01-25 15:43:53 +01:00
Frank
900178cd70 only build DMX drivers when WLED_ENABLE_DMX
both ESPDMX and SparkFunDMX have their own global buffers. Conditional compile prevents that these buffers are consuming RAM when not needed.
2026-01-25 15:08:40 +01:00
Frank
6ad6acfe08 align DMX output drivers with upstream
imports a few DMX serial output improvement from upstream
2026-01-25 15:06:27 +01:00
Frank
f0531cdf2a animartrix: temporarily use softhack007 fork
(hotfix for build failures) switch to softhack007 fork, until PR#2 was merged
2026-01-25 01:28:41 +01:00
Frank Möhle
7019f29eaf upgrade animartrix library dependancy
Updated animartrix library dependency to a new commit for custom PSRAM allocator.
2026-01-21 17:28:27 +01:00
Frank
f2107bc274 animartrix bugfix: segment options changes not considered
* changing segment options (mirror, transpose) must lead to new call of "init"
* indentation fixes
2026-01-18 20:05:15 +01:00
Frank
501a1ec618 Animartix optional gamma correction 2026-01-18 18:34:54 +01:00
Frank
61a7d697dd animartrix bugfix: always paint in 2D mode
avoid "accidential" use of 1Dexpand mapping modes
2026-01-18 17:21:08 +01:00
Frank
9f1d68c529 animartrix speedup: crank up math optimizations
may reduce accuracy, but gives up to 20% speedup in animartrix effects
2026-01-18 17:19:28 +01:00
Frank
57b60b9227 animartrix usermod speedups
=> effects run up to 40% faster
* use WLED-MM specific shortcut for SEGMENT access
* use speed-optimized math functions in AnimArtrix effects
2026-01-17 22:56:17 +01:00
Frank
88acb54241 some more attributes
for better optimization by the compiler
2026-01-17 14:08:11 +01:00
Frank
6aea3b5a77 align 2D particleFX with upstream
minor improvements from upstream
2026-01-17 13:58:04 +01:00
Frank
d987206d3b make wled_math functions IRAM_ATTR (faster) 2026-01-17 13:56:29 +01:00
Frank
1f065f69c2 post-merge
* replace all remaining sqrt16() with sqrt32_bw()
* align particleGalaxy effects with upstream
2026-01-17 13:21:02 +01:00
netmindz
729f623953 Merge pull request #4558 from DedeHai/wifi_hardware_timing_fix
Bugfix for incorrect wifi-hardware timing
2026-01-17 12:19:17 +01:00
Damian Schneider
532c9b762c replacement for fastled sqrt16() (#4426)
* added bitwise operation based sqrt16

- replacement for fastled, it is about 10% slower for numbers smaller 128 but faster for larger numbers. speed difference is irrelevant to WLED but it saves some flash.

* updated to 32bit, improved for typical WLED use

- making it 32bits allows for larger numbers
- added another initial condition check for medium sized numbers
- increased the "small number" optimization to larger numbers: the function is currently only used to calculate sqrt(x^2+y^2) which even for small segments is larger than the initially used 64, so optimizing for 1024 makes more sense, although the value is arbitrarily chosen
2026-01-17 12:18:35 +01:00
netmindz
bf4aae8e60 Merge pull request #4682 from DedeHai/PS_galaxy
Add new effect: PS Galaxy
2026-01-17 11:52:46 +01:00
netmindz
2b543f2199 Merge pull request #4577 from DevJogger/main
Add apple-touch-icon Link Tag
2026-01-17 11:43:52 +01:00
netmindz
0095d9caac Merge pull request #4360 from euphi/patch-1
Usermod BME280: Fix "Unit of Measurement" for temperature
2026-01-17 11:30:33 +01:00
Damian Schneider
3259b3acb0 Bugfix for brightness factor upon save: fixes #4824 (#4827) 2026-01-17 11:17:07 +01:00
Frank Möhle
c795c6a20e Update CONTRIBUTING.md with PR guidelines
Added guidelines for creating pull requests from branches in forks and cautioned against force-pushing.
2026-01-17 01:25:44 +01:00
Frank
855cfae224 align filtering in release.yml and nightly.yml 2026-01-16 23:46:25 +01:00
Frank Möhle
9ce0436c9c Uncomment esp01_1MB_S in platformio.ini
Re-enable nightly build for esp01 (1MB). The board is no longer supported officially, but if users want to try, let them try.
2026-01-16 20:45:41 +01:00
Frank Möhle
28b43d564f Update excluded labels in nightly workflow
Added additional labels to exclude from changelog generation:
question,use-as-is,not_planned
2026-01-16 20:25:27 +01:00
Frank Möhle
8f6b05535e re-enable IR support for athom music build 2026-01-15 22:32:34 +01:00
Frank Möhle
8f391dec75 Merge pull request #319 from MoonModules/copilot/fix-nightly-build-release-notes
Fix URL-encoded changelog in nightly release notes
2026-01-15 21:38:28 +01:00
copilot-swe-agent[bot]
cdcea319fe Fix garbled nightly build release notes by using body_path instead of encoded output
Co-authored-by: softhack007 <91616163+softhack007@users.noreply.github.com>
2026-01-15 20:18:56 +00:00
copilot-swe-agent[bot]
7eee14a9da Initial plan 2026-01-15 20:15:30 +00:00
Frank Möhle
caa8cba38e Merge pull request #317 from MoonModules/copilot/update-nightly-build-version
Automate nightly build VERSION from build date, update Changelog generator to v2.4
2026-01-15 20:34:09 +01:00
copilot-swe-agent[bot]
649c86d83f Change nightly release title from "Nightly Release" to "Nightly mdev Build"
Updated the release name in nightly.yml to better reflect that this is a
development build (mdev) rather than a production release.

Co-authored-by: softhack007 <91616163+softhack007@users.noreply.github.com>
2026-01-15 12:46:51 +00:00
copilot-swe-agent[bot]
7dff6c7b65 Update changelog generator action from v2.3 to v2.4 to fix set-output deprecation
The v2.4 release fixes the deprecated set-output command by using GITHUB_OUTPUT
environment file instead. This eliminates the deprecation warning in nightly builds.

Co-authored-by: softhack007 <91616163+softhack007@users.noreply.github.com>
2026-01-15 12:43:33 +00:00
Frank
0fb07b9d07 (hotfix) DMX-output rate limiting to prevent watchdog reset
this is a quick workaround for custom builds with WLED_ENABLE_DMX. it adds rate limiting to the dmx-output handler function.

still waiting for a good solution from upstream
* https://github.com/wled/WLED/pull/5216
* https://github.com/wled/WLED/pull/5287
2026-01-15 12:39:26 +01:00
copilot-swe-agent[bot]
143f89243c Fix changelog generator parameter name from exclude-labels to excludeLabels
The action janheinrichmerker/action-github-changelog-generator@v2.3 expects
camelCase parameter names. Changed 'exclude-labels' to 'excludeLabels' in both
nightly.yml and release.yml to fix the nightly release action failure.

Co-authored-by: softhack007 <91616163+softhack007@users.noreply.github.com>
2026-01-15 11:04:58 +00:00
Frank Möhle
5cfca1b340 fix indentation
minor
2026-01-15 11:38:55 +01:00
copilot-swe-agent[bot]
d03e3a8655 Update set_nightly_version.py to use WLED_BUILD_VERSION define
Changed from -DVERSION to -DWLED_BUILD_VERSION to match the updated
wled.h override mechanism.

Co-authored-by: softhack007 <91616163+softhack007@users.noreply.github.com>
2026-01-15 10:27:19 +00:00
Frank Möhle
5a8d45b6d3 use WLED_BUILD_VERSION for override by CI actions
avoids potential name clashes with used libraries
2026-01-15 11:23:57 +01:00
copilot-swe-agent[bot]
39899c1061 Implement nightly VERSION automation using PlatformIO script
- Created pio-scripts/set_nightly_version.py following existing set_version.py pattern
- Script sets VERSION to yymmddb format with build number 0 for nightly builds
- Modified build.yml to accept nightly_build boolean input
- Modified nightly.yml to pass nightly_build=true flag
- Added set_nightly_version.py to platformio.ini extra_scripts
- Uses WLED_NIGHTLY_BUILD environment variable to conditionally set VERSION

Co-authored-by: softhack007 <91616163+softhack007@users.noreply.github.com>
2026-01-15 10:11:48 +00:00
copilot-swe-agent[bot]
8c70acad65 Add automatic VERSION setting for nightly builds
- Modified build.yml to accept optional version input parameter
- Modified nightly.yml to calculate VERSION from build date in format yymmddb
- VERSION is passed as PLATFORMIO_BUILD_FLAGS to override default in wled.h
- Other workflows (wled-ci.yml, release.yml) unchanged and will use default VERSION

Co-authored-by: softhack007 <91616163+softhack007@users.noreply.github.com>
2026-01-15 10:08:10 +00:00
copilot-swe-agent[bot]
468301a2e5 Initial plan 2026-01-15 10:02:26 +00:00
Frank
1bda6ba072 align improv chip and version reporting with upstream
* allows for easier support of other MCUs (p4, c6, etc)
* removes a second place where the version strings had to be maintained
* use the same codename "next step" for v14.8
2026-01-15 10:56:29 +01:00
Frank
a1a7eb6007 bump version to 14.7.2-mdev (development) build 2601151 2026-01-15 10:53:20 +01:00
Frank
5474d9548b upgrade "ABC WLED" and "Athom Music" to V4 buildenvs
allows these boards to benefit from the new flicker-free leds driver
2026-01-14 13:00:42 +01:00
copilot-swe-agent[bot]
381208b81f Fix Hub75 removal breaking Hub75-enabled builds
Only call hideHub75() when Hub75 is actually disabled. Track with window.hub75Hidden flag set when hideHub75() is first called by backend.

Co-authored-by: softhack007 <91616163+softhack007@users.noreply.github.com>
2026-01-13 20:53:34 +00:00