Skip to content

Commit 401b5e5

Browse files
committed
PIO.ini updates from mdev
1 parent e4d832f commit 401b5e5

File tree

1 file changed

+8
-13
lines changed

1 file changed

+8
-13
lines changed

platformio.ini

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -351,8 +351,7 @@ build_flags = -g
351351
-DARDUINO_ARCH_ESP32
352352
#-DCONFIG_LITTLEFS_FOR_IDF_3_2
353353
-D CONFIG_ASYNC_TCP_USE_WDT=0
354-
; -D CONFIG_ASYNC_TCP_TASK_STACK_SIZE=9472 ;; WLEDMM increase stack by 1.25Kb, as audioreactive needs bigger SETTINGS_STACK_BUF_SIZE
355-
-D CONFIG_ASYNC_TCP_TASK_STACK_SIZE=10072
354+
-D CONFIG_ASYNC_TCP_TASK_STACK_SIZE=9472 ;; WLEDMM increase stack by 1.25Kb, as audioreactive needs bigger SETTINGS_STACK_BUF_SIZE
356355
#use LITTLEFS library by lorol in ESP32 core 1.x.x instead of built-in in 2.x.x
357356
-D LOROL_LITTLEFS
358357
; -D WLEDMM_TWOPATH ;; use I2S1 as the second bus --> ~15% faster on "V3" builds - may flicker a bit more
@@ -400,8 +399,7 @@ build_flagsV4 = -g
400399
-DARDUINO_ARCH_ESP32 -DESP32
401400
-DCONFIG_LITTLEFS_FOR_IDF_3_2 -DLFS_THREADSAFE
402401
-D CONFIG_ASYNC_TCP_USE_WDT=0
403-
; -D CONFIG_ASYNC_TCP_TASK_STACK_SIZE=9472 ;; WLEDMM increase stack by 1.25Kb, as audioreactive needs bigger SETTINGS_STACK_BUF_SIZE
404-
-D CONFIG_ASYNC_TCP_TASK_STACK_SIZE=10072
402+
-D CONFIG_ASYNC_TCP_TASK_STACK_SIZE=9472 ;; WLEDMM increase stack by 1.25Kb, as audioreactive needs bigger SETTINGS_STACK_BUF_SIZE
405403
; -D WLEDMM_TWOPATH ;; use I2S1 as the second bus --> slightly faster on some setups
406404
; -D WLEDMM_SLOWPATH ;; don't use I2S for LED bus
407405
; -DARDUINO_USB_CDC_ON_BOOT=0 ;; mandatory for "classic ESP32" when building with arduino-esp32 >=2.0.3
@@ -437,8 +435,7 @@ build_flags = -g
437435
-DARDUINO_ARCH_ESP32 -DESP32
438436
#-DCONFIG_LITTLEFS_FOR_IDF_3_2
439437
-D CONFIG_ASYNC_TCP_USE_WDT=0
440-
; -D CONFIG_ASYNC_TCP_TASK_STACK_SIZE=9472 ;; WLEDMM increase stack by 1.25Kb, as audioreactive needs bigger SETTINGS_STACK_BUF_SIZE
441-
-D CONFIG_ASYNC_TCP_TASK_STACK_SIZE=10072
438+
-D CONFIG_ASYNC_TCP_TASK_STACK_SIZE=9472 ;; WLEDMM increase stack by 1.25Kb, as audioreactive needs bigger SETTINGS_STACK_BUF_SIZE
442439
-DARDUINO_USB_CDC_ON_BOOT=0 ;; this flag is mandatory for "classic ESP32" when building with arduino-esp32 >=2.0.3
443440
; -D WLEDMM_TWOPATH ;; use I2S1 as the second bus --> slightly faster on some setups
444441
; -D WLEDMM_SLOWPATH ;; don't use I2S for LED bus
@@ -469,8 +466,7 @@ build_flags = -g
469466
-DCONFIG_IDF_TARGET_ESP32S2=1
470467
-DCONFIG_LITTLEFS_FOR_IDF_3_2 -DLFS_THREADSAFE ;; WLEDMM
471468
-D CONFIG_ASYNC_TCP_USE_WDT=0
472-
; -D CONFIG_ASYNC_TCP_TASK_STACK_SIZE=8614 ;; WLEDMM increase stack by 1Kb, as audioreactive needs bigger SETTINGS_STACK_BUF_SIZE
473-
-D CONFIG_ASYNC_TCP_TASK_STACK_SIZE=10072
469+
-D CONFIG_ASYNC_TCP_TASK_STACK_SIZE=8614 ;; WLEDMM increase stack by 1Kb, as audioreactive needs bigger SETTINGS_STACK_BUF_SIZE
474470
-DARDUINO_USB_MSC_ON_BOOT=0 -DARDUINO_USB_DFU_ON_BOOT=0
475471
-DCO
476472
-DARDUINO_USB_MODE=0 ;; this flag is mandatory for ESP32-S2 !
@@ -494,8 +490,7 @@ build_flags = -g
494490
-DCONFIG_IDF_TARGET_ESP32C3=1
495491
-DCONFIG_LITTLEFS_FOR_IDF_3_2 -DLFS_THREADSAFE ;; WLEDMM
496492
-D CONFIG_ASYNC_TCP_USE_WDT=0
497-
; -D CONFIG_ASYNC_TCP_TASK_STACK_SIZE=9472 ;; WLEDMM increase stack by 1.25Kb, as audioreactive needs bigger SETTINGS_STACK_BUF_SIZE
498-
-D CONFIG_ASYNC_TCP_TASK_STACK_SIZE=10072
493+
-D CONFIG_ASYNC_TCP_TASK_STACK_SIZE=9472 ;; WLEDMM increase stack by 1.25Kb, as audioreactive needs bigger SETTINGS_STACK_BUF_SIZE
499494
-DCO
500495
-DARDUINO_USB_MODE=1 ;; this flag is mandatory for ESP32-C3
501496
;; 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:
@@ -520,8 +515,7 @@ build_flags = -g
520515
-DCONFIG_LITTLEFS_FOR_IDF_3_2 -DLFS_THREADSAFE ;; WLEDMM
521516
-DWLEDMM_NO_SERIAL_WAIT ;; WLEDMM don't wait for serial on -S3 (unless WLED_DEBUG is set)
522517
-D CONFIG_ASYNC_TCP_USE_WDT=0
523-
; -D CONFIG_ASYNC_TCP_TASK_STACK_SIZE=9472 ;; WLEDMM increase stack by 1.25Kb, as audioreactive needs bigger SETTINGS_STACK_BUF_SIZE
524-
-D CONFIG_ASYNC_TCP_TASK_STACK_SIZE=10072
518+
-D CONFIG_ASYNC_TCP_TASK_STACK_SIZE=9472 ;; WLEDMM increase stack by 1.25Kb, as audioreactive needs bigger SETTINGS_STACK_BUF_SIZE
525519
-DARDUINO_USB_MSC_ON_BOOT=0 -DARDUINO_DFU_ON_BOOT=0
526520
-DCO
527521
;; 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:
@@ -532,6 +526,7 @@ lib_deps =
532526
;; makuna/NeoPixelBus @ 2.7.9 ;; experimental
533527
${env.lib_deps}
534528

529+
535530
# ------------------------------------------------------------------------------
536531
# WLED BUILDS
537532
# ------------------------------------------------------------------------------
@@ -2856,4 +2851,4 @@ build_flags = ${env:adafruit_matrixportal_esp32s3_legacy.build_flags}
28562851

28572852
[env:adafruit_matrixportal_esp32s3]
28582853
;; this buildenv is just an alias for the matrixportal UF2 build, to keep 3rd party build tools happy.
2859-
extends = env:adafruit_matrixportal_esp32s3_tinyUF2
2854+
extends = env:adafruit_matrixportal_esp32s3_tinyUF2

0 commit comments

Comments
 (0)