Commit Graph

6572 Commits

Author SHA1 Message Date
Frank
ab65e9fb5f C5: change NeoPixelBus reference to "wled-c5-stable" tag 2026-02-10 13:11:09 +01:00
Frank
b128585618 fix compiler warning "comparing signed with unsigned is undefined behaviour" 2026-02-10 12:53:51 +01:00
Frank
f02e6b6c02 proper wifi channel & band reporting
replace educated guess (ch > 33 -> 5Ghz) with direct info from Wifi Class
2026-02-10 12:53:04 +01:00
Frank
d3251c57f9 Use Wifi class method to activate 5Ghz Wifi
mixing esp-idf and arduino-syle WiFi = problems
2026-02-10 11:50:01 +01:00
Frank
b72568f5c8 ESP32-C5 does not support analog dithering (yet)
use official esp-idf API function (no dithering)
2026-02-10 11:47:39 +01:00
Frank
6e70d0c45e clarification 2026-02-09 19:36:43 +01:00
Frank
e104529329 move 5Ghz init after WiFi.mode(WIFI_STA)
* setting the band mode fails if the driver is not initialized yet
* added error checking
2026-02-09 19:31:36 +01:00
Frank
576e82bcbd report errors from 5Ghz wifi config 2026-02-09 19:03:33 +01:00
Frank
5b46b9cb21 experimental: enable 5Ghz WiFi on C5
does not always work
2026-02-09 17:02:52 +01:00
Frank
d8616e69bf C5/C6 minor updates
* testing code to fake missing DeviceID (commented out)
* remove WLED_DISABLE_WEBSOCKETS
* use correct board.json for C5 "N8R4" (8MB with PSRAM)
2026-02-09 16:57:20 +01:00
Frank
8159768e81 ToDO: research how to set PWM duty cycle and hpoint for dithering
latest esp-idf 5.5.x, including C5
2026-02-09 12:19:32 +01:00
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