From d70a3a84e8d19a0143acaea848d01191644cf3fb Mon Sep 17 00:00:00 2001 From: Frank <91616163+softhack007@users.noreply.github.com> Date: Mon, 5 Jan 2026 22:16:51 +0100 Subject: [PATCH] additional protection --- platformio.ini | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/platformio.ini b/platformio.ini index 262600b0..93acef19 100644 --- a/platformio.ini +++ b/platformio.ini @@ -301,6 +301,7 @@ build_flags = -D NON32XFER_HANDLER ;; ask forgiveness for PROGMEM misuse -D WLED_DISABLE_PARTICLESYSTEM2D -D WLED_DISABLE_PIXELFORGE ;; not enought space in flash + -D WLED_USE_SHARED_RMT ;; don't use the RMTHI driver (not compatible with esp8266) ;; special library dependencies for 8266 (workaround for upsteam #5136) - replaces env.lib_deps lib8266_deps = @@ -331,6 +332,7 @@ build_flags_compat = -DVTABLES_IN_FLASH -DMIMETYPE_MINIMAL -DWLED_SAVE_IRAM ;; needed to prevent linker error + -D WLED_USE_SHARED_RMT ;; don't use the RMTHI driver (not compatible with esp8266) ;; this platform version was used for WLED 0.14.0 platform_compat = espressif8266@4.2.0 @@ -354,6 +356,7 @@ build_flags = -g -D CONFIG_ASYNC_TCP_TASK_STACK_SIZE=9472 ;; WLEDMM increase stack by 1.25Kb, as audioreactive needs bigger SETTINGS_STACK_BUF_SIZE -D CONFIG_ASYNC_TCP_STACK_SIZE=9472 -D LOROL_LITTLEFS ;; use LITTLEFS library by lorol in ESP32 core 1.x.x instead of built-in in 2.x.x + -D WLED_USE_SHARED_RMT ;; don't use the RMTHI driver (not compatible with esp-idf v3.x) ;; -D CORE_DEBUG_LEVEL=5 ;; enable core debug messages ;; -DDEBUG -DWLED_DEBUG ;; enable WLED debug messages lib_deps = @@ -521,6 +524,7 @@ build_flags = -g -D CONFIG_ASYNC_TCP_TASK_STACK_SIZE=9472 ;; WLEDMM increase stack by 1.25Kb, as audioreactive needs bigger SETTINGS_STACK_BUF_SIZE -D CONFIG_ASYNC_TCP_STACK_SIZE=9472 ;; *sigh* newer asyncTCP uses this instead of .._TASK_.. -DCO + -D WLED_USE_SHARED_RMT ;; don't use the RMTHI driver (not compatible with -C3) -DARDUINO_USB_MODE=1 ;; this flag is mandatory for ESP32-C3 ;; 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: ;; ARDUINO_USB_CDC_ON_BOOT