Skip to content

Commit fa3198b

Browse files
committed
Add v5 demo env
1 parent 43c9b0f commit fa3198b

1 file changed

Lines changed: 37 additions & 0 deletions

File tree

platformio.ini

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ default_envs = nodemcuv2
3232
esp32s3dev_8MB_qspi
3333
esp32s3_4M_qspi
3434
usermods
35+
esp32_V5_debug
3536

3637
src_dir = ./wled00
3738
data_dir = ./wled00/data
@@ -713,3 +714,39 @@ board_build.flash_mode = dio
713714
custom_usermods = * ; Expands to all usermods in usermods folder
714715
board_build.partitions = ${esp32.extreme_partitions} ; We're gonna need a bigger boat
715716

717+
718+
[env:esp32_V5_debug]
719+
extends = env:esp32dev
720+
#platform = https://github.com/pioarduino/platform-espressif32/releases/download/55.03.37/platform-espressif32.zip
721+
platform = https://github.com/tasmota/platform-espressif32/releases/download/2026.02.30/platform-espressif32.zip
722+
lib_deps =
723+
fastled/FastLED @ 3.10.3
724+
crankyoldgit/IRremoteESP8266 @ 2.9.0
725+
#makuna/NeoPixelBus @ 2.8.4
726+
NeoPixelBus = git+https://github.com/Makuna/NeoPixelBus#76afe832f74b0738a3fa1bba0caf389ade9e7693
727+
AsyncMqttClient @ 0.9.0
728+
ESPAsyncWebServerWLED = git+https://github.com/Aircoookie/ESPAsyncWebServer#ac44e32abf2a69ae650412fb6bc193c59ccac38a
729+
#gmag11/QuickESPNow
730+
https://github.com/blazoncek/QuickESPNow.git#optional-debug
731+
esp32async/AsyncTCP @ 3.4.10
732+
bitbank2/AnimatedGIF@^1.4.7
733+
git+https://github.com/Aircoookie/GifDecoder#bc3af189b6b1e06946569f6b4287f0b79a860f8e
734+
build_flags = ${common.build_flags}
735+
-g
736+
-Wshadow=compatible-local ;; emit warning in case a local variable "shadows" another local one
737+
${esp32_all_variants.build_flags}
738+
-D WLED_RELEASE_NAME=\"ESP32_V5\" #-D WLED_DISABLE_BROWNOUT_DET
739+
-D ARDUINO_USB_CDC_ON_BOOT=0 ;; this flag is mandatory for "classic ESP32" when building with arduino-esp32 >=2.0.3
740+
-D ESP32_ARDUINO_NO_RGB_BUILTIN
741+
-D WLED_DEBUG
742+
custom_usermods =
743+
#https://github.com/MoonModules/WLED-AudioReactive-Usermod
744+
example = git+https://github.com/wled/wled-usermod-example.git#main
745+
746+
[v5_pioarduino_workaround]
747+
# This is a disgusting workaround for a pioarduino "feature": if you don't ever mention lib_archive in your platformio.ini
748+
# it forces it off globally, causing unused code from all libraries to be included even if you don't use it.
749+
# This causes FastLED to activate its driver framework, stealing hardware resources we want to use.
750+
# To work around this, all that we have to do is mention lib_archive in any section, even if it's never used; then
751+
# pioarduino believes we know what we're doing, and lets us do what we want.
752+
lib_archive = yes

0 commit comments

Comments
 (0)