Commit Graph

6561 Commits

Author SHA1 Message Date
Frank Möhle
7370c100aa remove dead (and dangerous) mutex macros in bus_manager.cpp (#5364)
these macros are
* not used any more
* dangerous because they don't time out
* dangerous because they use an internal mutex of the ledc driver (not part of the LEDC API)
2026-02-09 11:51:12 +01:00
Frank
d7ab1f4691 Merge branch 'V5' into V5-C6 2026-02-09 00:57:26 +01:00
Frank
21d0af1094 Merge branch 'main' into V5 2026-02-09 00:56:41 +01:00
Frank
b9138b4300 show experimental MCUs in nodes list
add decoding for experimental MCUs to nodes list, instead of just showing "?".
2026-02-09 00:55:30 +01:00
Frank Möhle
7a157a8c91 Add experimental ESP32-C6 and ESP32-C5 options to bugreport template 2026-02-09 00:27:30 +01:00
Frank
9d63296783 fix debug delay condition in wled.cpp
simplify and correct the condition. it was never correct to assume that all C3/S2 need a delay, because boards with UART-to-USB chip don't need any wait.
2026-02-09 00:16:42 +01:00
Frank
1800a32caf align index.js with chip types from nodestruct.h
with some "future support" for P4 and C61
2026-02-09 00:11:34 +01:00
Frank
be49f34a00 add include guard for esp_mac.h 2026-02-09 00:08:03 +01:00
Frank
9232bd4d76 correct straping pin comments in pinManager 2026-02-08 20:26:10 +01:00
Frank
3c24681881 ifdef guards alignment
* Add ESP32-C6 to the fast-path division guards
* exclude C6 and P4 from from digitalCount tracking (I2S memory calculation)
2026-02-08 20:20:28 +01:00
Frank
6b9f90c1dc remove outdated patched libs for C6 2026-02-08 19:15:10 +01:00
Frank
b30951e674 C6 buildenv cleanup
* re-enable alexa
* remove duplicate WLED_DISABLE_ESPNOW
2026-02-08 19:11:16 +01:00
Frank
0920f0fdcf extend some chip type guards for C6 and P4 2026-02-08 19:00:28 +01:00
Frank
8b98a7ac9e future support: adding C61 and P4 to esp32RMTInvertIdle() guard 2026-02-08 18:20:54 +01:00
Frank
e9b1a53149 PSRAM guard bugfix
accidentally used IDF_TARGET_.. instead of CONFIG_IDF_TARGET_..
2026-02-08 18:17:03 +01:00
flo269
7387baace4 Remove gamma value lower limit to enable inverse gamma correction (#5187)
* Enable inverse gamma correction (gamma < 1.0)

Allow gamma values from 0.1 to 3.0 instead of restricting to > 1.0.
This enables inverse gamma curves for use cases requiring brightened
mid-tones and compressed highlights.

Changes:
- Update backend validation in set.cpp and cfg.cpp to accept 0.1-3.0
- Update HTML form min value from 1 to 0.1

Co-authored-by: Flo <flo@Mac.lan>
Co-authored-by: Damian Schneider <daedae@gmx.ch>
2026-02-08 17:53:54 +01:00
Frank
20dd750b9b alexa build error was already solved in V5 branch 2026-02-08 17:49:06 +01:00
Frank
b860a1ad28 fix incorrect PSRAM warning on C5 and C6 2026-02-08 17:43:27 +01:00
Frank
a3a3547fa5 adding [env:esp32c5dev_8MB_qspi]
experimental buildenv for C5 with PSRAM and 8MB flash
2026-02-08 17:42:55 +01:00
Frank
a1a190510a simplify C5 buildenv
* removed flags that are inherited as-is from [esp32c5]
* slightly restructured buildenv
2026-02-08 17:33:18 +01:00
Frank
b2e0c243b7 simplify and correct some long ifdef chains
* C5: allow BOARD_HAS_PSRAM
* assign MIN_FRAME_DELAY based on number of CPU cores
2026-02-08 17:07:59 +01:00
Frank
16262ee424 platformio.ini: moving [esp32c5] upwards
so its between the generic sections for S3 and C6
2026-02-08 16:50:37 +01:00
Frank
6cefd14176 fix C5 build error
adjustment needed due to modified lib_deps hierarchy in V5
2026-02-08 16:43:39 +01:00
Frank
83c37f8245 Merge branch 'V5' into V5-C6 2026-02-08 16:14:24 +01:00
Frank Möhle
f0acc626bd Merge pull request #5355 from jonny190/ESP32-C5-V5
Add experimental ESP32-C5 support (WiFi 6 dual-band)
2026-02-08 15:54:36 +01:00
Jonny Davey
1a025f5636 Fix MAC address on ESP32-C5 and update NeoPixelBus fork
- Fix WiFi.macAddress() returning all zeros on ESP32-C5 by falling back
  to esp_read_mac() when WiFi netif is not yet created
- Update NeoPixelBus fork to latest with channel ctor overload fix
- Enable WLED_DEBUG, remove WLED_DISABLE_WEBSOCKETS for C5 build
2026-02-08 11:20:29 +00:00
Damian Schneider
80e75139c6 Full WiFi scan and apply BSSID if used (#5351)
* use extended wifi scan (fix Arduino bug for ESP32 family), apply BSSID
* if BSSID changed: force reconnect, add comment to BSSID check
2026-02-08 09:26:36 +01:00
Frank
4069260e61 remove double WLED_USE_SHARED_RMT in V5 core buildenv 2026-02-08 03:44:12 +01:00
Frank
1c09d34d12 bugfix 2026-02-08 03:39:32 +01:00
Frank
692c812934 buxfixes for generic S3 buildenv 2026-02-08 03:34:12 +01:00
Frank
9484b42b40 adding 8266 regression testing build
to check if 8266 code was broken accidentally
2026-02-08 03:26:22 +01:00
Frank
6dff1d2cb1 more V4 vs V5 compatibility fixes 2026-02-08 03:25:20 +01:00
Frank
929777507c 8266 dummy macro ESP_IDF_VERSION_VAL 2026-02-08 02:23:47 +01:00
Frank
d76bd5fe59 fix esp32dev_V4 build
* disable "temporary shim for NeoPixelBus CORE3" for V4
* better way to prevent compiling NeoEsp32RmtHIMethod
2026-02-08 01:54:47 +01:00
Frank
1b5f10ff6d temporarily remove esp_dmx from V4 2026-02-08 01:40:55 +01:00
Frank
97b2c7a44f bugfix:implicit capture of 'this' via '[=]' is deprecated in C++20 2026-02-08 01:40:05 +01:00
Frank
56beb3795e add esp32dev_V4, fix compatibility issues with V4, fix for deprecated udp.flush()
* add esp32dev_V4 for regression checking w.r.t. V4 framework
* bring back lost V4 code
* udp.flush() is deprecated --> udp.clear()
2026-02-08 01:24:47 +01:00
Frank
68a8812942 adding WLED_USE_SHARED_RMT for all V5 builds
plus
- re-enabled one S3 and one S2 build
- disabled c++20 deprecation warnings
- minor indentation fix
2026-02-08 00:35:59 +01:00
Jonny Davey
d2e6a568ba Use NeoPixelBus fork with ESP32-C5 bit-bang and I2S fixes
Replace upstream NeoPixelBus with jonny190/NeoPixelBus fork (d4bbe3f)
which adds C5 to the I2S exclusion guard and fixes the bit-bang LED
output method (cycle counter CSR 0xC00, GPIO register types).

Spell out C5 lib_deps explicitly to avoid pulling both the upstream
and fork NeoPixelBus, which causes duplicate compilation errors.

Upstream PR: https://github.com/netmindz/NeoPixelBus/pull/1
2026-02-07 21:52:22 +00:00
Will Tatam
e9ced6ddf1 Merge pull request #5356 from netmindz/welcome-update
Tweak the welcome page to be more appropriate
2026-02-07 20:00:07 +00:00
Will Tatam
0b248abd3b TODO: disabled NeoEsp32RmtMethodIsr 2026-02-07 19:36:34 +00:00
Will Tatam
a57e895bb9 Merge branch 'main' into V5 2026-02-07 19:28:12 +00:00
Jonny Davey
5137768a8f Address PR review: pin pioarduino, fix I2S1 remap, simplify arch check 2026-02-07 18:13:12 +00:00
Will Tatam
35706f0940 Apply suggestion from @coderabbitai[bot] for WiFi band
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2026-02-07 17:52:08 +00:00
Jonny Davey
11f5be1861 Removed Leftover file 2026-02-07 17:02:22 +00:00
Jonny Davey
8268c4a948 Applied changes based on comments on PR 2026-02-07 16:16:11 +00:00
Frank Möhle
8b6d4134bd Improved Contributor Guidelines & Education (#5348, part1) (#5350)
* Update CONTRIBUTING.md

based on AI proposals in https://github.com/wled/WLED/issues/5348

* Update CONTRIBUTING.md

official style is "GitHub"

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* minor style updates

* styling and perfection

addressing minor recommendations by the rabbit

* cherry-picking some improvement proposals from the rabbit

* extended opening section
* section groups: Getting Started, During Review, After Approval, Coding Guidelines
* removed duplications in AI section
* improve friendly style
* minor corrections

* nitpick

* ok, some more nitpick

* Minor consistency tweak with other headings/sentences

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2026-02-07 16:37:53 +01:00
Will Tatam
2102bb12f0 Tweak the welcome page to be more appropriate 2026-02-07 15:15:05 +00:00
Jonny Davey
01b1c51653 Add experimental ESP32-C5 support with WiFi 6 dual-band
ESP32-C5 is a RISC-V based SoC with WiFi 6 (2.4GHz + 5GHz) support.
Treats C5 similarly to C3 for hardware capabilities (2 RMT channels,
no parallel I2S for LEDs, similar GPIO restrictions).

Changes across 25 files:
- Add CONFIG_IDF_TARGET_ESP32C5 conditionals alongside C3/C6 checks
- Add [esp32c5] and [env:esp32c5dev] build environments in platformio.ini
- Uses pioarduino platform (Tasmota framework lacks C5 Arduino libs)
- Exclude esp_dmx library (doesn't support C5 UART registers yet)
- Fix LEDC register access for IDF 5.5.0 (duty_init vs duty)
- Guard mbedtls_sha1_shim for IDF 5.5.0 (SHA1 built-in)
- Add C5 chip identification (ID: 0x0017) in OTA and web UI

Known limitations:
- RMT LED output shows flush timeouts (needs NeoPixelBus C5 support)
- WiFi AP confirmed working on hardware
- esp_dmx/DMX input disabled
- Experimental: requires pioarduino community platform

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-07 13:37:50 +00:00
Frank
747bc2bacd filter out "external" in nigtly build changelog 2026-02-07 13:59:30 +01:00