Commit Graph

4567 Commits

Author SHA1 Message Date
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
Will Tatam
7e9f3c428e Merge pull request #335 from MoonModules/copilot/suppress-usage-reporting-ap-mode
Suppress usage reporting in AP mode
2026-02-07 20:59:15 +00:00
Will Tatam
c4e14e14e2 Simplify ap check 2026-02-07 20:49:16 +00:00
Frank Möhle
d304e9021c Merge pull request #330 from troyhacks/mdev
Always allow proper serial console on S3/C3/C6/etc under ALL conditions
2026-02-07 12:21:59 +01:00
Frank
e29d42c954 add wifi.ap to json/info (upstream beackport)
backport based on 0af3063127 (diff-6b6413edc70eb5a8b8d037f55e51154ae77788f431721701e949d2f00cd99820)
2026-02-07 00:39:36 +01:00
Frank
a5c6740d96 add P4, bring back lost comment
minor updates
- added ESP32-P4 to USB-CDC whitelist
- restored lost comment
2026-02-06 19:00:48 +01:00
Frank Möhle
0411b7dc6b extend AP mode detection to IP 4.3.2.1
as recommended by the rabbit
2026-02-06 15:29:52 +01:00
Frank
d727cfd3fe bugfix: ensure that all WiFi channels are scanned
backport of upstream https://github.com/wled/WLED/pull/5351
2026-02-06 12:06:56 +01:00
Troy
a001bd1892 Merge branch 'MoonModules:mdev' into mdev 2026-02-05 16:46:56 -05:00
Frank Möhle
71893cf00d Merge pull request #301 from MoonModules/copilot/fix-hub75-output-list
Fix Hub75 options wrongly appearing in dynamically added LED outputs
2026-02-05 11:44:39 +01:00
Frank
b7d81e7fca bugfix for wrongly disabled PINs
Skips pin arrays for special bus types where pin array doesn't contain GPIO numbers, but allows all other entries
2026-02-05 00:07:22 +01:00
Frank
d591ff8ab8 variable renamed for clarity
isFirstHub =>  isFirstPin
2026-02-04 23:01:15 +01:00
Frank
6ecb872070 initialize new pin arrays 2026-02-04 22:55:19 +01:00
Frank
53c396ecb1 styling
move "Ax" label slightly to the right, "DMX " doesn't need extra space
2026-02-04 22:42:43 +01:00
Frank
fd079d6105 add HUB75 and DMX pins to usermods pin dropdown
these pins were wrongly shown as "available", because the are not stored in the cfg.json part related to LEDs settings.
2026-02-04 22:19:42 +01:00
copilot-swe-agent[bot]
b60b13f503 Add 0.0.0.0 check for extra safety per code review
Co-authored-by: netmindz <442066+netmindz@users.noreply.github.com>
2026-02-04 18:27:51 +00:00
copilot-swe-agent[bot]
a48ce54f85 Simplify AP mode check condition per code review
Co-authored-by: netmindz <442066+netmindz@users.noreply.github.com>
2026-02-04 18:25:10 +00:00
copilot-swe-agent[bot]
d37e0b9f7c Suppress usage reporting in AP mode when no IP address
Co-authored-by: netmindz <442066+netmindz@users.noreply.github.com>
2026-02-04 18:23:36 +00:00
Frank
7fd23932e4 (minor) fix for apChannel reset to 1 instead of 6
spotted by @dedehai in https://github.com/wled/WLED/pull/5332
2026-02-03 17:14:54 +01:00
Frank
dea91bc2ab spots effect bugfix
* use named constants for fixed point scaling
* remove buggy "SEGLEN / (zones >>3)" shortcut
* align code with upstream
2026-02-03 10:33:52 +01:00
Frank
a47bbfe05b spots effect improvements
* use native 32bit types (similar to upstream)
* avoids gaps on left/right side of strip, by using higher accuracy for zoneLength
* prevent overflow on "s"
* fix wrongly named slider in "spots fade"
2026-02-02 23:06:03 +01:00
Frank
b17819e2ce better trails for PS Fireworks 2026-01-30 12:47:13 +01:00
Troy
ce0a55670d Not from my PR but I'll fix it for the rabbit. 2026-01-29 14:12:21 -05:00
Troy
05147002cd The rabbit said I was being too careful. Tested and works. 2026-01-29 13:57:17 -05:00
Troy
ff93a85fa6 Always allow serial console on S3/C3/C6/etc 2026-01-29 13:40:55 -05:00
Frank
1d686d7807 leds 2D preview: better color accuracy
* replace "jumpy" color enhancement with a smooth function
* slightly increase size of preview pixels
2026-01-29 13:49:53 +01:00
Frank
1210881bd8 reduce risk of crashes (stack smashing) due calls to notify()
The function uses a UDP buffer of ~1200 bytes on stack, which is only needed when actually sending out notifications.
-> separate activation checks and actual sending into two functions, to reduce stack pressure.
2026-01-29 13:00:53 +01:00
Frank
c945732c8d Update NodeStruct.h
sync with upstream
2026-01-28 23:57:23 +01:00
Frank Möhle
f4237b6505 new ESP32 node types
Added new node types for unsupported ESP32 variants, based on same file from ESP Easy.

Just to be prepared for new nodes (future support)
2026-01-28 23:55:07 +01:00
Frank
b691cdee56 build 2601281 2026-01-28 23:05:06 +01:00
Frank
e8a3383c2e esp-now WizMote data description update
based on same file from upstream
2026-01-28 23:03:10 +01:00
Damian Schneider
afcd48f7ac adding image rotation to PixelForge gif tool (#5309) 2026-01-28 22:39:02 +01:00
Frank
bbe8e6eb0f remove static functions (Philips HUE)
fixes the build error
2026-01-28 22:17:25 +01:00
Frank
4b47714f68 Philips hue robustness improvements
* reduce JSON buffer from 1024 to 640
* ESP32: define buffer globally (reduces likelyhood of crashes due to low stack)
* added some sanity checks after string ops
* delete hueClient object after closing the connection

* make functions static if not used outside of hue.cpp, re-shuffle order where needed
* rename JSON buffer object: root -> jsonHUEroot
2026-01-28 22:12:24 +01:00
Frank
de0f5c89fc stateUpdated robustness improvements
* acquire segmentMux before applying changes
* avoid temporary segment copy (copy can lead to new buffer allocations)
2026-01-28 20:32:42 +01:00
Frank Möhle
d29402d64f quickfix for sporadic "relay does not turn on" issues
see discussion in https://github.com/wled/WLED/issues/5312
2026-01-26 13:54:32 +01:00
Frank
57d63b7362 ESPDMX robustness improvements
* clamp channel to dmxMaxChannel (write)
* ensure that all data get sent, including start byte
2026-01-25 17:45:08 +01:00
Frank Möhle
0718a6d265 comment clarification
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-25 17:30:03 +01:00
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