Commit Graph

4610 Commits

Author SHA1 Message Date
Frank
d948ec667e fast inline color fading for bus drivers
based on upstream color_fade() and color_scale() by @DedeHai
2026-03-26 12:12:32 +01:00
Troy
d885677896 Merge pull request #349Give HUB75 Color Order Overrides from troyhacks/mdev
Give HUB75 Color Order Overrides
2026-03-25 12:02:03 -04:00
Troy
2aa05cbc86 Default HUB75 color order to RGB 2026-03-25 11:29:16 -04:00
Troy
44d666c8b6 Give HUB75 Color Order Overrides 2026-03-25 09:32:14 -04:00
Frank
50f507fa56 bugfix: prevent _segment_index being misaligned w.r.t. segments vector
prevent that an inactive segment in the segments list causes misalignment between getSegmentID() and actual segments vector.
2026-03-24 15:46:09 +01:00
Will Miles
75e1ade22f Use correct fix for SHA256 hash string
@coderabbitai caught the problem, but its fix suggestion was out to
lunch on this one.  Passing an unsigned char to String.concat() appends
it as a number instead of appending the character.

Instead, mask the unneceeded bits.
2026-03-22 14:43:20 +01:00
Frank Möhle
7a0f093ab1 small robustness improvement for closeFile()
Refactor file closing logic to improve concurrency handling: "Consuming" doCloseFile early reduces the risk that several tasks will try to close the same file.
2026-03-21 23:46:27 +01:00
Frank
11b9b6529c 8266: fix flickering during file write (experimental)
8266 also has problems - file.close() will stall interrupts, so we need to wait a bit until leds were updated
2026-03-21 20:37:53 +01:00
Frank Möhle
afb383d0a2 Fix undefined behavior in bootloader SHA256 hex conversion
Change char to unsigned char to avoid undefined behavior during right-shift operation.
2026-03-21 15:43:06 +01:00
Frank Möhle
2672ed7e51 Update release link to latest version
always point to the latest release
2026-03-12 00:38:00 +01:00
Frank
b5788d3912 colorClouds WLED-MM specific optimizations
* use map2 - more accurate
* use min(max()) instead of constrain - faster
2026-03-11 19:40:34 +01:00
Joachim Dick
f96c2087d9 New smooth effect: Color Clouds (#5268)
* New Effect: Color Clouds

ColorClouds: Random start points for clouds and color

ColorClouds: new config option 'More red'

* ColorClouds: Incorporated review comments

- Support for color palettes
- Use perlin16() instead of inoise16()
- Use cos8_t() instead of cos8()

* ColorClouds: incorporated more review comments

* ColorClouds: incorporated final review comment
2026-03-11 19:26:42 +01:00
Frank
2dedbf469a minor info page updates
* removed core restart reasons (esp restart code is sufficient)
* added time info
* moved repo to last line
2026-03-11 19:02:29 +01:00
Frank Möhle
37946a947b 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:25:06 +01:00
Frank
49130c9ec9 (chores) cleanup some compiler warnings
* switch-cases that fall through
* potential buffer overflow in improv.cpp
* potentially uninitialized variables in FX.cpp
* potential array out-of-range on segment::col[]
* minor optimization: only apply gamma correction when result is needed
* tag some possibly unused variables with   [[maybe_unused]]
2026-03-11 13:54:58 +01:00
Frank
b994cf5b95 make CHSV32 availeable to effects 2026-03-11 12:37:01 +01:00
Frank
c3c779f8f0 (chores) fix compiler warning (switch case implicitly falls through) 2026-03-11 12:36:36 +01:00
Frank
e3b33c8aa0 import CHSV32 (based on upstream WLED)
thanks @dedehai, works perfectly
2026-03-11 12:24:54 +01:00
Frank
5d370f834f fix for builds with DMX-In support 2026-03-10 18:07:34 +01:00
Frank
e56ce96137 build 2603101 2026-03-10 17:44:50 +01:00
Frank
a906432feb basic support for firmware metadata (upstream 0.15 backport) 2026-03-10 17:42:18 +01:00
Will Tatam
427dc96239 Merge pull request #5214 from willmmiles/0_15-update-structure-check
Remove OTA metadata structure version block
2026-03-10 16:27:03 +01:00
Will Tatam
1e77d89dcc Merge pull request #5410 from willmmiles/cleanup-bootloader-sha-0_15
Bootloader SHA fixes, 0.15 edition
2026-03-10 16:26:46 +01:00
Frank
ec0078c4df Upgrade reporting: add PSRAM size (MM specific) 2026-03-10 15:25:14 +01:00
Will Tatam
d90549f07a Merge pull request #5172 from wled/copilot/update-install-prompt-messaging
Simplify upgrade reporting prompt with checkbox-based preference
2026-03-10 15:20:34 +01:00
Frank
32bc474055 spots effect bugfix, take 2
next try: make sure that the strip is filled, and all gaps are equal
2026-03-04 00:17:43 +01:00
Frank
7f889763d1 flow effect bugfix
effect was showing blak when using default palette
2026-03-03 23:13:34 +01:00
Damian Schneider
a0c0a31480 Fix start & end of segment not "flowing" in Flow FX (#5392) 2026-03-03 22:22:35 +01:00
GLEDOPTO
9dae76bd63 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 21:57:10 +01:00
Frank
fa30c39a38 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:33:29 +01:00
Frank
f3eda7027f build 2602221 2026-02-22 20:42:54 +01:00
Frank
2914daa3aa fix short black-out when a playlist advances (WLEDMM specific)
* do not call strip.show(), just shedule a "show()" in the next main loop.
* experimental fix for inconsistent state when loading a preset (see upstream https://github.com/wled/WLED/issues/5200)
2026-02-22 20:37:39 +01:00
Frank
ae3a796f8d build 2602201 2026-02-20 18:06:03 +01:00
Frank
325ea2798c oops, missed a few lines in the last commit 2026-02-20 16:03:32 +01:00
Frank
a1555c43a0 move ws LEDs preview buffer into PSRAM
* set DYNAMICBUFFER_USE_PSRAM in build_flags => enable PSRAM support in AsyncWebServerWLED
2026-02-20 15:26:03 +01:00
Frank
269a6a2a86 another "heap too low" fix
fixes the fix
2026-02-20 15:20:15 +01:00
Frank
afeccc60fb ram alloc tuning
* relax checks in d_malloc_only, allow RTCRAM (avoids "unexpected end of JSON input) errors
* debug messages improved
 * set errorflag when d_malloc() or d_calloc() failed
2026-02-20 15:07:14 +01:00
Frank
75c6fe1606 fix "Heap too low!" logic
"step1" (flush udp) was never activated (stupid logic error)
2026-02-20 14:42:39 +01:00
Frank
594af2baf1 use d_calloc for BusNetwork (UDP output) 2026-02-20 01:11:55 +01:00
Frank
e519b4190b add d_malloc_only() for AsyncJSON
major stability improvement, especially on classic esp32.
2026-02-20 01:09:52 +01:00
Frank
8680d13df4 some more cases of missing lang="en"
no, its not written in Danish ;-)
2026-02-19 13:45:00 +01:00
Frank
1ec57df54f add missing lang="en" in some UI pages
prevent MS Edge from suggesting to "translate from Danish" ;-)
2026-02-19 13:31:49 +01:00
Frank Möhle
cce3c0b5d3 psram-aware malloc functions (backport of upstream #4895) (#342)
Introduces new memory allocation functions, based on wled#4895 by @DedeHai

* keep a minimum of 15KB RAM available to UI - improves stability
* S3/S2/C3 automatically use "fast RTC Ram" for small data (reduces fragmentation)
* auto-detects PSRAM (or no PSRAM) when firmware was built with -D BOARD_HAS_PSRAM
* d_malloc() and d_calloc() prefer DRAM if possible (faster), but fall back to PSRAM when free RAM gets low.
2026-02-18 17:57:47 +01:00
Frank
b044fc3ab2 classic esp32: always protect gpio16/17 when PSRAM found
more robust in case that users install the wrong "non-PSRAM" build onto their board.
2026-02-16 17:10:47 +01:00
Frank
7e2207f384 print hub75 pins to serial at startup 2026-02-15 15:13:38 +01:00
Frank
b25af92ddd pininfo improvements
new PSRAM PIN descriptions for ESP32-D0WDR2-V3 and ESP32-PICO-V3-02
2026-02-13 16:25:48 +01:00
Frank
29355e7c3d use full silicon version (aka chip revision) in startup output 2026-02-13 00:43:18 +01:00
Frank
c85f65e390 better handling of esp32 PICO-D2 and PICO-V3
including PICO models with PSRAM
2026-02-13 00:28:47 +01:00
Frank
fef8de000e free GPIO17 on "ESP32-D0WDR2-V3" (WLED-MM way)
this is a new "package" with on-chip PSRAM. Only gpio16 is reserved for PSRAM on this chip.
2026-02-11 11:48:09 +01:00
Frank Möhle
997d05a1a5 Merge pull request #5338 from wled-install/patch-3
Classic ESP32: GPIO17 is not needed to be reserved for chips with in-package PSRAM (ESP32-D0WDR2-V3 and ESP32-D0WDHR2-V3)
2026-02-11 11:22:35 +01:00