Compile WLED with Visual Studio Code PlatformIO Issue

Hello everyone,
What I want is to compile WLED Audio Reactive by myself and use some minimal -D pindefins.
But I get warnings and no compiled binary.

I created a platformio_override.ini in the main folder with the following code:

# Example PlatformIO Project Configuration Override
# ------------------------------------------------------------------------------
# Copy to platformio_override.ini to activate overrides
# ------------------------------------------------------------------------------
# Please visit documentation: https://docs.platformio.org/page/projectconf.html

[platformio]
default_envs = esp32dev_audioreactive

[env:esp32dev_audioreactive]
board = esp32dev
platform = ${esp32.platform}
platform_packages = ${esp32.platform_packages}
build_unflags = ${common.build_unflags}
build_flags = ${common.build_flags_esp32} -D WLED_RELEASE_NAME=ESP32_audioreactive #-D WLED_DISABLE_BROWNOUT_DET
-D BTNPIN=35
-D IRPIN=34
-D STATUSLED=2
-D RLYPIN=13
  ${esp32.AR_build_flags}
lib_deps = ${esp32.lib_deps}
  ${esp32.AR_lib_deps}
monitor_filters = esp32_exception_decoder
board_build.partitions = ${esp32.default_partitions}

When loading the project I got the following problems:

This is how it looks when i compile:

And this is my Terminal log:

Warning! Ignore unknown configuration option `-d btnpin` in section [env:esp32dev_audioreactive]
Warning! Ignore unknown configuration option `-d irpin` in section [env:esp32dev_audioreactive]
Warning! Ignore unknown configuration option `-d statusled` in section [env:esp32dev_audioreactive]
Warning! Ignore unknown configuration option `-d rlypin` in section [env:esp32dev_audioreactive]
Processing esp32dev_audioreactive (board: esp32dev; platform: espressif32@3.5.0; framework: arduino)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Verbose mode can be enabled via `-v, --verbose` option
*** use existing my_config.h ***
CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/esp32dev.html
PLATFORM: Espressif 32 (3.5.0) > Espressif ESP32 Dev Module
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
DEBUG: Current (esp-prog) External (esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa)
PACKAGES: 
 - framework-arduinoespressif32 @ 0.0.0+sha.4b0c087
 - tool-esptoolpy @ 1.30100.210531 (3.1.0)
 - toolchain-xtensa32 @ 2.50200.97 (5.2.0)
Converting wled00.ino
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ strict
Found 36 compatible libraries
Scanning dependencies...
Dependency Graph
|-- LittleFS_esp32 @ 1.0.6+sha.f0817ca
|-- AsyncTCP @ 1.2.0+sha.38b8475
|-- FastLED @ 3.6.0
|-- IRremoteESP8266 @ 2.8.2
|-- NeoPixelBus @ 2.7.5
|-- ESPAsyncWebServerWLED @ 2.2.1+sha.6d2540d
|-- arduinoFFT @ 1.9.2+sha.419d7b0
|-- Wire @ 1.0.1
|-- SD(esp32) @ 1.0.5
|-- SD_MMC @ 1.0
|-- SPI @ 1.0
|-- EEPROM @ 1.0.3
|-- ArduinoOTA @ 1.0
|-- DNSServer @ 1.1.0
|-- ESPmDNS @ 1.0
|-- WiFi @ 1.0
|-- ESP32 Async UDP @ 1.0.0
|-- WebServer @ 1.0
Building in release mode
Compiling .pio\build\esp32dev_audioreactive\src\wled00.ino.cpp.o
Retrieving maximum program size .pio\build\esp32dev_audioreactive\firmware.elf
Checking size .pio\build\esp32dev_audioreactive\firmware.elf
Advanced Memory Usage is available via "PlatformIO Home > Project Inspect"
RAM:   [==        ]  22.1% (used 72356 bytes from 327680 bytes)
Flash: [========  ]  81.7% (used 1284885 bytes from 1572864 bytes)
========================================================================================== [SUCCESS] Took 11.73 seconds ==========================================================================================

Environment             Status    Duration
----------------------  --------  ------------
esp32dev_audioreactive  SUCCESS   00:00:11.731
========================================================================================== 1 succeeded in 00:00:11.731 ==========================================================================================
 *  Terminal will be reused by tasks, press any key to close it.

I don’t know why this issue is listed here:


Can you tell me what I am doing wrong?

You need to indent the flags so it knows this is a continuation of the build_flags not a new option

P.s you know need to define the pins like this if you need them to survive a factory reset, something normally only makers of hardware need not regular users

Thank you for your fast responce!
I didn´t know that the TAB was necessary at this point and PIO recognices this. :nerd_face:
Now I am able to compile and get an binary, but I also get some warnings. Can I ignore them?

P.s you know need to define the pins like this if you need them to survive a factory reset, something normally only makers of hardware need not regular users

I didn’t understand exactly what you were trying to tell me.
I have created my own circuit board and want to use the wifi status LED. I was thinking that I should also configure the other pins so that I don’t have to do this after flashing the ESP. Am I wrong?

Processing esp32dev_audioreactive (board: esp32dev; platform: espressif32@3.5.0; framework: arduino)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Verbose mode can be enabled via `-v, --verbose` option
*** use existing my_config.h ***
CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/esp32dev.html
PLATFORM: Espressif 32 (3.5.0) > Espressif ESP32 Dev Module
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
DEBUG: Current (esp-prog) External (esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa)
PACKAGES:
 - framework-arduinoespressif32 @ 0.0.0+sha.4b0c087
 - tool-esptoolpy @ 1.30100.210531 (3.1.0)
 - toolchain-xtensa32 @ 2.50200.97 (5.2.0)
Converting wled00.ino
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ strict
Found 36 compatible libraries
Scanning dependencies...
Dependency Graph
|-- LittleFS_esp32 @ 1.0.6+sha.f0817ca
|-- AsyncTCP @ 1.2.0+sha.38b8475
|-- FastLED @ 3.6.0
|-- IRremoteESP8266 @ 2.8.2
|-- NeoPixelBus @ 2.7.5
|-- ESPAsyncWebServerWLED @ 2.2.1+sha.6d2540d
|-- arduinoFFT @ 1.9.2+sha.419d7b0
|-- Wire @ 1.0.1
|-- SD(esp32) @ 1.0.5
|-- SD_MMC @ 1.0
|-- SPI @ 1.0
|-- EEPROM @ 1.0.3
|-- ArduinoOTA @ 1.0
|-- DNSServer @ 1.1.0
|-- ESPmDNS @ 1.0
|-- WiFi @ 1.0
|-- ESP32 Async UDP @ 1.0.0
|-- WebServer @ 1.0
Building in release mode
Compiling .pio\build\esp32dev_audioreactive\lib448\FastLED\FastLED.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib448\FastLED\bitswap.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib448\FastLED\colorpalettes.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib448\FastLED\colorutils.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib448\FastLED\hsv2rgb.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib448\FastLED\lib8tion.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib448\FastLED\noise.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib448\FastLED\platforms.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib448\FastLED\platforms\esp\32\clockless_rmt_esp32.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib448\FastLED\power_mgt.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib448\FastLED\wiring.cpp.o
Compiling .pio\build\esp32dev_audioreactive\src\FX.cpp.o
Compiling .pio\build\esp32dev_audioreactive\src\FX_2Dfcn.cpp.o
Compiling .pio\build\esp32dev_audioreactive\src\FX_fcn.cpp.o
Compiling .pio\build\esp32dev_audioreactive\src\alexa.cpp.o
Compiling .pio\build\esp32dev_audioreactive\src\bus_manager.cpp.o
Compiling .pio\build\esp32dev_audioreactive\src\button.cpp.o
Compiling .pio\build\esp32dev_audioreactive\src\cfg.cpp.o
Compiling .pio\build\esp32dev_audioreactive\src\colors.cpp.o
Compiling .pio\build\esp32dev_audioreactive\src\dmx.cpp.o
Compiling .pio\build\esp32dev_audioreactive\src\e131.cpp.o
Compiling .pio\build\esp32dev_audioreactive\src\file.cpp.o
Compiling .pio\build\esp32dev_audioreactive\src\hue.cpp.o
Compiling .pio\build\esp32dev_audioreactive\src\improv.cpp.o
Compiling .pio\build\esp32dev_audioreactive\src\ir.cpp.o
Compiling .pio\build\esp32dev_audioreactive\src\json.cpp.o
Compiling .pio\build\esp32dev_audioreactive\src\led.cpp.o
Compiling .pio\build\esp32dev_audioreactive\src\lx_parser.cpp.o
Compiling .pio\build\esp32dev_audioreactive\src\mqtt.cpp.o
Compiling .pio\build\esp32dev_audioreactive\src\net_debug.cpp.o
Compiling .pio\build\esp32dev_audioreactive\src\network.cpp.o
Compiling .pio\build\esp32dev_audioreactive\src\ntp.cpp.o
Compiling .pio\build\esp32dev_audioreactive\src\overlay.cpp.o
Compiling .pio\build\esp32dev_audioreactive\src\pin_manager.cpp.o
Compiling .pio\build\esp32dev_audioreactive\src\playlist.cpp.o
Compiling .pio\build\esp32dev_audioreactive\src\presets.cpp.o
Compiling .pio\build\esp32dev_audioreactive\src\remote.cpp.o
Compiling .pio\build\esp32dev_audioreactive\src\set.cpp.o
Compiling .pio\build\esp32dev_audioreactive\src\src\dependencies\async-mqtt-client\AsyncMqttClient.cpp.o
Compiling .pio\build\esp32dev_audioreactive\src\src\dependencies\async-mqtt-client\AsyncMqttClient\Packets\ConnAckPacket.cpp.o
Compiling .pio\build\esp32dev_audioreactive\src\src\dependencies\async-mqtt-client\AsyncMqttClient\Packets\PingRespPacket.cpp.o
Compiling .pio\build\esp32dev_audioreactive\src\src\dependencies\async-mqtt-client\AsyncMqttClient\Packets\PubAckPacket.cpp.o
Compiling .pio\build\esp32dev_audioreactive\src\src\dependencies\async-mqtt-client\AsyncMqttClient\Packets\PubCompPacket.cpp.o
Compiling .pio\build\esp32dev_audioreactive\src\src\dependencies\async-mqtt-client\AsyncMqttClient\Packets\PubRecPacket.cpp.o
Compiling .pio\build\esp32dev_audioreactive\src\src\dependencies\async-mqtt-client\AsyncMqttClient\Packets\PubRelPacket.cpp.o
Compiling .pio\build\esp32dev_audioreactive\src\src\dependencies\async-mqtt-client\AsyncMqttClient\Packets\PublishPacket.cpp.o
Compiling .pio\build\esp32dev_audioreactive\src\src\dependencies\async-mqtt-client\AsyncMqttClient\Packets\SubAckPacket.cpp.o
Compiling .pio\build\esp32dev_audioreactive\src\src\dependencies\async-mqtt-client\AsyncMqttClient\Packets\UnsubAckPacket.cpp.o
Compiling .pio\build\esp32dev_audioreactive\src\src\dependencies\dmx\ESPDMX.cpp.o
Compiling .pio\build\esp32dev_audioreactive\src\src\dependencies\dmx\SparkFunDMX.cpp.o
Compiling .pio\build\esp32dev_audioreactive\src\src\dependencies\e131\ESPAsyncE131.cpp.o
Compiling .pio\build\esp32dev_audioreactive\src\src\dependencies\espalexa\EspalexaDevice.cpp.o
Compiling .pio\build\esp32dev_audioreactive\src\src\dependencies\network\Network.cpp.o
Compiling .pio\build\esp32dev_audioreactive\src\src\dependencies\time\DS1307RTC.cpp.o
Compiling .pio\build\esp32dev_audioreactive\src\src\dependencies\time\DateStrings.cpp.o
Compiling .pio\build\esp32dev_audioreactive\src\src\dependencies\time\Time.cpp.o
Compiling .pio\build\esp32dev_audioreactive\src\src\dependencies\timezone\Timezone.cpp.o
Compiling .pio\build\esp32dev_audioreactive\src\udp.cpp.o
Compiling .pio\build\esp32dev_audioreactive\src\um_manager.cpp.o
Compiling .pio\build\esp32dev_audioreactive\src\usermod.cpp.o
Compiling .pio\build\esp32dev_audioreactive\src\usermods_list.cpp.o
Compiling .pio\build\esp32dev_audioreactive\src\util.cpp.o
Compiling .pio\build\esp32dev_audioreactive\src\wled.cpp.o
Compiling .pio\build\esp32dev_audioreactive\src\wled00.ino.cpp.o
Compiling .pio\build\esp32dev_audioreactive\src\wled_eeprom.cpp.o
Compiling .pio\build\esp32dev_audioreactive\src\wled_math.cpp.o
Compiling .pio\build\esp32dev_audioreactive\src\wled_serial.cpp.o
Compiling .pio\build\esp32dev_audioreactive\src\wled_server.cpp.o
Compiling .pio\build\esp32dev_audioreactive\src\ws.cpp.o
Compiling .pio\build\esp32dev_audioreactive\src\xml.cpp.o
Retrieved `.pio\build\esp32dev_audioreactive\partitions.bin' from cache
Compiling .pio\build\esp32dev_audioreactive\liba85\FS\FS.cpp.o
Compiling .pio\build\esp32dev_audioreactive\liba85\FS\vfs_api.cpp.o
Compiling .pio\build\esp32dev_audioreactive\libdf8\LittleFS_esp32\LITTLEFS.cpp.o
Compiling .pio\build\esp32dev_audioreactive\libdf8\LittleFS_esp32\esp_littlefs.c.o
Compiling .pio\build\esp32dev_audioreactive\libdf8\LittleFS_esp32\lfs.c.o
Compiling .pio\build\esp32dev_audioreactive\libdf8\LittleFS_esp32\lfs_util.c.o
Compiling .pio\build\esp32dev_audioreactive\libdf8\LittleFS_esp32\littlefs_api.c.o
Compiling .pio\build\esp32dev_audioreactive\lib846\AsyncTCP@src-39de97abf7348c44d4dda815b8aab0ae\AsyncTCP.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib855\SPI\SPI.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib70f\IRremoteESP8266\IRac.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib70f\IRremoteESP8266\IRrecv.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib70f\IRremoteESP8266\IRsend.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib70f\IRremoteESP8266\IRtext.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib70f\IRremoteESP8266\IRtimer.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib70f\IRremoteESP8266\IRutils.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib70f\IRremoteESP8266\ir_Airton.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib70f\IRremoteESP8266\ir_Airwell.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib70f\IRremoteESP8266\ir_Aiwa.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib70f\IRremoteESP8266\ir_Amcor.cpp.o
Archiving .pio\build\esp32dev_audioreactive\liba85\libFS.a
wled00/ws.cpp: In function 'void sendDataWs(AsyncWebSocketClient*)':
wled00/ws.cpp:122:29: warning: 'AsyncWebSocketMessageBuffer* ***AsyncWebSocket::makeBuffer(size_t)' is deprecated [-Wdeprecated-declarations]***
***   buffer = ws.makeBuffer(len); // will not allocate correct memory sometimes on ESP8266***
***                             ^***
***In file included from .pio/libdeps/esp32dev_audioreactive/ESPAsyncWebServerWLED/src/ESPAsyncWebServer.h:469:0,***
***                 from wled00/wled.h:111,***
***                 from wled00/ws.cpp:1:***
***.pio/libdeps/esp32dev_audioreactive/ESPAsyncWebServerWLED/src/AsyncWebSocket.h:354:34: note: declared here***
***     AsyncWebSocketMessageBuffer* makeBuffer(size_t size = 0) __attribute__((deprecated));***
***                                  ^***
***wled00/ws.cpp:143:24: warning: 'void AsyncWebSocketClient::text(AsyncWebSocketMessageBuffer*)' is deprecated [-Wdeprecated-declarations]***
***     client->text(buffer);***
***                        ^***
***In file included from .pio/libdeps/esp32dev_audioreactive/ESPAsyncWebServerWLED/src/ESPAsyncWebServer.h:469:0,***
***                 from wled00/wled.h:111,***
***                 from wled00/ws.cpp:1:***
***.pio/libdeps/esp32dev_audioreactive/ESPAsyncWebServerWLED/src/AsyncWebSocket.h:240:10: note: declared here***
***     void text(AsyncWebSocketMessageBuffer* buffer) __attribute__((deprecated));  // frees buffer***
***          ^***
***wled00/ws.cpp:146:22: warning: 'void AsyncWebSocket::textAll(const AsyncWebSocketMessageBuffer*)' is deprecated [-Wdeprecated-declarations]***
***     ws.textAll(buffer);***
***                      ^***
***In file included from .pio/libdeps/esp32dev_audioreactive/ESPAsyncWebServerWLED/src/ESPAsyncWebServer.h:469:0,***
***                 from wled00/wled.h:111,***
***                 from wled00/ws.cpp:1:***
***.pio/libdeps/esp32dev_audioreactive/ESPAsyncWebServerWLED/src/AsyncWebSocket.h:310:10: note: declared here***
***     void textAll(const AsyncWebSocketMessageBuffer* buffer) __attribute__((deprecated));  // frees buffer***
***          ^***
***wled00/ws.cpp: In function 'bool sendLiveLedsWs(uint32_t)':***
***wled00/ws.cpp:170:62: warning: 'AsyncWebSocketMessageBuffer* AsyncWebSocket::makeBuffer(size_t)' is deprecated [-Wdeprecated-declarations]***
***   AsyncWebSocketMessageBuffer * wsBuf = ws.makeBuffer(bufSize);***
***                                                              ^***
***In file included from .pio/libdeps/esp32dev_audioreactive/ESPAsyncWebServerWLED/src/ESPAsyncWebServer.h:469:0,***
***                 from wled00/wled.h:111,***
***                 from wled00/ws.cpp:1:***
***.pio/libdeps/esp32dev_audioreactive/ESPAsyncWebServerWLED/src/AsyncWebSocket.h:354:34: note: declared here***
***     AsyncWebSocketMessageBuffer* makeBuffer(size_t size = 0) __attribute__((deprecated));***
***                                  ^***
***wled00/ws.cpp:211:20: warning: 'void AsyncWebSocketClient::binary(AsyncWebSocketMessageBuffer*)' is deprecated [-Wdeprecated-declarations]***
***   wsc->binary(wsBuf);***
***                    ^***
***In file included from .pio/libdeps/esp32dev_audioreactive/ESPAsyncWebServerWLED/src/ESPAsyncWebServer.h:469:0,***
***                 from wled00/wled.h:111,***
***                 from wled00/ws.cpp:1:***
***.pio/libdeps/esp32dev_audioreactive/ESPAsyncWebServerWLED/src/AsyncWebSocket.h:249:10: note: declared here***
***     void binary(AsyncWebSocketMessageBuffer* buffer) __attribute__((deprecated));  // frees buffer***
***          ^***
***Archiving .pio\build\esp32dev_audioreactive\lib855\libSPI.a***
***wled00/wled.cpp: In member function 'void WLED::handleStatusLED()':***
***wled00/wled.cpp:906:12: warning: variable 'c' set but not used [-Wunused-but-set-variable]***
***   uint32_t c = 0;***
***            ^***
Archiving .pio\build\esp32dev_audioreactive\libdf8\libLittleFS_esp32.a
Compiling .pio\build\esp32dev_audioreactive\lib70f\IRremoteESP8266\ir_Argo.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib70f\IRremoteESP8266\ir_Arris.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib70f\IRremoteESP8266\ir_Bose.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib70f\IRremoteESP8266\ir_Carrier.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib70f\IRremoteESP8266\ir_Coolix.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib70f\IRremoteESP8266\ir_Corona.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib70f\IRremoteESP8266\ir_Daikin.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib70f\IRremoteESP8266\ir_Delonghi.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib70f\IRremoteESP8266\ir_Denon.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib70f\IRremoteESP8266\ir_Dish.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib70f\IRremoteESP8266\ir_Doshisha.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib70f\IRremoteESP8266\ir_Ecoclim.cpp.o
Archiving .pio\build\esp32dev_audioreactive\lib846\libAsyncTCP@src-39de97abf7348c44d4dda815b8aab0ae.a
Compiling .pio\build\esp32dev_audioreactive\lib70f\IRremoteESP8266\ir_Electra.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib70f\IRremoteESP8266\ir_EliteScreens.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib70f\IRremoteESP8266\ir_Epson.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib70f\IRremoteESP8266\ir_Fujitsu.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib70f\IRremoteESP8266\ir_GICable.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib70f\IRremoteESP8266\ir_GlobalCache.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib70f\IRremoteESP8266\ir_Goodweather.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib70f\IRremoteESP8266\ir_Gree.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib70f\IRremoteESP8266\ir_Haier.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib70f\IRremoteESP8266\ir_Hitachi.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib70f\IRremoteESP8266\ir_Inax.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib70f\IRremoteESP8266\ir_JVC.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib70f\IRremoteESP8266\ir_Kelon.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib70f\IRremoteESP8266\ir_Kelvinator.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib70f\IRremoteESP8266\ir_LG.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib70f\IRremoteESP8266\ir_Lasertag.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib70f\IRremoteESP8266\ir_Lego.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib70f\IRremoteESP8266\ir_Lutron.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib70f\IRremoteESP8266\ir_MWM.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib70f\IRremoteESP8266\ir_Magiquest.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib70f\IRremoteESP8266\ir_Metz.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib70f\IRremoteESP8266\ir_Midea.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib70f\IRremoteESP8266\ir_MilesTag2.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib70f\IRremoteESP8266\ir_Mirage.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib70f\IRremoteESP8266\ir_Mitsubishi.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib70f\IRremoteESP8266\ir_MitsubishiHeavy.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib70f\IRremoteESP8266\ir_Multibrackets.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib70f\IRremoteESP8266\ir_NEC.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib70f\IRremoteESP8266\ir_Neoclima.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib70f\IRremoteESP8266\ir_Nikai.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib70f\IRremoteESP8266\ir_Panasonic.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib70f\IRremoteESP8266\ir_Pioneer.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib70f\IRremoteESP8266\ir_Pronto.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib70f\IRremoteESP8266\ir_RC5_RC6.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib70f\IRremoteESP8266\ir_RCMM.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib70f\IRremoteESP8266\ir_Rhoss.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib70f\IRremoteESP8266\ir_Samsung.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib70f\IRremoteESP8266\ir_Sanyo.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib70f\IRremoteESP8266\ir_Sharp.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib70f\IRremoteESP8266\ir_Sherwood.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib70f\IRremoteESP8266\ir_Sony.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib70f\IRremoteESP8266\ir_Symphony.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib70f\IRremoteESP8266\ir_Tcl.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib70f\IRremoteESP8266\ir_Technibel.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib70f\IRremoteESP8266\ir_Teco.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib70f\IRremoteESP8266\ir_Teknopoint.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib70f\IRremoteESP8266\ir_Toshiba.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib70f\IRremoteESP8266\ir_Transcold.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib70f\IRremoteESP8266\ir_Trotec.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib70f\IRremoteESP8266\ir_Truma.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib70f\IRremoteESP8266\ir_Vestel.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib70f\IRremoteESP8266\ir_Voltas.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib70f\IRremoteESP8266\ir_Whirlpool.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib70f\IRremoteESP8266\ir_Whynter.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib70f\IRremoteESP8266\ir_Xmp.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib70f\IRremoteESP8266\ir_Zepeal.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib7f2\NeoPixelBus\internal\animations\NeoPixelAnimator.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib7f2\NeoPixelBus\internal\colors\HsbColor.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib7f2\NeoPixelBus\internal\colors\HslColor.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib7f2\NeoPixelBus\internal\colors\HtmlColor.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib7f2\NeoPixelBus\internal\colors\HtmlColorNameStrings.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib7f2\NeoPixelBus\internal\colors\HtmlColorNames.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib7f2\NeoPixelBus\internal\colors\HtmlColorShortNames.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib7f2\NeoPixelBus\internal\colors\NeoGammaDynamicTableMethod.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib7f2\NeoPixelBus\internal\colors\NeoGammaTableMethod.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib7f2\NeoPixelBus\internal\colors\Rgb48Color.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib7f2\NeoPixelBus\internal\colors\RgbColor.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib7f2\NeoPixelBus\internal\colors\RgbColorBase.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib7f2\NeoPixelBus\internal\colors\Rgbw64Color.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib7f2\NeoPixelBus\internal\colors\RgbwColor.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib7f2\NeoPixelBus\internal\colors\SegmentDigit.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib7f2\NeoPixelBus\internal\methods\Esp32_i2s.c.o
Compiling .pio\build\esp32dev_audioreactive\lib7f2\NeoPixelBus\internal\methods\NeoEsp32RmtMethod.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib7f2\NeoPixelBus\internal\methods\NeoEsp8266I2sMethodCore.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib7f2\NeoPixelBus\internal\methods\NeoEsp8266UartMethod.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib7f2\NeoPixelBus\internal\methods\NeoEspBitBangMethod.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib7f2\NeoPixelBus\internal\methods\NeoPixelAvr.c.o
Archiving .pio\build\esp32dev_audioreactive\lib70f\libIRremoteESP8266.a
Compiling .pio\build\esp32dev_audioreactive\lib380\WiFi\ETH.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib380\WiFi\WiFi.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib380\WiFi\WiFiAP.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib380\WiFi\WiFiClient.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib380\WiFi\WiFiGeneric.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib380\WiFi\WiFiMulti.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib380\WiFi\WiFiSTA.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib380\WiFi\WiFiScan.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib380\WiFi\WiFiServer.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib380\WiFi\WiFiUdp.cpp.o
Compiling .pio\build\esp32dev_audioreactive\libb47\ESPAsyncWebServerWLED\AsyncEventSource.cpp.o
Compiling .pio\build\esp32dev_audioreactive\libb47\ESPAsyncWebServerWLED\AsyncWebSocket.cpp.o
Compiling .pio\build\esp32dev_audioreactive\libb47\ESPAsyncWebServerWLED\ContentTypes.cpp.o
Compiling .pio\build\esp32dev_audioreactive\libb47\ESPAsyncWebServerWLED\DynamicBuffer.cpp.o
Compiling .pio\build\esp32dev_audioreactive\libb47\ESPAsyncWebServerWLED\SPIFFSEditor.cpp.o
Compiling .pio\build\esp32dev_audioreactive\libb47\ESPAsyncWebServerWLED\WebAuthentication.cpp.o
Compiling .pio\build\esp32dev_audioreactive\libb47\ESPAsyncWebServerWLED\WebHandlers.cpp.o
Compiling .pio\build\esp32dev_audioreactive\libb47\ESPAsyncWebServerWLED\WebRequest.cpp.o
Compiling .pio\build\esp32dev_audioreactive\libb47\ESPAsyncWebServerWLED\WebResponses.cpp.o
Archiving .pio\build\esp32dev_audioreactive\lib7f2\libNeoPixelBus.a
Compiling .pio\build\esp32dev_audioreactive\libb47\ESPAsyncWebServerWLED\WebServer.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib861\Wire\Wire.cpp.o
Compiling .pio\build\esp32dev_audioreactive\liba4b\SD\SD.cpp.o
Compiling .pio\build\esp32dev_audioreactive\liba4b\SD\sd_diskio.cpp.o
Compiling .pio\build\esp32dev_audioreactive\liba4b\SD\sd_diskio_crc.c.o
Compiling .pio\build\esp32dev_audioreactive\lib760\SD_MMC\SD_MMC.cpp.o
Archiving .pio\build\esp32dev_audioreactive\lib380\libWiFi.a
Archiving .pio\build\esp32dev_audioreactive\lib861\libWire.a
Compiling .pio\build\esp32dev_audioreactive\lib979\EEPROM\EEPROM.cpp.o
Compiling .pio\build\esp32dev_audioreactive\libb3b\Update\HttpsOTAUpdate.cpp.o
Compiling .pio\build\esp32dev_audioreactive\libb3b\Update\Updater.cpp.o
Compiling .pio\build\esp32dev_audioreactive\libe9d\ESPmDNS\ESPmDNS.cpp.o
Compiling .pio\build\esp32dev_audioreactive\libc6f\ArduinoOTA\ArduinoOTA.cpp.o
Archiving .pio\build\esp32dev_audioreactive\liba4b\libSD.a
Compiling .pio\build\esp32dev_audioreactive\lib09a\DNSServer\DNSServer.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib956\AsyncUDP\AsyncUDP.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib2b5\WebServer\Parsing.cpp.o
Archiving .pio\build\esp32dev_audioreactive\lib760\libSD_MMC.a
Archiving .pio\build\esp32dev_audioreactive\libb47\libESPAsyncWebServerWLED.a
Compiling .pio\build\esp32dev_audioreactive\lib2b5\WebServer\WebServer.cpp.o
Compiling .pio\build\esp32dev_audioreactive\lib2b5\WebServer\detail\mimetable.cpp.o
Retrieved `.pio\build\esp32dev_audioreactive\libFrameworkArduinoVariant.a' from cache
Compiling .pio\build\esp32dev_audioreactive\FrameworkArduino\Esp.cpp.o
Archiving .pio\build\esp32dev_audioreactive\lib979\libEEPROM.a
Compiling .pio\build\esp32dev_audioreactive\FrameworkArduino\FunctionalInterrupt.cpp.o
Compiling .pio\build\esp32dev_audioreactive\FrameworkArduino\HardwareSerial.cpp.o
Compiling .pio\build\esp32dev_audioreactive\FrameworkArduino\IPAddress.cpp.o
Compiling .pio\build\esp32dev_audioreactive\FrameworkArduino\IPv6Address.cpp.o
Compiling .pio\build\esp32dev_audioreactive\FrameworkArduino\MD5Builder.cpp.o
Compiling .pio\build\esp32dev_audioreactive\FrameworkArduino\Print.cpp.o
Compiling .pio\build\esp32dev_audioreactive\FrameworkArduino\Stream.cpp.o
Archiving .pio\build\esp32dev_audioreactive\libb3b\libUpdate.a
Compiling .pio\build\esp32dev_audioreactive\FrameworkArduino\StreamString.cpp.o
Compiling .pio\build\esp32dev_audioreactive\FrameworkArduino\WMath.cpp.o
Compiling .pio\build\esp32dev_audioreactive\FrameworkArduino\WString.cpp.o
Compiling .pio\build\esp32dev_audioreactive\FrameworkArduino\base64.cpp.o
Compiling .pio\build\esp32dev_audioreactive\FrameworkArduino\cbuf.cpp.o
Compiling .pio\build\esp32dev_audioreactive\FrameworkArduino\esp32-hal-adc.c.o
Compiling .pio\build\esp32dev_audioreactive\FrameworkArduino\esp32-hal-bt.c.o
Compiling .pio\build\esp32dev_audioreactive\FrameworkArduino\esp32-hal-cpu.c.o
Archiving .pio\build\esp32dev_audioreactive\lib09a\libDNSServer.a
Archiving .pio\build\esp32dev_audioreactive\libe9d\libESPmDNS.a
Compiling .pio\build\esp32dev_audioreactive\FrameworkArduino\esp32-hal-dac.c.o
Compiling .pio\build\esp32dev_audioreactive\FrameworkArduino\esp32-hal-gpio.c.o
Compiling .pio\build\esp32dev_audioreactive\FrameworkArduino\esp32-hal-i2c.c.o
Compiling .pio\build\esp32dev_audioreactive\FrameworkArduino\esp32-hal-ledc.c.o
Archiving .pio\build\esp32dev_audioreactive\libc6f\libArduinoOTA.a
Compiling .pio\build\esp32dev_audioreactive\FrameworkArduino\esp32-hal-log.c.o
Compiling .pio\build\esp32dev_audioreactive\FrameworkArduino\esp32-hal-matrix.c.o
Compiling .pio\build\esp32dev_audioreactive\FrameworkArduino\esp32-hal-misc.c.o
Archiving .pio\build\esp32dev_audioreactive\lib956\libAsyncUDP.a
Compiling .pio\build\esp32dev_audioreactive\FrameworkArduino\esp32-hal-psram.c.o
Compiling .pio\build\esp32dev_audioreactive\FrameworkArduino\esp32-hal-rmt.c.o
Compiling .pio\build\esp32dev_audioreactive\FrameworkArduino\esp32-hal-sigmadelta.c.o
Compiling .pio\build\esp32dev_audioreactive\FrameworkArduino\esp32-hal-spi.c.o
Compiling .pio\build\esp32dev_audioreactive\FrameworkArduino\esp32-hal-time.c.o
Compiling .pio\build\esp32dev_audioreactive\FrameworkArduino\esp32-hal-timer.c.o
Archiving .pio\build\esp32dev_audioreactive\lib2b5\libWebServer.a
Compiling .pio\build\esp32dev_audioreactive\FrameworkArduino\esp32-hal-touch.c.o
Compiling .pio\build\esp32dev_audioreactive\FrameworkArduino\esp32-hal-uart.c.o
Compiling .pio\build\esp32dev_audioreactive\FrameworkArduino\libb64\cdecode.c.o
Compiling .pio\build\esp32dev_audioreactive\FrameworkArduino\libb64\cencode.c.o
Compiling .pio\build\esp32dev_audioreactive\FrameworkArduino\main.cpp.o
*C:\Users\Hannes\.platformio\packages\framework-arduinoespressif32\cores\esp32\esp32-hal-spi.c: In function 'spiTransferBytesNL':*
*C:\Users\Hannes\.platformio\packages\framework-arduinoespressif32\cores\esp32\esp32-hal-spi.c:922:39: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]*
*                 uint8_t * last_out8 = &result[c_longs-1];*
*                                       ^*
*C:\Users\Hannes\.platformio\packages\framework-arduinoespressif32\cores\esp32\esp32-hal-spi.c:923:40: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]*
*Compiling .pio\build\esp32dev_audioreactive\FrameworkArduino\stdlib_noniso.c.o*
*                 uint8_t * last_data8 = &last_data;*
                                        ^
Compiling .pio\build\esp32dev_audioreactive\FrameworkArduino\wiring_pulse.c.o
Compiling .pio\build\esp32dev_audioreactive\FrameworkArduino\wiring_shift.c.o
Archiving .pio\build\esp32dev_audioreactive\libFrameworkArduino.a
Linking .pio\build\esp32dev_audioreactive\firmware.elf
Retrieving maximum program size .pio\build\esp32dev_audioreactive\firmware.elf
Checking size .pio\build\esp32dev_audioreactive\firmware.elf
Advanced Memory Usage is available via "PlatformIO Home > Project Inspect"
RAM:   [==        ]  24.1% (used 78844 bytes from 327680 bytes)
Flash: [========  ]  84.2% (used 1323737 bytes from 1572864 bytes)
Building .pio\build\esp32dev_audioreactive\firmware.bin
esptool.py v3.1
Merged 1 ELF section
bin_rename_copy([".pio\build\esp32dev_audioreactive\firmware.bin"], [".pio\build\esp32dev_audioreactive\firmware.elf"])
bin_gzip([".pio\build\esp32dev_audioreactive\firmware.bin"], [".pio\build\esp32dev_audioreactive\firmware.elf"])
========================================================================================== [SUCCESS] Took 38.61 seconds ==========================================================================================

Environment             Status    Duration
----------------------  --------  ------------
esp32dev_audioreactive  SUCCESS   00:00:38.610
========================================================================================== 1 succeeded in 00:00:38.610 ========================================================================================== 
 *  Terminal will be reused by tasks, press any key to close it. 

You can fiddle with VSC or just compile on github directly ( you can change the code …etc same as in VSC ) , small video below ( you can fork or clone and fork is simpler )
x_gh_build

You may also use the compile helper https://wled-compile.github.io/ for custom compile . Otherwise if you like the unnecessary headache then go with local VSC

If you just need to compile, I agree with ALDIY, codespace is very easy to set-up.

Not really only for compile but even good for changing the code even if you or others do not use it and that video is only for gh compile so not the one related to code spaces which is much more powerful to the point of directly uploading to an esp

Thanks guys!
I have now successfully compiled WLED using https://wled-compile.github.io/ and GitHub.

yes, I know codespace can do all that but only compile is easy to set up, I was not able to get it to upload (and if I spend an hour that is not what I call easy, cause then I can just setup VScode).

I have done everything to the point of downloading the bin from codespaces which i think you are aware of , for the upload you would need an agent same if you used Arduino Online Compiler . That bit I am restricted from doing and one of the major reason for compiling online ( Company PC ) but if you still facing issues then i will try on a laptop or on mac as we might need that in all case for flashing something like s3

It looks like you’re trying to compile the WLED Audio Reactive version with specific pin definitions but are running into warnings and some confusion about your configuration. Here are a few things to check:

  1. Correct Syntax for Build Flags: Make sure that the build flags for your pin definitions are properly formatted. The correct format is -D PIN_NAME=VALUE. For example:

    build_flags = ${common.build_flags_esp32} -D WLED_RELEASE_NAME=ESP32_audioreactive -D BTNPIN=35 -D IRPIN=34 -D STATUSLED=2 -D RLYPIN=13
    
  2. Remove Extra Spaces: Ensure there are no extra spaces or tabs in your platformio_override.ini. Spaces can sometimes cause issues with parsing the configuration file.

  3. Check for Updates: Make sure your PlatformIO and all libraries are up to date. Sometimes, issues arise from outdated versions.

  4. Verify Libraries: Ensure that the libraries listed in lib_deps are compatible with the current version of WLED and the version of the ESP32 platform you’re using.

  5. Review the Configuration: Double-check the main configuration files in the WLED repository to see if there are additional required settings for audio reactive mode.

  6. Verbose Output: If you want more details on what’s going wrong, you can compile with verbose output by adding -v to the compile command or adjusting your PlatformIO settings.

If you continue to have issues, consider posting your questions in the WLED GitHub issues page or a relevant forum where others might have faced similar challenges.