@@ -256,7 +256,7 @@ extra_scripts = ${scripts_defaults.extra_scripts}
256256
257257[esp8266]
258258build_flags =
259- -DESP8266
259+ -DESP8266 -DZSHIT
260260 -DFP_IN_IROM
261261 ; -Wno-deprecated-declarations
262262 ; -Wno-register ;; leaves some warnings when compiling C files: command-line option '-Wno-register' is valid for C++/ObjC++ but not for C
@@ -284,6 +284,7 @@ lib_deps =
284284 ; ; makuna/NeoPixelBus @ 2.6.9 ;; WLEDMM use if you have problems with 2.7.5
285285 makuna/NeoPixelBus @ 2.7.5
286286 ${env.lib_deps}
287+ stiffupper8266.lib ; ; for probing the buildenv.
287288
288289[esp32]
289290# platform = https://github.com/tasmota/platform-espressif32/releases/download/v2.0.2.3/platform-espressif32-2.0.2.3.zip
292293platform_packages = framework-arduinoespressif32 @ https://github.com/Aircoookie/arduino-esp32.git# 1.0.6.4
293294
294295build_flags = -g
295- -DARDUINO_ARCH_ESP32
296+ -DARDUINO_ARCH_ESP32 -DYSHIT
296297 # -DCONFIG_LITTLEFS_FOR_IDF_3_2
297298 -D CONFIG_ASYNC_TCP_USE_WDT =0
298299 -D CONFIG_ASYNC_TCP_TASK_STACK_SIZE =9472 ; ; WLEDMM increase stack by 1.25Kb, as audioreactive needs bigger SETTINGS_STACK_BUF_SIZE
@@ -310,6 +311,7 @@ lib_deps =
310311 https://github.com/softhack007/LITTLEFS-threadsafe.git# master
311312 makuna/NeoPixelBus @ 2.7.5
312313 ${env.lib_deps}
314+ stiffupper.lib ; ; for probing the buildenv.
313315
314316; ; WLEDMM begin
315317
@@ -328,7 +330,7 @@ platformV4_packages_xp = platformio/framework-arduinoespressif32 @ ~3.20009.0
328330; ; platformV4_packages_xp = platformio/framework-arduinoespressif32 @ ~3.20011.0 ;; arduino-esp32 v2.0.11 (latest one supported in platformio)
329331
330332build_flagsV4 = -g
331- -DARDUINO_ARCH_ESP32 -DESP32
333+ -DARDUINO_ARCH_ESP32 -DESP32 -DXSHIT
332334 -DCONFIG_LITTLEFS_FOR_IDF_3_2 -DLFS_THREADSAFE
333335 -D CONFIG_ASYNC_TCP_USE_WDT =0
334336 -D CONFIG_ASYNC_TCP_TASK_STACK_SIZE =9472 ; ; WLEDMM increase stack by 1.25Kb, as audioreactive needs bigger SETTINGS_STACK_BUF_SIZE
@@ -338,6 +340,7 @@ lib_depsV4 =
338340 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 !!
339341 makuna/NeoPixelBus @ 2.7.5
340342 ${env.lib_deps}
343+ stiffupperV4.lib ; ; for probing the buildenv.
341344
342345; ; WLEDMM end
343346
351354platform_packages =
352355build_flags = -g
353356 -Wshadow =compatible-local ; ; emit warning in case a local variable "shadows" another local one
354- -DARDUINO_ARCH_ESP32 -DESP32
357+ -DARDUINO_ARCH_ESP32 -DESP32 -DXSHIT
355358 # -DCONFIG_LITTLEFS_FOR_IDF_3_2
356359 -D CONFIG_ASYNC_TCP_USE_WDT =0
357360 -D CONFIG_ASYNC_TCP_TASK_STACK_SIZE =9472 ; ; WLEDMM increase stack by 1.25Kb, as audioreactive needs bigger SETTINGS_STACK_BUF_SIZE
@@ -361,18 +364,19 @@ lib_deps =
361364 https://github.com/pbolduc/AsyncTCP.git @ 1.2.0
362365 makuna/NeoPixelBus @ 2.7.5
363366 ${env.lib_deps}
367+ stiffupperVV.lib ; ; for probing the buildenv.
364368
365369[esp32s2]
366370; ; generic definitions for all ESP32-S2 boards
367371368372platform_packages =
369373build_flags = -g
370- -DARDUINO_ARCH_ESP32 -DESP32 ; ; WLEDMM
374+ -DARDUINO_ARCH_ESP32 -DESP32 -DS2XSHIT ; ; WLEDMM
371375 -DARDUINO_ARCH_ESP32S2
372376 -DCONFIG_IDF_TARGET_ESP32S2 =1
373377 -DCONFIG_LITTLEFS_FOR_IDF_3_2 -DLFS_THREADSAFE ; ; WLEDMM
374378 -D CONFIG_ASYNC_TCP_USE_WDT =0
375- -D CONFIG_ASYNC_TCP_TASK_STACK_SIZE =9216 ; ; WLEDMM increase stack by 1Kb, as audioreactive needs bigger SETTINGS_STACK_BUF_SIZE
379+ -D CONFIG_ASYNC_TCP_TASK_STACK_SIZE =8614 ; ; WLEDMM increase stack by 1Kb, as audioreactive needs bigger SETTINGS_STACK_BUF_SIZE
376380 -DARDUINO_USB_MSC_ON_BOOT =0 -DARDUINO_USB_DFU_ON_BOOT =0
377381 -DCO
378382 -DARDUINO_USB_MODE =0 ; ; this flag is mandatory for ESP32-S2 !
@@ -383,13 +387,14 @@ lib_deps =
383387 https://github.com/pbolduc/AsyncTCP.git @ 1.2.0
384388 makuna/NeoPixelBus @ 2.7.5
385389 ${env.lib_deps}
390+ ; ;; stiffupperS2.lib ;; for probing the buildenv. Nothing more. Did I mention that I like AC/DC?
386391
387392[esp32c3]
388393; ; generic definitions for all ESP32-C3 boards
389394390395platform_packages =
391396build_flags = -g
392- -DARDUINO_ARCH_ESP32 -DESP32 ; ; WLEDMM
397+ -DARDUINO_ARCH_ESP32 -DESP32 -DC3XSHIT ; ; WLEDMM
393398 -DARDUINO_ARCH_ESP32C3
394399 -DCONFIG_IDF_TARGET_ESP32C3 =1
395400 -DCONFIG_LITTLEFS_FOR_IDF_3_2 -DLFS_THREADSAFE ; ; WLEDMM
@@ -404,14 +409,15 @@ lib_deps =
404409 https://github.com/pbolduc/AsyncTCP.git @ 1.2.0
405410 makuna/NeoPixelBus @ 2.7.5
406411 ${env.lib_deps}
412+ stiffupperC3.lib
407413
408414[esp32s3]
409415; ; generic definitions for all ESP32-S3 boards
410416411417platform_packages =
412418build_flags = -g
413419 -DESP32
414- -DARDUINO_ARCH_ESP32
420+ -DARDUINO_ARCH_ESP32 -DS3XSHIT
415421 -DARDUINO_ARCH_ESP32S3
416422 -DCONFIG_IDF_TARGET_ESP32S3 =1
417423 -DCONFIG_LITTLEFS_FOR_IDF_3_2 -DLFS_THREADSAFE ; ; WLEDMM
@@ -426,6 +432,7 @@ lib_deps =
426432 https://github.com/pbolduc/AsyncTCP.git @ 1.2.0
427433 makuna/NeoPixelBus @ 2.7.5
428434 ${env.lib_deps}
435+ stiffupperS3.lib
429436
430437
431438# ------------------------------------------------------------------------------
@@ -1055,23 +1062,23 @@ build_unflags = ${esp32_4MB_M_base.build_unflags} ${common_mm.build_disable_sync
10551062lib_deps = ${esp32_4MB_M_base.lib_deps} ${common_mm.lib_deps_XL}
10561063; board_build.partitions = tools/WLED_ESP32-wrover_4MB.csv
10571064
1058- ; common default for all V4 min environments
1065+ ; common default for all V4 min environments, including -S3, -S2, -C3
10591066[esp32_4MB_V4_S_base]
10601067board = esp32dev
10611068upload_speed = 460800 ; or 921600
10621069platform = ${esp32.platformV4}
1063- platform_packages =
1064- ${esp32.platformV4_packages}
1065- toolchain-xtensa-esp32 @ 8.4.0+2021r2-patch5 ; align main tools with riscV tools
1070+ platform_packages = ${esp32.platformV4_packages}
10661071build_unflags = ${common.build_unflags}
1067- build_flags = ${common.build_flags} ${esp32.build_flagsV4} ${common_mm.build_flags_S}
1072+ build_flags = ${common.build_flags} ${common_mm.build_flags_S} ; ; do not include ${esp32.build_flagsV4} here !!!!
10681073 -Wno-misleading-indentation -Wno-format-truncation
10691074 -Wshadow =compatible-local ; ; emit warning in case a local variable "shadows" another local one
10701075 ; -Wstack-usage=2732 ;; warn if a function needs more that 30% of availeable stack ("stack usage might be unbounded", "stack usage is 2824 bytes")
10711076 ; -Wsuggest-attribute=const -Wsuggest-attribute=pure ;; ask compiler for hints on attributes
10721077 -D WLED_ENABLE_DMX_INPUT
1073- lib_deps = ${esp32.lib_depsV4} ${common_mm.lib_deps_S}
1078+ lib_deps = ${common_mm.lib_deps_S} ; ; do not include ${esp32.lib_depsV4} here !!!!
10741079 https://github.com/someweisguy/esp_dmx.git# v3.0.2-beta ;; for DMX_INPUT
1080+ esp32_build_flags = ${esp32.build_flagsV4} ${esp32_4MB_V4_S_base.build_flags} ; ; this is for esp32 only, including specific "V4" flags
1081+ esp32_lib_deps = ${esp32.lib_depsV4} ${esp32_4MB_V4_S_base.lib_deps} ; ; this is for esp32 only, including specific "V4" flags
10751082board_build.partitions = ${esp32.default_partitions}
10761083board_build.f_flash = 80000000L ; use full 80MHz speed for flash (default = 40Mhz)
10771084board_build.flash_mode = dio ; (dio = dual i/o; more compatible than qio = quad i/o)
@@ -1080,8 +1087,10 @@ board_build.flash_mode = dio ; (dio = dual i/o; more compatible than qio = quad
10801087
10811088[esp32_4MB_V4_M_base]
10821089extends = esp32_4MB_V4_S_base
1083- build_flags = ${esp32_4MB_V4_S_base.build_flags} ${common_mm.build_flags_M}
1090+ build_flags = ${esp32_4MB_V4_S_base.build_flags} ${common_mm.build_flags_M} ; ; generic, for all variants
10841091lib_deps = ${esp32_4MB_V4_S_base.lib_deps} ${common_mm.lib_deps_V4_M}
1092+ esp32_build_flags = ${esp32_4MB_V4_S_base.esp32_build_flags} ${common_mm.build_flags_M} ; ; for esp32 only, including specific "V4" flags
1093+ esp32_lib_deps = ${esp32_4MB_V4_S_base.esp32_lib_deps} ${common_mm.lib_deps_V4_M}
10851094board_build.partitions = ${esp32_4MB_V4_S_base.board_build.partitions}
10861095; board_build.flash_mode = qio ; (dio = dual i/o; more compatible than qio = quad i/o)
10871096
@@ -1474,7 +1483,7 @@ lib_deps = ${esp8266.lib_deps}
14741483; compiled with ESP-IDF 4.4.1
14751484[env:esp32_4MB_V4_S]
14761485extends = esp32_4MB_V4_S_base
1477- build_flags = ${esp32_4MB_V4_S_base.build_flags }
1486+ build_flags = ${esp32_4MB_V4_S_base.esp32_build_flags }
14781487 -D WLED_RELEASE_NAME =esp32_4MB_V4_S
14791488 -D WLED_WATCHDOG_TIMEOUT =0 # -D WLED_DISABLE_BROWNOUT_DET
14801489 -D ARDUINO_USB_CDC_ON_BOOT =0 ; needed for arduino-esp32 >=2.0.4; avoids errors on startup
@@ -1487,14 +1496,15 @@ build_flags = ${esp32_4MB_V4_S_base.build_flags}
14871496 ; -D WLED_DEBUG
14881497 ; -D SR_DEBUG
14891498 ; -D MIC_LOGGER
1499+ lib_deps = ${esp32_4MB_V4_S_base.esp32_lib_deps}
14901500lib_ignore = IRremoteESP8266 ; use with WLED_DISABLE_INFRARED for faster compilation
14911501 ; RAM: [=== ] 25.1% (used 82176 bytes from 327680 bytes)
14921502 ; Flash: [========= ] 93.8% (used 1474893 bytes from 1572864 bytes)
14931503
14941504; compiled with ESP-IDF 4.4.1
14951505[env:esp32_4MB_V4_M]
14961506extends = esp32_4MB_V4_M_base
1497- build_flags = ${esp32_4MB_V4_M_base.build_flags }
1507+ build_flags = ${esp32_4MB_V4_M_base.esp32_build_flags }
14981508 -D WLED_RELEASE_NAME =esp32_4MB_V4_M
14991509 -D WLED_WATCHDOG_TIMEOUT =0 # -D WLED_DISABLE_BROWNOUT_DET
15001510 -D ARDUINO_USB_CDC_ON_BOOT =0 ; needed for arduino-esp32 >=2.0.4; avoids errors on startup
@@ -1503,6 +1513,7 @@ build_flags = ${esp32_4MB_V4_M_base.build_flags}
15031513 -D WLED_DISABLE_HUESYNC ; RAM 122 bytes; FLASH 6308 bytes
15041514 ; -D WLED_DISABLE_MQTT ; RAM 216 bytes; FLASH 16496 bytes
15051515 -D WLED_DISABLE_INFRARED ; RAM 136 bytes; FLASH 24492 bytes ;; softhack007 disabled to stay below 100% flash size
1516+ lib_deps = ${esp32_4MB_V4_M_base.esp32_lib_deps}
15061517lib_ignore = IRremoteESP8266 ; use with WLED_DISABLE_INFRARED for faster compilation
15071518build_unflags = ${esp32_4MB_V4_M_base.build_unflags}
15081519 -D USERMOD_ANIMARTRIX ; ; Tips our memory usage over the limit
@@ -1515,14 +1526,14 @@ build_unflags = ${esp32_4MB_V4_M_base.build_unflags}
15151526extends = esp32_4MB_V4_S_base
15161527build_unflags = ${esp32_4MB_V4_S_base.build_unflags}
15171528 ${Speed_Flags.build_unflags} ; ; to override -Os
1518- build_flags = ${esp32_4MB_V4_S_base.build_flags }
1529+ build_flags = ${esp32_4MB_V4_S_base.esp32_build_flags }
15191530 ${Speed_Flags.build_flags} ; ; optimize for speed instead of size
15201531 -D WLED_RELEASE_NAME =esp32_16MB_V4_S
15211532 -D WLED_WATCHDOG_TIMEOUT =0 # -D WLED_DISABLE_BROWNOUT_DET
15221533 -D ARDUINO_USB_CDC_ON_BOOT =0 ; needed for arduino-esp32 >=2.0.4; avoids errors on startup
15231534 -D WLEDMM_FASTPATH ; WLEDMM experimental option. Reduces audio lag (latency), and allows for faster LED framerates. May break compatibility with previous versions.
15241535 ; ; ${common_mm.animartrix_build_flags} ;; breaks the build - Internal Compiler Error
1525- lib_deps = ${esp32_4MB_V4_S_base.lib_deps }
1536+ lib_deps = ${esp32_4MB_V4_S_base.esp32_lib_deps }
15261537 ; ; ${common_mm.animartrix_lib_deps}
15271538board = esp32_16MB
15281539board_build.partitions = tools/WLED_ESP32_16MB.csv ; ; WLED standard for 16MB flash: 2MB firmware, 12 MB filesystem
@@ -1537,7 +1548,7 @@ board_build.partitions = tools/WLED_ESP32_16MB.csv ;; WLED standard for
15371548; compiled with ESP-IDF 4.4.1
15381549[env:esp32_16MB_V4_M]
15391550extends = esp32_4MB_V4_M_base
1540- build_flags = ${esp32_4MB_V4_M_base.build_flags }
1551+ build_flags = ${esp32_4MB_V4_M_base.esp32_build_flags }
15411552 -D WLED_RELEASE_NAME =esp32_16MB_V4_M
15421553 -D WLED_WATCHDOG_TIMEOUT =0 # -D WLED_DISABLE_BROWNOUT_DET
15431554 -D ARDUINO_USB_CDC_ON_BOOT =0 ; needed for arduino-esp32 >=2.0.4; avoids errors on startup
@@ -1548,6 +1559,7 @@ build_flags = ${esp32_4MB_V4_M_base.build_flags}
15481559 -D ENCODER_DT_PIN =35 -D ENCODER_CLK_PIN =39 -D ENCODER_SW_PIN =5 ; WLEDMM spec by @SERG74: use 35 and 39 instead of 18 and 19 (conflicts)
15491560 -D FLD_PIN_SCL =-1 -D FLD_PIN_SDA =-1 ; use global!
15501561 -D HW_PIN_SCL =22 -D HW_PIN_SDA =21
1562+ lib_deps = ${esp32_4MB_V4_M_base.esp32_lib_deps}
15511563board = esp32_16MB
15521564board_build.partitions = tools/WLED_ESP32_16MB.csv ; ; WLED standard for 16MB flash: 2MB firmware, 12 MB filesystem
15531565; board_build.partitions = tools/WLED_ESP32_16MB_9MB_FS.csv ;; WLED extended for 16MB flash: 3.2MB firmware, 9 MB filesystem
@@ -1558,14 +1570,15 @@ board_build.partitions = tools/WLED_ESP32_16MB.csv ;; WLED standard for
15581570extends = esp32_4MB_V4_M_base
15591571build_unflags = ${common.build_unflags}
15601572 -D CORE_DEBUG_LEVEL =0
1561- build_flags = ${esp32_4MB_V4_M_base.build_flags }
1573+ build_flags = ${esp32_4MB_V4_M_base.esp32_build_flags }
15621574 ${Debug_Flags.build_flags}
15631575 -D CORE_DEBUG_LEVEL =4 ; ; 0=none, 1=error, 2=warning, 3=info, 4=debug, 5=verbose
15641576 -D WLED_DEBUG_HEAP ; ; WLEDMM enable heap debugging
15651577 -D WLED_RELEASE_NAME =esp32_16MB_V4_M_debug
15661578 -D WLED_WATCHDOG_TIMEOUT =0 # -D WLED_DISABLE_BROWNOUT_DET
15671579 -D ARDUINO_USB_CDC_ON_BOOT =0 ; needed for arduino-esp32 >=2.0.4; avoids errors on startup
1568- board = esp32_16MB
1580+ lib_deps = ${esp32_4MB_V4_M_base.esp32_lib_deps}
1581+ board = esp32_16MB
15691582board_build.partitions = tools/WLED_ESP32_16MB.csv ; ; WLED standard for 16MB flash: 2MB firmware, 12 MB filesystem
15701583; board_build.partitions = tools/WLED_ESP32_16MB_9MB_FS.csv ;; WLED extended for 16MB flash: 3.2MB firmware, 9 MB filesystem
15711584monitor_filters = esp32_exception_decoder
@@ -1577,7 +1590,7 @@ monitor_filters = esp32_exception_decoder
15771590extends = esp32_4MB_V4_S_base
15781591board = lolin_d32_pro
15791592; board = esp32cam
1580- build_flags = ${esp32_4MB_V4_S_base.build_flags }
1593+ build_flags = ${esp32_4MB_V4_S_base.esp32_build_flags }
15811594 -D WLED_RELEASE_NAME =esp32_4MB_PSRAM_S
15821595 -D WLED_WATCHDOG_TIMEOUT =0 # -D WLED_DISABLE_BROWNOUT_DET
15831596 -D ARDUINO_USB_CDC_ON_BOOT =0 ; needed for arduino-esp32 >=2.0.4; avoids errors on startup
@@ -1592,6 +1605,7 @@ build_flags = ${esp32_4MB_V4_S_base.build_flags}
15921605 ; -D WLED_DEBUG
15931606 ; -D SR_DEBUG
15941607 ; -D MIC_LOGGER
1608+ lib_deps = ${esp32_4MB_V4_S_base.esp32_lib_deps}
15951609lib_ignore = IRremoteESP8266 ; use with WLED_DISABLE_INFRARED for faster compilation
15961610; ; RAM: [== ] 24.3% (used 79524 bytes from 327680 bytes)
15971611; ; Flash: [========= ] 93.2% (used 1466389 bytes from 1572864 bytes)
@@ -1609,7 +1623,7 @@ build_unflags = ${esp32_4MB_V4_S_base.build_unflags}
16091623 -mfix-esp32-psram-cache-issue ; ; this fix is not needed any more for revision 3
16101624 -mfix-esp32-psram-cache-strategy =memw ; ; same as above
16111625
1612- build_flags = ${esp32_4MB_V4_S_base.build_flags }
1626+ build_flags = ${esp32_4MB_V4_S_base.esp32_build_flags }
16131627 -DARDUINO_EVENT_RUNNING_CORE =0 ; ; assign Wifi to core0, to have more CPU on core#1 (arduino loop)
16141628 -DARDUINO_RUNNING_CORE =1 ; ; should be default, but does not hurt
16151629 -DCONFIG_MBEDTLS_DYNAMIC_BUFFER =1 ; ; optional - seems to move more buffers into PSRAM
@@ -1630,6 +1644,7 @@ build_flags = ${esp32_4MB_V4_S_base.build_flags}
16301644 ; -D WLED_DEBUG
16311645 ; -D SR_DEBUG
16321646 ; -D MIC_LOGGER
1647+ lib_deps = ${esp32_4MB_V4_S_base.esp32_lib_deps}
16331648lib_ignore = IRremoteESP8266 ; use with WLED_DISABLE_INFRARED for faster compilation
16341649; ; RAM: [==== ] 35.9% (used 117688 bytes from 327680 bytes)
16351650; ; Flash: [========= ] 94.5% (used 1487097 bytes from 1572864 bytes)
@@ -1640,7 +1655,7 @@ extends = esp32_4MB_V4_M_base
16401655board = lolin_d32_pro
16411656; board = esp32cam
16421657board_build.partitions = tools/WLED_ESP32_4MB_256KB_FS.csv ; ; 1.8MB firmware, 256KB filesystem (esptool erase_flash needed when changing from "standard WLED" partitions)
1643- build_flags = ${esp32_4MB_V4_M_base.build_flags }
1658+ build_flags = ${esp32_4MB_V4_M_base.esp32_build_flags }
16441659 -D WLED_RELEASE_NAME =esp32_4MB_PSRAM_M
16451660 -D WLED_WATCHDOG_TIMEOUT =0 # -D WLED_DISABLE_BROWNOUT_DET
16461661 -D ARDUINO_USB_CDC_ON_BOOT =0 ; needed for arduino-esp32 >=2.0.4; avoids errors on startup
@@ -1654,6 +1669,7 @@ build_flags = ${esp32_4MB_V4_M_base.build_flags}
16541669 ; -D WLED_DEBUG
16551670 ; -D SR_DEBUG
16561671 ; -D MIC_LOGGER
1672+ lib_deps = ${esp32_4MB_V4_M_base.esp32_lib_deps}
16571673; lib_ignore = IRremoteESP8266 ; use with WLED_DISABLE_INFRARED for faster compilation
16581674; ; RAM: [== ] 24.9% (used 81484 bytes from 327680 bytes)
16591675; ; Flash: [======== ] 84.6% (used 1607857 bytes from 1900544 bytes)
@@ -1808,6 +1824,7 @@ build_unflags = ${common.build_unflags}
18081824 -D USERMOD_DALLASTEMPERATURE ; ; disabled because it hangs during usermod setup on -S3 (autodetect broken?)
18091825 -D WLED_ENABLE_DMX ; ; disabled because it does not work with ESP-IDF 4.4.x (buggy driver in SparkFunDMX)
18101826 -D WLED_ENABLE_DMX_INPUT ; ; needs more testing
1827+ -DWLEDMM_FASTPATH ; ; needs more testing on -S2
18111828
18121829build_flags = ${common.build_flags} ${esp32s2.build_flags}
18131830 ; ${Debug_Flags.build_flags} ;ewowi: enabling debug causes Error: The program size (1463330 bytes) is greater than maximum allowed (1441792 bytes)
@@ -1862,6 +1879,7 @@ build_unflags = ${common.build_unflags}
18621879 -D USERMOD_DALLASTEMPERATURE ; ; disabled because it hangs during usermod setup on -S3 (autodetect broken?)
18631880 -D WLED_ENABLE_DMX ; ; disabled because it does not work with ESP-IDF 4.4.x (buggy driver in SparkFunDMX)
18641881 -D WLED_ENABLE_DMX_INPUT ; ; needs more testing
1882+ -DWLEDMM_FASTPATH ; ; needs more testing on -S2
18651883build_flags = ${common.build_flags} ${esp32s2.build_flags}
18661884 ; ; ${Debug_Flags.build_flags}
18671885 -D WLED_WATCHDOG_TIMEOUT =0 -D CONFIG_ASYNC_TCP_USE_WDT =0
@@ -1916,6 +1934,7 @@ build_unflags = ${common.build_unflags}
19161934 -D WLED_ENABLE_DMX_INPUT ; ; needs more testing
19171935 ; -D WLED_DEBUG_HOST='"192.168.x.x"' ;; to disable net print
19181936 -D USERMOD_ANIMARTRIX ; ; Tips our memory usage over the limit
1937+ -DWLEDMM_FASTPATH ; ; needs more testing on -C3
19191938
19201939build_flags = ${common.build_flags} ${esp32c3.build_flags}
19211940 ; -D WLED_DISABLE_OTA ;; OTA is not possible for boards with 2MB flash only (like some Ai-Thinker ESP32-C3-12F models)
@@ -1956,6 +1975,7 @@ platform_packages = ${esp32.platformV4_packages_pre}
19561975board_build.flash_mode = qio
19571976upload_speed = 460800
19581977build_unflags = ${env:esp32c3dev_4MB_M.build_unflags}
1978+ -DWLEDMM_FASTPATH ; ; needs more testing on -C3
19591979build_flags = ${common.build_flags} ${esp32c3.build_flags}
19601980 -D WLED_WATCHDOG_TIMEOUT =0 -D CONFIG_ASYNC_TCP_USE_WDT =0
19611981 ${common_mm.build_flags_S} -Wno-misleading-indentation -Wno-format-truncation
@@ -2139,18 +2159,14 @@ extends = esp32_4MB_S_base
21392159build_unflags = ${esp32_4MB_S_base.build_unflags} ${common_mm.build_disable_sync_interfaces}
21402160build_flags = ${esp32_4MB_S_base.build_flags}
21412161 -D WLED_RELEASE_NAME =abc_wled_controller_v43_M
2142-
21432162 -D LEDPIN =16
21442163 -D ABL_MILLIAMPS_DEFAULT =5000 ; 5A default. Max 13A depending on the wires connected
2145-
21462164 -D WLED_USE_ETHERNET
21472165 -D WLED_ETH_DEFAULT =9 ; ABC! WLED V43 & compatible
21482166 -D RLYPIN =-1 -D BTNPIN =-1 ; ; Prevent clash
21492167 -D WLED_DISABLE_ESPNOW ; ; ESP-NOW requires wifi, may crash with ethernet only
2150-
21512168 -D AUDIOPIN =-1
21522169 -D FLD_PIN_SCL =-1 -D FLD_PIN_SDA =-1 ; use global!
2153-
21542170 ; -D WLED_USE_MY_CONFIG
21552171 -D SR_DMTYPE =4 -D I2S_SDPIN =32 -D I2S_WSPIN =15 -D I2S_CKPIN =14 -D MCLK_PIN =0 ; generic i2s with mclk 0
21562172 -D SR_SQUELCH =1 -D SR_GAIN =60 ; increrase squelch if noise, in test 0 is okay, but only slightly
@@ -2201,7 +2217,7 @@ board = pico32
22012217; platform_packages =
22022218upload_speed = 256000 ; ; or 115200 ;; or 460800 ; or 921600 (slower speeds are better when flashing without a soldered connection)
22032219
2204- build_flags = ${esp32_4MB_V4_S_base.build_flags }
2220+ build_flags = ${esp32_4MB_V4_S_base.esp32_build_flags }
22052221 -D ARDUINO_USB_CDC_ON_BOOT =0 ; needed for arduino-esp32 >=2.0.4; avoids errors on startup
22062222 -D WLED_RELEASE_NAME =esp32_pico_4MB_V4_S
22072223 -D WLED_DISABLE_BROWNOUT_DET
@@ -2225,6 +2241,7 @@ build_flags = ${esp32_4MB_V4_S_base.build_flags}
22252241 ; -D MCLK_PIN=0
22262242 -D SR_ENABLE_DEFAULT ; ; enable audioreactive at first start - no need to manually set "enable", then reboot
22272243 ; -D WLED_USE_MY_CONFIG
2244+ lib_deps = ${esp32_4MB_V4_S_base.esp32_lib_deps}
22282245; lib_ignore = IRremoteESP8266 ; use with WLED_DISABLE_INFRARED for faster compilation
22292246; RAM: [=== ] 25.4% (used 83144 bytes from 327680 bytes)
22302247; Flash: [==========] 96.4% (used 1516029 bytes from 1572864 bytes)
0 commit comments