Esp32dev board doesn't compile error when platformio_override.ini is used

I’m hoping someone is using the same board and has been able to compile with the platformio_override.ini file in place. I can compile in VS no problem when I remove/rename the platformio_override.ini file. So I know the issue is in there. I followed the instructions on the site Compiling WLED - WLED Project Making a custom environment. I have removed all my -D lines and have reset platformio by removing the .platformio/env directory. Still the same error "The terminal process “C:\Users\CE.platformio\penv\Scripts\platformio.exe ‘run’, ‘–verbose’” terminated with exit code: 1. " platformio ‘run’ --verbose gives no additional information

WLED version downloaded 8/9/2022 version 0.13.1
Git 2.34.1.windows.1
Note I changed all https to httpss to post. I couldn’t nab enough points until I posted?

Example PlatformIO Project Configuration Override

------------------------------------------------------------------------------

Copy to platformio_override.ini to activate overrides

------------------------------------------------------------------------------

Please visit documentation: Redirecting...

[platformio]

default_envs = esp32dev

[env:esp32dev]

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 #-D WLED_DISABLE_BLYNK #-D WLED_DISABLE_BROWNOUT_DET

lib_deps = ${esp32.lib_deps}

monitor_filters = esp32_exception_decoder

board_build.partitions = ${esp32.default_partitions}

; *********************************************************************

; *** Use custom settings from file my_config.h

-DWLED_USE_MY_CONFIG

; *********************************************************************

;

;

; *** To use the below defines/overrides, copy and paste each onto it’s own line just below build_flags in the section above.

;

; disable specific features

; -D WLED_DISABLE_OTA

; -D WLED_DISABLE_ALEXA

; -D WLED_DISABLE_BLYNK

; -D WLED_DISABLE_HUESYNC

; -D WLED_DISABLE_INFRARED

; -D WLED_DISABLE_WEBSOCKETS

; PIN defines - uncomment and change, if needed:

; -D LEDPIN=2

; -D BTNPIN=0

; -D TOUCHPIN=T0

; -D IRPIN=4

; -D RLYPIN=12

; -D RLYMDE=1

; digital LED strip types - uncomment only one ! - this will disable WS281x / SK681x support

; -D USE_APA102

; -D USE_WS2801

; -D USE_LPD8806

; PIN defines for 2 wire LEDs

; -D CLKPIN=0

; -D DATAPIN=2

; to drive analog LED strips (aka 5050) hardware configuration is no longer necessary

; configure the settings in the UI as follows (hard):

; for the Magic Home LED Controller use PWM pins 5,12,13,15

; for the H801 controller use PINs 15,13,12,14 (W2 = 04)

; for the BW-LT11 controller use PINs 12,4,14,5

;

; set the name of the module - make sure there is a quote-backslash-quote before the name and a backslash-quote-quote after the name

; -D SERVERNAME=“"WLED"”

;

; set the number of LEDs

; -D DEFAULT_LED_COUNT=30

;

; set milliampere limit when using ESP pin to power leds

; -D ABL_MILLIAMPS_DEFAULT=850

;

; enable IR by setting remote type

; -D IRTYPE=0 ;0 Remote disabled | 1 24-key RGB | 2 24-key with CT | 3 40-key blue | 4 40-key RGB | 5 21-key RGB | 6 6-key black | 7 9-key red | 8 JSON remote

;

; set default color order of your led strip

; -D DEFAULT_LED_COLOR_ORDER=COL_ORDER_GRB

log

  • Executing task: C:\Users\CE.platformio\penv\Scripts\platformio.exe run --verbose

Processing esp32dev (board: esp32dev; platform: espressif32@3.5.0; platform_packages: framework-arduinoespressif32 @ httpss://github.com/Aircoookie/arduino-esp32.git#1.0.6.4; build_unflags: ; build_flags: -DMQTT_MAX_PACKET_SIZE=1024, -DSECURE_CLIENT=SECURE_CLIENT_BEARSSL, -DBEARSSL_SSL_BASIC, -D CORE_DEBUG_LEVEL=0, -D NDEBUG, -D IR_ENABLE_DEFAULT=false, -D DECODE_HASH=true, -D DECODE_NEC=true, -D DECODE_SONY=true, -D DECODE_SAMSUNG=true, -D DECODE_LG=true, -DWLED_USE_MY_CONFIG -g, -DARDUINO_ARCH_ESP32, -D CONFIG_ASYNC_TCP_USE_WDT=0, -D LOROL_LITTLEFS -D WLED_RELEASE_NAME=ESP32; lib_deps: fastled/FastLED @ 3.5.0, IRremoteESP8266 @ 2.8.2, httpss://github.com/Aircoookie/ESPAsyncWebServer.git @ ~2.0.4, httpss://github.com/lorol/LITTLEFS.git, makuna/NeoPixelBus @ 2.6.9, httpss://github.com/pbolduc/AsyncTCP.git @ 1.2.0; monitor_filters: esp32_exception_decoder; board_build.partitions: tools/WLED_ESP32_4MB_1MB_FS.csv
-DWLED_USE_MY_CONFIG; framework: arduino; board_build.flash_mode: dout; monitor_speed: 115200; upload_speed: 115200; lib_compat_mode: strict; extra_scripts: pre:pio-scripts/set_version.py, post:pio-scripts/output_bins.py, post:pio-scripts/strip-floats.py, pre:pio-scripts/user_config_copy.py)
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------*** use existing my_config.h ***
CONFIGURATION: httpss://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 (git+httpss://github.com/Aircoookie/arduino-esp32.git#1.0.6.4)
  • tool-esptoolpy @ 1.30100.210531 (3.1.0)
  • toolchain-xtensa32 @ 2.50200.97 (5.2.0)
    xtensa-esp32-elf-g++ -o “C:\Users\CE\Wled\WLED-main\wled00\wled00.ino.cpp” -x c++ -fpreprocessed -dD -E “C:\Users\CE\AppData\Local\Temp\tmpz8wruj0n”
    LDF: Library Dependency Finder → httpss://bit.ly/configure-pio-ldf
    LDF Modes: Finder ~ chain, Compatibility ~ strict
    Found 35 compatible libraries
    Scanning dependencies…
    Warning: Ignored ESPAsyncTCP dependency for ESP Async WebServer library
    Dependency Graph
    |-- FastLED @ 3.5.0 (License: MIT, Path: C:\Users\CE\Wled\WLED-main.pio\libdeps\esp32dev\FastLED)
    | |-- SPI @ 1.0 (License: Unknown, Path: C:\Users\CE.platformio\packages\framework-arduinoespressif32\libraries\SPI)
    |-- IRremoteESP8266 @ 2.8.2 (License: Unknown, Path: C:\Users\CE\Wled\WLED-main.pio\libdeps\esp32dev\IRremoteESP8266)
    |-- ESP Async WebServer @ 2.0.5+sha.580743f (License: LGPL-3.0, URI: git+httpss://github.com/Aircoookie/ESPAsyncWebServer.git, Path: C:\Users\CE\Wled\WLED-main.pio\libdeps\esp32dev\ESP Async WebServer)
    | |-- AsyncTCP @ 1.2.0+sha.38b8475 (License: LGPL-3.0, URI: git+httpss://github.com/pbolduc/AsyncTCP.git, Path: C:\Users\CE\Wled\WLED-main.pio\libdeps\esp32dev\AsyncTCP)
    | |-- FS @ 1.0 (License: Unknown, Path: C:\Users\CE.platformio\packages\framework-arduinoespressif32\libraries\FS)
    | |-- WiFi @ 1.0 (License: Unknown, Path: C:\Users\CE.platformio\packages\framework-arduinoespressif32\libraries\WiFi)
    | |-- LittleFS_esp32 @ 1.0.6+sha.f0817ca (License: LGPL-2.0, URI: git+https://github.com/lorol/LITTLEFS.git, Path: C:\Users\CE\Wled\WLED-main.pio\libdeps\esp32dev\LittleFS_esp32)
    | | |-- FS @ 1.0 (License: Unknown, Path: C:\Users\CE.platformio\packages\framework-arduinoespressif32\libraries\FS)
    |-- LittleFS_esp32 @ 1.0.6+sha.f0817ca (License: LGPL-2.0, URI: git+https://github.com/lorol/LITTLEFS.git, Path: C:\Users\CE\Wled\WLED-main.pio\libdeps\esp32dev\LittleFS_esp32)
    | |-- FS @ 1.0 (License: Unknown, Path: C:\Users\CE.platformio\packages\framework-arduinoespressif32\libraries\FS)
    |-- NeoPixelBus @ 2.6.9 (License: Unknown, Path: C:\Users\CE\Wled\WLED-main.pio\libdeps\esp32dev\NeoPixelBus)
    | |-- SPI @ 1.0 (License: Unknown, Path: C:\Users\CE.platformio\packages\framework-arduinoespressif32\libraries\SPI)
    |-- AsyncTCP @ 1.2.0+sha.38b8475 (License: LGPL-3.0, URI: git+https://github.com/pbolduc/AsyncTCP.git, Path: C:\Users\CE\Wled\WLED-main.pio\libdeps\esp32dev\AsyncTCP)
    |-- Wire @ 1.0.1 (License: Unknown, Path: C:\Users\CE.platformio\packages\framework-arduinoespressif32\libraries\Wire)
    |-- EEPROM @ 1.0.3 (License: Unknown, Path: C:\Users\CE.platformio\packages\framework-arduinoespressif32\libraries\EEPROM)
    |-- ArduinoOTA @ 1.0 (License: Unknown, Path: C:\Users\CE.platformio\packages\framework-arduinoespressif32\libraries\ArduinoOTA)
    | |-- Update @ 1.0 (License: Unknown, Path: C:\Users\CE.platformio\packages\framework-arduinoespressif32\libraries\Update)
    | |-- WiFi @ 1.0 (License: Unknown, Path: C:\Users\CE.platformio\packages\framework-arduinoespressif32\libraries\WiFi)
    | |-- ESPmDNS @ 1.0 (License: Unknown, Path: C:\Users\CE.platformio\packages\framework-arduinoespressif32\libraries\ESPmDNS)
    | | |-- WiFi @ 1.0 (License: Unknown, Path: C:\Users\CE.platformio\packages\framework-arduinoespressif32\libraries\WiFi)
    |-- DNSServer @ 1.1.0 (License: Unknown, Path: C:\Users\CE.platformio\packages\framework-arduinoespressif32\libraries\DNSServer)
    | |-- WiFi @ 1.0 (License: Unknown, Path: C:\Users\CE.platformio\packages\framework-arduinoespressif32\libraries\WiFi)
    |-- ESPmDNS @ 1.0 (License: Unknown, Path: C:\Users\CE.platformio\packages\framework-arduinoespressif32\libraries\ESPmDNS)
    | |-- WiFi @ 1.0 (License: Unknown, Path: C:\Users\CE.platformio\packages\framework-arduinoespressif32\libraries\WiFi)
    |-- WiFi @ 1.0 (License: Unknown, Path: C:\Users\CE.platformio\packages\framework-arduinoespressif32\libraries\WiFi)
    |-- ESP32 Async UDP @ 1.0.0 (License: Unknown, Path: C:\Users\CE.platformio\packages\framework-arduinoespressif32\libraries\AsyncUDP)
    |-- WebServer @ 1.0 (License: Unknown, Path: C:\Users\CE.platformio\packages\framework-arduinoespressif32\libraries\WebServer)
    | |-- WiFi @ 1.0 (License: Unknown, Path: C:\Users\CE.platformio\packages\framework-arduinoespressif32\libraries\WiFi)
    | |-- FS @ 1.0 (License: Unknown, Path: C:\Users\CE.platformio\packages\framework-arduinoespressif32\libraries\FS)
    Building in release mode
    Using tempfile C:\Users\CE\Wled\WLED-main.pio\build\esp32dev\tmpnyx1knef.tmp for command line:
    xtensa-esp32-elf-g++ -o .pio/build/esp32dev/src/wled00.ino.cpp.o -c -fno-rtti -fno-exceptions -std=gnu++11 -g -Os -g3 -Wall -nostdlib -Wpointer-arith -Wno-error=unused-but-set-variable -Wno-error=unused-variable -mlongcalls -ffunction-sections -fdata-sections -fstrict-volatile-bitfields -Wno-error=deprecated-declarations -Wno-error=unused-function -Wno-unused-parameter -Wno-sign-compare -fstack-protector -fexceptions -Werror=reorder -DPLATFORMIO=60103 -DARDUINO_ESP32_DEV -DMQTT_MAX_PACKET_SIZE=1024 -DSECURE_CLIENT=SECURE_CLIENT_BEARSSL -DBEARSSL_SSL_BASIC -DCORE_DEBUG_LEVEL=0 -DNDEBUG -D_IR_ENABLE_DEFAULT_=false -DDECODE_HASH=true -DDECODE_NEC=true -DDECODE_SONY=true -DDECODE_SAMSUNG=true -DDECODE_LG=true -DWLED_USE_MY_CONFIG -DARDUINO_ARCH_ESP32 -DCONFIG_ASYNC_TCP_USE_WDT=0 -DLOROL_LITTLEFS -DWLED_RELEASE_NAME=ESP32 -DWLED_VERSION=0.13.2-a0 -DESP32 -DESP_PLATFORM -DF_CPU=240000000L -DHAVE_CONFIG_H -DMBEDTLS_CONFIG_FILE="mbe*** [.pio\build\esp32dev\partitions.bin] Source tools\WLED_ESP32_4MB_1MB_FS.csv dtl-DWLED_USE_MY_CONFIG' not found, needed by target .pio\build\esp32dev\partitions.bin’.
    s/esp_config.h" -DARDUINO=10805 -DARDUINO_ARCH_ESP32 -DARDUINO_VARIANT="esp32" “-DARDUINO_BOARD="Espressif ESP32 Dev Module"” -Iinclude -Iwled00 -IC:/Users/CE/.platformio/packages/framework-arduinoespressif32/libraries/WebServer/src -IC:/Users/CE/.platformio/packages/framework-arduinoespressif32/libraries/AsyncUDP/src -IC:/Users/CE/.platformio/packages/framework-arduinoespressif32/libraries/DNSServer/src -IC:/Users/CE/.platformio/packages/framework-arduinoespressif32/libraries/ArduinoOTA/src -IC:/Users/CE/.platformio/packages/framework-arduinoespressif32/libraries/ESPmDNS/src -IC:/Users/CE/.platformio/packages/framework-arduinoespressif32/libraries/Update/src -IC:/Users/CE/.platformio/packages/framework-arduinoespressif32/libraries/EEPROM/src -IC:/Users/CE/.platformio/packages/framework-arduinoespressif32/libraries/Wire/src -I.pio/libdeps/esp32dev/NeoPixelBus/src “-I.pio/libdeps/esp32dev/ESP Async WebServer/src” -I.pio/libdeps/esp32dev/LittleFS_esp32/src -IC:/Users/CE/.platformio/packages/framework-arduinoespressif32/libraries/WiFi/src -IC:/Users/CE/.platformio/packages/framework-arduinoespressif32/libraries/FS/src -I.pio/libdeps/esp32dev/AsyncTCP/src -I.pio/libdeps/esp32dev/IRremoteESP8266/src -I.pio/libdeps/esp32dev/FastLED/src -IC:/Users/CE/.platformio/packages/framework-arduinoespressif32/libraries/SPI/src -IC:/Users/CE/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/config -IC:/Users/CE/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/app_trace -IC:/Users/CE/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/app_update -IC:/Users/CE/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/asio -IC:/Users/CE/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/bootloader_support -IC:/Users/CE/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/bt -IC:/Users/CE/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/coap -IC:/Users/CE/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/console -IC:/Users/CE/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/driver -IC:/Users/CE/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/efuse -IC:/Users/CE/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp-tls -IC:/Users/CE/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp32 -IC:/Users/CE/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_adc_cal -IC:/Users/CE/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_event -IC:/Users/CE/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_http_client -IC:/Users/CE/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_http_server -IC:/Users/CE/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_https_ota -IC:/Users/CE/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_https_server -IC:/Users/CE/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_ringbuf -IC:/Users/CE/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_websocket_client -IC:/Users/CE/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/espcoredump -IC:/Users/CE/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/ethernet -IC:/Users/CE/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/expat -IC:/Users/CE/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/fatfs -IC:/Users/CE/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/freemodbus -IC:/Users/CE/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/freertos -IC:/Users/CE/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/heap -IC:/Users/CE/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/idf_test -IC:/Users/CE/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/jsmn -IC:/Users/CE/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/json -IC:/Users/CE/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/libsodium -IC:/Users/CE/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/log -IC:/Users/CE/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/lwip -IC:/Users/CE/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/mbedtls -IC:/Users/CE/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/mdns -IC:/Users/CE/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/micro-ecc -IC:/Users/CE/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/mqtt -IC:/Users/CE/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/newlib -IC:/Users/CE/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/nghttp -IC:/Users/CE/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/nvs_flash -IC:/Users/CE/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/openssl -IC:/Users/CE/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/protobuf-c -IC:/Users/CE/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/protocomm -IC:/Users/CE/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/pthread -IC:/Users/CE/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/sdmmc -IC:/Users/CE/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/smartconfig_ack -IC:/Users/CE/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/soc -IC:/Users/CE/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/spi_flash -IC:/Users/CE/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/spiffs -IC:/Users/CE/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/tcp_transport -IC:/Users/CE/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/tcpip_adapter -IC:/Users/CE/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/ulp -IC:/Users/CE/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/unity -IC:/Users/CE/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/vfs -IC:/Users/CE/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/wear_levelling -IC:/Users/CE/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/wifi_provisioning -IC:/Users/CE/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/wpa_supplicant -IC:/Users/CE/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/xtensa-debug-module -IC:/Users/CE/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp32-camera -IC:/Users/CE/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/fb_gfx -IC:/Users/CE/.platformio/packages/framework-arduinoespressif32/cores/esp32 -IC:/Users/CE/.platformio/packages/framework-arduinoespressif32/variants/esp32 wled00/wled00.ino.cpp
    xtensa-esp32-elf-g++ @C:\Users\CE\Wled\WLED-main.pio\build\esp32dev\tmpnyx1knef.tmp
    =========================================================================================================================================== [FAILED] Took 6.91 seconds ===========================================================================================================================================

Environment Status Duration


nodemcuv2 IGNORED
esp8266_2m IGNORED
esp01_1m_full IGNORED
esp07 IGNORED
d1_mini IGNORED
heltec_wifi_kit_8 IGNORED
h803wf IGNORED
esp32dev FAILED 00:00:06.913
esp32_eth IGNORED
esp32s2_saola IGNORED
esp32c3 IGNORED
esp8285_4CH_MagicHome IGNORED
esp8285_H801 IGNORED
d1_mini_5CH_Shojo_PCB IGNORED
d1_mini_debug IGNORED
d1_mini_ota IGNORED
anavi_miracle_controller IGNORED
wemos_shield_esp32 IGNORED
m5atom IGNORED
sp501e IGNORED
sp511e IGNORED
athom7w IGNORED
athom15w IGNORED
MY9291 IGNORED
travis_esp8266 IGNORED
travis_esp32 IGNORED
codm-controller-0.6 IGNORED
codm-controller-0.6-rev2 IGNORED
elekstube_ips IGNORED
====================================================================================================================================== 1 failed, 0 succeeded in 00:00:06.913 ======================================================================================================================================

  • The terminal process “C:\Users\CE.platformio\penv\Scripts\platformio.exe ‘run’, ‘–verbose’” terminated with exit code: 1.
  • Terminal will be reused by tasks, press any key to close it.

Work-around. I have downloaded the source code and have been modifying it. This is doing the trick. You can consider this thread answered. However I do believe you have a bug here.

There are no current bugs in platformio.ini. platformio_override.ini on the other hand is completely your responsibility. The sample is provided only for educational purposes and you need to make sure you use correct values as specified by PlatformIO documentation.
You may use platformio.ini as a guideline.

Your override should look something like this:

[platformio]
default_envs = esp32dev_custom

[env:esp32dev_custom]
extends = env:esp32dev
build_flags = ${common.build_flags_esp32} -D WLED_RELEASE_NAME=ESP32_CUSTOM
  -DWLED_USE_MY_CONFIG
; your custom definitions follow here and not later
  -D WLED_...
lib_deps = ${esp32.lib_deps}
;  custom lbdeps