@@ -126,11 +126,7 @@ extra_configs =
126126# arduino core 2.6.3 = platformIO 2.3.2
127127# arduino core 2.7.0 = platformIO 2.5.0
128128# ------------------------------------------------------------------------------
129- arduino_core_2_6_3 = espressif8266@2.3.3
130- arduino_core_2_7_4 = espressif8266@2.6.2
131- arduino_core_3_0_0 = espressif8266@3.0.0
132129arduino_core_3_2_0 = espressif8266@3.2.0
133- arduino_core_4_1_0 = espressif8266@4.1.0
134130arduino_core_3_1_2 = espressif8266@4.2.1
135131
136132# Development platforms
@@ -212,7 +208,7 @@ build_flags =
212208build_unflags =
213209
214210build_flags_esp8266 = ${common.build_flags} ${esp8266.build_flags}
215- build_flags_esp32 = ${common.build_flags} ${esp32 .build_flags}
211+ build_flags_esp32 = ${common.build_flags} ${esp32_idf_V4 .build_flags}
216212build_flags_esp32_V4 = ${common.build_flags} ${esp32_idf_V4.build_flags}
217213
218214ldscript_1m128k = eagle.flash.1m128.ld
@@ -344,21 +340,9 @@ lib_deps_compat =
344340
345341
346342[esp32]
347- # platform = https://github.com/tasmota/platform-espressif32/releases/download/v2.0.2.3/platform-espressif32-2.0.2.3.zip
348- platform = espressif32@3.5.0
349-
350- platform_packages = framework-arduinoespressif32 @ https://github.com/Aircoookie/arduino-esp32.git# 1.0.6.4
351-
352- build_flags = -g
353- -DARDUINO_ARCH_ESP32
354- # -DCONFIG_LITTLEFS_FOR_IDF_3_2
355- -D CONFIG_ASYNC_TCP_USE_WDT =0
356- -D CONFIG_ASYNC_TCP_TASK_STACK_SIZE =9472 ; ; WLEDMM increase stack by 1.25Kb, as audioreactive needs bigger SETTINGS_STACK_BUF_SIZE
357- # use LITTLEFS library by lorol in ESP32 core 1.x.x instead of built-in in 2.x.x
358- -D LOROL_LITTLEFS
359- ; -D WLEDMM_TWOPATH ;; use I2S1 as the second bus --> ~15% faster on "V3" builds - may flicker a bit more
360- ; -D WLEDMM_SLOWPATH ;; don't use I2S for LED bus
361- ; -DARDUINO_USB_CDC_ON_BOOT=0 ;; this flag is mandatory for "classic ESP32" when building with arduino-esp32 >=2.0.3
343+ platform = ${esp32_idf_V4.platform}
344+ platform_packages = ${esp32_idf_V4.platform_packages}
345+ build_flags = ${esp32_idf_V4.build_flags}
362346
363347default_partitions = tools/WLED_ESP32_4MB_1MB_FS.csv ; ; WLED standard for 4MB flash: 1.4MB firmware, 1MB filesystem
364348; default_partitions = tools/WLED_ESP32_4MB_256KB_FS.csv ;; WLEDMM alternative for 4MB flash: 1.8MB firmware, 256KB filesystem (esptool erase_flash needed before changing)
@@ -369,14 +353,7 @@ big_partitions = tools/WLED_ESP32_4MB_256KB_FS.csv ;; 1.8MB firmware, 256KB
369353large_partitions = tools/WLED_ESP32_8MB.csv
370354extreme_partitions = tools/WLED_ESP32_16MB_9MB_FS.csv
371355
372- lib_deps =
373- https://github.com/pbolduc/AsyncTCP.git @ 1.2.0 ; ; WLEDMM this must be first in the list, otherwise Aircoookie/ESPAsyncWebServer pulls in an older version of AsyncTCP !!
374- ; https://github.com/lorol/LITTLEFS.git
375- ; WLEDMM specific: use patched version of lorol LittleFS
376- https://github.com/softhack007/LITTLEFS-threadsafe.git# master
377- makuna/NeoPixelBus @ 2.7.5
378- ; ; makuna/NeoPixelBus @ 2.7.9 ;; experimental
379- ${env.lib_deps}
356+ lib_deps = ${esp32_idf_V4.lib_deps}
380357
381358; ; Compatibility with upstream --> you should prefer using ${common_mm.build_flags_S} and ${common_mm.lib_deps_S}
382359AR_build_flags = ${common_mm.AR_build_flags}
@@ -419,9 +396,6 @@ lib_depsV4 =
419396; ; WLEDMM end
420397
421398[esp32_idf_V4]
422- ; ; experimental build environment for ESP32 using ESP-IDF 4.4.x / arduino-esp32 v2.0.5
423- ; ; very similar to the normal ESP32 flags, but omitting Lorol LittleFS, as littlefs is included in the new framework already.
424- ; ;
425399; ; please note that you can NOT update existing ESP32 installs with a "V4" build. Also updating by OTA will not work properly.
426400; ; You need to completely erase your device (esptool erase_flash) first, then install the "V4" build from VSCode+platformio.
427401
0 commit comments