Skip to content
Open
Changes from 3 commits
Commits
Show all changes
150 commits
Select commit Hold shift + click to select a range
9649125
Disable other envs to save CI build time
netmindz Nov 8, 2025
0f10558
ESP32-C6 buildenv
softhack007 Jun 13, 2024
cf195af
build only esp32c6dev_4MB
netmindz Nov 8, 2025
db65e30
use esp32_idf_V5.platform
netmindz Nov 8, 2025
fa5aa58
Update platformio.ini
softhack007 Jun 13, 2024
152bfd1
Merge branch 'V5' into V5-C6
softhack007 Dec 1, 2025
1bc63ca
use the same lib_deps as the "main V5" branch
softhack007 Dec 1, 2025
6961059
minor changes for consistency with other build envs
softhack007 Dec 1, 2025
45d105e
Merge branch 'V5' into V5-C6
softhack007 Dec 1, 2025
b2d6591
disable QuickEspNow - seems incompatible with -C6
softhack007 Dec 1, 2025
62ca377
remove special FASTLED_NO_FASTLED hack
softhack007 Dec 1, 2025
7023545
treat C6 similar to C3
softhack007 Dec 1, 2025
1de36ca
more "C6 is like C3" adjustments
softhack007 Dec 1, 2025
2df4c58
disable touch button code on C6
softhack007 Dec 1, 2025
3f441f0
guess what ... more "C6 is like C3" ifdefs needed
softhack007 Dec 1, 2025
c73935d
small fix
softhack007 Dec 1, 2025
c096c5b
fix for old-style WLED_RELEASE_NAME
softhack007 Dec 1, 2025
5ecf76c
Merge branch 'V5' into V5-C6
softhack007 Dec 1, 2025
bc4b6b6
Merge branch 'V5' into V5-C6
softhack007 Dec 1, 2025
7b54be8
Merge branch 'V5' into V5-C6
softhack007 Dec 1, 2025
9f12301
esp32c6 inherits build_unflags and lib_ignore from V5 buildenv
softhack007 Dec 1, 2025
f88fd07
temporary workaround for #5145
softhack007 Dec 1, 2025
d3e92f2
Fix ESP32-C6 runtime crash and improve compatibility
karan-vk Nov 26, 2025
ec44fd1
Add ESP32-C6 pin validation for strapping and USB-JTAG pins
karan-vk Nov 26, 2025
c92abb8
Address PR comments: cleanup and safety improvements
karan-vk Nov 29, 2025
e4d6848
Revert .vscode/extensions.json
karan-vk Nov 29, 2025
d2c1313
Fully revert .vscode/extensions.json to base branch
karan-vk Nov 29, 2025
4ebbd86
Use Aircoookie/ESPAsyncWebServer v2.4.2 instead of softhack007 fork
karan-vk Nov 29, 2025
2f267a8
Merge pull request #5114 from karan-vk/esp32c6-fixes
softhack007 Jan 10, 2026
cf09c0d
Comment out '#pragma warning' suppression flag
softhack007 Feb 7, 2026
01b1c51
Add experimental ESP32-C5 support with WiFi 6 dual-band
jonny190 Feb 7, 2026
8268c4a
Applied changes based on comments on PR
jonny190 Feb 7, 2026
11f5be1
Removed Leftover file
jonny190 Feb 7, 2026
35706f0
Apply suggestion from @coderabbitai[bot] for WiFi band
netmindz Feb 7, 2026
5137768
Address PR review: pin pioarduino, fix I2S1 remap, simplify arch check
jonny190 Feb 7, 2026
d2e6a56
Use NeoPixelBus fork with ESP32-C5 bit-bang and I2S fixes
jonny190 Feb 7, 2026
1a025f5
Fix MAC address on ESP32-C5 and update NeoPixelBus fork
jonny190 Feb 8, 2026
f0acc62
Merge pull request #5355 from jonny190/ESP32-C5-V5
softhack007 Feb 8, 2026
83c37f8
Merge branch 'V5' into V5-C6
softhack007 Feb 8, 2026
6cefd14
fix C5 build error
softhack007 Feb 8, 2026
16262ee
platformio.ini: moving [esp32c5] upwards
softhack007 Feb 8, 2026
b2e0c24
simplify and correct some long ifdef chains
softhack007 Feb 8, 2026
a1a1905
simplify C5 buildenv
softhack007 Feb 8, 2026
a3a3547
adding [env:esp32c5dev_8MB_qspi]
softhack007 Feb 8, 2026
b860a1a
fix incorrect PSRAM warning on C5 and C6
softhack007 Feb 8, 2026
20dd750
alexa build error was already solved in V5 branch
softhack007 Feb 8, 2026
e9b1a53
PSRAM guard bugfix
softhack007 Feb 8, 2026
8b98a7a
future support: adding C61 and P4 to esp32RMTInvertIdle() guard
softhack007 Feb 8, 2026
0920f0f
extend some chip type guards for C6 and P4
softhack007 Feb 8, 2026
b30951e
C6 buildenv cleanup
softhack007 Feb 8, 2026
6b9f90c
remove outdated patched libs for C6
softhack007 Feb 8, 2026
3c24681
ifdef guards alignment
softhack007 Feb 8, 2026
9232bd4
correct straping pin comments in pinManager
softhack007 Feb 8, 2026
be49f34
add include guard for esp_mac.h
softhack007 Feb 8, 2026
1800a32
align index.js with chip types from nodestruct.h
softhack007 Feb 8, 2026
9d63296
fix debug delay condition in wled.cpp
softhack007 Feb 8, 2026
d7ab1f4
Merge branch 'V5' into V5-C6
softhack007 Feb 8, 2026
7370c10
remove dead (and dangerous) mutex macros in bus_manager.cpp (#5364)
softhack007 Feb 9, 2026
8159768
ToDO: research how to set PWM duty cycle and hpoint for dithering
softhack007 Feb 9, 2026
d8616e6
C5/C6 minor updates
softhack007 Feb 9, 2026
5b46b9c
experimental: enable 5Ghz WiFi on C5
softhack007 Feb 9, 2026
576e82b
report errors from 5Ghz wifi config
softhack007 Feb 9, 2026
e104529
move 5Ghz init after WiFi.mode(WIFI_STA)
softhack007 Feb 9, 2026
6e70d0c
clarification
softhack007 Feb 9, 2026
b72568f
ESP32-C5 does not support analog dithering (yet)
softhack007 Feb 10, 2026
d3251c5
Use Wifi class method to activate 5Ghz Wifi
softhack007 Feb 10, 2026
f02e6b6
proper wifi channel & band reporting
softhack007 Feb 10, 2026
b128585
fix compiler warning "comparing signed with unsigned is undefined beh…
softhack007 Feb 10, 2026
ab65e9f
C5: change NeoPixelBus reference to "wled-c5-stable" tag
softhack007 Feb 10, 2026
ed6b82b
repeat WiFi.setBandMode() in initConnection()
softhack007 Feb 10, 2026
7014d4f
nitpick: fixing another case of "comparing unsigned to integer is und…
softhack007 Feb 10, 2026
edf0cbe
adding wled_boards.h to reduce #if defined() .. clutter
softhack007 Feb 10, 2026
d823ab4
replace some very long if defined() chains with flags from wled_boards.h
softhack007 Feb 10, 2026
cd911ae
oopsie
softhack007 Feb 10, 2026
4f9c48f
consistency fix
softhack007 Feb 10, 2026
71cf78b
Merge branch 'V5' into V5-C6
softhack007 Feb 10, 2026
546384b
fixing minor errors
softhack007 Feb 10, 2026
1009855
shorten some more ifdef chains in wled.h
softhack007 Feb 10, 2026
c6739d3
ToDo: adjust Wi-Fi stregth to match value allowed by V5 framework
softhack007 Feb 10, 2026
08ca41b
expand chip-specific "if defined" to C61 and P4 (future support)
softhack007 Feb 10, 2026
a39285a
Add WiFi band preference for dual-band ESP32 chips (#5367)
jonny190 Feb 10, 2026
703b90f
Merge branch 'V5' into V5-C6
softhack007 Feb 10, 2026
f8df68c
tiny change
softhack007 Feb 10, 2026
b730ce8
removing another mega guard
softhack007 Feb 10, 2026
e046316
add channel to wifi scan result list (wifi settings)
softhack007 Feb 10, 2026
f8a6790
5Ghz wifi scanning
softhack007 Feb 10, 2026
55eee94
support higher Tx power (V5 only)
softhack007 Feb 10, 2026
46a1b2f
clarification
softhack007 Feb 10, 2026
ede8a14
ifdef fixes
softhack007 Feb 10, 2026
deaae11
missed one
softhack007 Feb 11, 2026
5e073ce
add esp-idf managed folders to .gitignore
softhack007 Feb 11, 2026
c1dddea
ermove duplicate extern references
softhack007 Feb 11, 2026
7ce497b
fix broken ifdef chain in wled.h
softhack007 Feb 11, 2026
967f6ab
Merge branch 'V5' into V5-C6
softhack007 Feb 12, 2026
3de117b
typo
softhack007 Feb 12, 2026
1bda0bf
Merge branch 'V5' into V5-C6
softhack007 Feb 12, 2026
acc98d4
Merge branch 'V5' into V5-C6
softhack007 Feb 14, 2026
cffc57e
make LED settings work, by pretending to be a c3
softhack007 Feb 20, 2026
a425b97
minor buildenv cleanup
softhack007 Feb 23, 2026
9959f75
(experimental) buildenv for P4
softhack007 Feb 23, 2026
2820331
16.0-V5alpha --> 16.0-alpha-V5
softhack007 Feb 23, 2026
2802f8c
adding monitor_filters
softhack007 Feb 23, 2026
0c6c66b
remove touchButtonISR() on boards that don't suport it
softhack007 Feb 24, 2026
ed0fadd
esp32-P4 pins (will clean up later)
softhack007 Feb 24, 2026
5c9803d
P4 buildenv update
softhack007 Feb 24, 2026
aadabe9
credits
softhack007 Feb 24, 2026
2123389
P4 buildenv update
softhack007 Feb 24, 2026
3abd8c7
P4: auto-update esp-hosted WiFi coprocessor
softhack007 Feb 24, 2026
491546b
typo's
softhack007 Feb 24, 2026
d3b8d96
more typos and comment corrections
softhack007 Feb 25, 2026
2ce3870
P4 does not have on-chip WiFi, use ETH MAC instead
softhack007 Feb 25, 2026
fb877ad
P4 buildenv update
softhack007 Feb 26, 2026
c76cb5c
dependancies update
softhack007 Feb 28, 2026
8fcdbe6
Merge branch 'V5' into V5-C6
softhack007 Feb 28, 2026
511ff78
Merge branch 'V5' into V5-C6
softhack007 Mar 1, 2026
fc313e1
pioarduino 55.03.37 (-C5 and -P4 only)
softhack007 Mar 1, 2026
d4b0360
bugfix: right shift on signed char is unsafe
softhack007 Mar 1, 2026
27a6fad
bugfix: prevent array bounds violations due to short WS payload data
softhack007 Mar 1, 2026
fc2ffed
-alpha-V5 --> -alphaV5
softhack007 Mar 1, 2026
2af98d4
build_unflags should always come from same origin as platform
softhack007 Mar 2, 2026
51af4ec
Merge branch 'V5' into V5-C6
softhack007 Mar 27, 2026
868fbf3
revert hack in set_metadata.py
softhack007 Mar 27, 2026
2a57177
revert UI hack
softhack007 Mar 27, 2026
40b4d55
prefer softhack no_fastled (temporary)
softhack007 Mar 27, 2026
dd048b8
fix for C5 build
softhack007 Mar 27, 2026
72b4771
C5 buildenv cleanup
softhack007 Mar 27, 2026
96cd51a
prelim. pin validation for -C61
softhack007 Mar 27, 2026
3bd5f03
C6 workaround for " WLED_VERSION was not set"
softhack007 Mar 27, 2026
daed027
add pin info for new MCU's
softhack007 Mar 27, 2026
0629720
Use WLED_BOARD as the single node-type source of truth.
softhack007 Mar 27, 2026
33ffbd5
clarify debug output
softhack007 Mar 27, 2026
9a07784
tiny change
softhack007 Mar 27, 2026
61f3c6c
C5: AP mode needs WIFI_BAND_MODE_AUTO
softhack007 Mar 27, 2026
dfba1e9
C5: NTP temporarily disabled as it causes crashes
softhack007 Mar 27, 2026
e362891
revive device fingerprint in V5
softhack007 Mar 27, 2026
e53500f
V5 build 2603281
softhack007 Mar 28, 2026
b541c1d
Merge branch 'V5' into V5-C6
softhack007 Mar 28, 2026
f4fbdbf
Merge branch 'V5' into V5-C6
softhack007 Mar 29, 2026
b63f225
moving S3 buildenv back where it used to be
softhack007 Mar 29, 2026
e47b089
minor improvements
softhack007 Mar 29, 2026
0b57cbc
update strapping pin info for -C61
softhack007 Mar 29, 2026
10066ff
wifi[band] fallback
softhack007 Mar 29, 2026
1f536ee
Merge branch 'V5' into V5-C6
softhack007 Mar 29, 2026
7193790
upgrade missing metadata workaround
softhack007 Mar 29, 2026
ee8b019
Merge branch 'V5' into V5-C6
softhack007 Mar 30, 2026
a454b31
restore lost build_flag for esp32dev_debug
softhack007 Mar 30, 2026
77a16f6
P4 buildenv cleanup
softhack007 Mar 30, 2026
65d7528
buildenv for P4 with 32MB flash
softhack007 Mar 30, 2026
a67f590
allow override for WLED_MAX_DIGITAL_CHANNELS
softhack007 Mar 31, 2026
01076c8
Merge branch 'V5' into V5-C6
softhack007 Apr 20, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
102 changes: 86 additions & 16 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -10,24 +10,26 @@
# ------------------------------------------------------------------------------

# CI/release binaries
default_envs = nodemcuv2
esp8266_2m
esp01_1m_full
nodemcuv2_160
esp8266_2m_160
esp01_1m_full_160
nodemcuv2_compat
esp8266_2m_compat
esp01_1m_full_compat
esp32dev
esp32dev_debug
esp32_eth
esp32_wrover
default_envs =
;nodemcuv2
;esp8266_2m
;esp01_1m_full
;nodemcuv2_160
;esp8266_2m_160
;esp01_1m_full_160
;nodemcuv2_compat
;esp8266_2m_compat
;esp01_1m_full_compat
;esp32dev
;esp32dev_debug
;esp32_eth
;esp32_wrover
; lolin_s2_mini ;; TODO: disabled NeoEsp32RmtMethodIsr
esp32c3dev
;esp32c3dev
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TODO: revert before merge, here to save CI build time

; esp32s3dev_16MB_opi ;; TODO: disabled NeoEsp32RmtMethodIsr
; esp32s3dev_8MB_opi ;; TODO: disabled NeoEsp32RmtMethodIsr
;esp32s3_4M_qspi ;; TODO: disabled NeoEsp32RmtMethodIsr
esp32c6dev_4MB
; usermods

src_dir = ./wled00
Expand Down Expand Up @@ -160,10 +162,12 @@ upload_speed = 115200
# ------------------------------------------------------------------------------
lib_compat_mode = strict
lib_deps =
fastled/FastLED @ 3.10.1
; fastled/FastLED @ 3.10.1
https://github.com/netmindz/FastLED.git#ESP32-C6 ;; patched version needed for -C6
; IRremoteESP8266 @ 2.8.2
makuna/NeoPixelBus @ 2.8.3
https://github.com/Aircoookie/ESPAsyncWebServer.git#v2.4.2
; https://github.com/Aircoookie/ESPAsyncWebServer.git#v2.4.2
https://github.com/softhack007/ESPAsyncWebServer.git#ESP32-C6 ;; patched version needed for -C6
marvinroger/AsyncMqttClient @ 0.9.0
# for I2C interface
;Wire
Expand Down Expand Up @@ -341,6 +345,72 @@ lib_deps =
board_build.partitions = ${esp32.default_partitions} ;; default partioning for 4MB Flash - can be overridden in build envs
board_build.flash_mode = qio


[esp32c6]
;; generic definitions for all ESP32-C6 boards
platform = https://github.com/tasmota/platform-espressif32/releases/download/2024.06.10/platform-espressif32.zip
platform_packages =
;;platform_packages =
;; framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#3.0.1
;; framework-arduinoespressif32-libs @ https://github.com/espressif/arduino-esp32/releases/download/3.0.1/esp32-arduino-libs-3.0.1.zip

board = esp32-c6-devkitm-1
build_flags = -g
-DARDUINO_ARCH_ESP32
-DARDUINO_ARCH_ESP32C6
-DCONFIG_IDF_TARGET_ESP32C6=1
-D CONFIG_ASYNC_TCP_USE_WDT=0
-DCO
Comment thread
softhack007 marked this conversation as resolved.
-DARDUINO_USB_MODE=1 ;; this flag is mandatory for ESP32-C3
;; please make sure that the following flags are properly set (to 0 or 1) by your board.json, or included in your custom platformio_override.ini entry:
;; ARDUINO_USB_CDC_ON_BOOT
lib_deps =
;;https://github.com/pbolduc/AsyncTCP.git @ 1.2.0
https://github.com/softhack007/AsyncTCP.git#ESP32-C6 ;; patched version needed for -C6
makuna/NeoPixelBus @ 2.8.0 ;; latest version neeeded for -C6
${env.lib_deps}

Comment thread
softhack007 marked this conversation as resolved.

[env:esp32c6dev_8MB]
;; ESP32-C6 "devkit C" with 8MB flash
extends = esp32c6
platform = ${esp32c6.platform}
platform_packages = ${esp32c6.platform_packages}
framework = arduino
board = esp32-c6-devkitc-1

build_unflags = ${common.build_unflags}
build_flags = ${common.build_flags} ${esp32c6.build_flags} -D WLED_RELEASE_NAME=ESP32-C6_8MB
-Wno-volatile -Wno-deprecated-declarations ;; silence compiler warnings
-Wno-cpp ;; silence '#pragma warning' messages
-D WLED_WATCHDOG_TIMEOUT=0
;; -DLOLIN_WIFI_FIX ; might be needed on "-C6 mini"
;;-DARDUINO_USB_CDC_ON_BOOT=1 ;; for virtual CDC USB
-DARDUINO_USB_CDC_ON_BOOT=0 ;; for serial-to-USB chip
-D WLED_DISABLE_INFRARED ;; library not not compatible with -C6
-D WLED_DISABLE_ESPNOW ;; not sure if this will work
-D WLED_DISABLE_ALEXA ;; compile errors
-D WLED_DISABLE_WEBSOCKETS ;; not sure if this will work (hacks needed in asyncWebserver)
upload_speed = 460800
lib_deps = ${esp32c6.lib_deps}
lib_ignore =
IRremoteESP8266 ; use with WLED_DISABLE_INFRARED for faster compilation

board_build.partitions = ${esp32.large_partitions}
board_build.f_flash = 80000000L
board_build.flash_mode = qio
board_build.arduino.memory_type = qio_qspi
monitor_filters = esp32_exception_decoder

[env:esp32c6dev_4MB]
;; ESP32-C6 "devkit M" with 4MB flash
extends = env:esp32c6dev_8MB
board = esp32-c6-devkitm-1
board_build.partitions = ${esp32.default_partitions}
build_unflags = ${env:esp32c6dev_8MB.build_unflags} -D WLED_RELEASE_NAME=ESP32-C6_8MB
build_flags = ${env:esp32c6dev_8MB.build_flags} -D WLED_RELEASE_NAME=ESP32-C6_4MB


[esp32s3]
;; generic definitions for all ESP32-S3 boards
platform = ${esp32_idf_V5.platform}
Expand Down
Loading