Skip to content

Commit d70a3a8

Browse files
committed
additional protection
1 parent 8d41bc4 commit d70a3a8

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

platformio.ini

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -301,6 +301,7 @@ build_flags =
301301
-D NON32XFER_HANDLER ;; ask forgiveness for PROGMEM misuse
302302
-D WLED_DISABLE_PARTICLESYSTEM2D
303303
-D WLED_DISABLE_PIXELFORGE ;; not enought space in flash
304+
-D WLED_USE_SHARED_RMT ;; don't use the RMTHI driver (not compatible with esp8266)
304305

305306
;; special library dependencies for 8266 (workaround for upsteam #5136) - replaces env.lib_deps
306307
lib8266_deps =
@@ -331,6 +332,7 @@ build_flags_compat =
331332
-DVTABLES_IN_FLASH
332333
-DMIMETYPE_MINIMAL
333334
-DWLED_SAVE_IRAM ;; needed to prevent linker error
335+
-D WLED_USE_SHARED_RMT ;; don't use the RMTHI driver (not compatible with esp8266)
334336

335337
;; this platform version was used for WLED 0.14.0
336338
platform_compat = espressif8266@4.2.0
@@ -354,6 +356,7 @@ build_flags = -g
354356
-D CONFIG_ASYNC_TCP_TASK_STACK_SIZE=9472 ;; WLEDMM increase stack by 1.25Kb, as audioreactive needs bigger SETTINGS_STACK_BUF_SIZE
355357
-D CONFIG_ASYNC_TCP_STACK_SIZE=9472
356358
-D LOROL_LITTLEFS ;; use LITTLEFS library by lorol in ESP32 core 1.x.x instead of built-in in 2.x.x
359+
-D WLED_USE_SHARED_RMT ;; don't use the RMTHI driver (not compatible with esp-idf v3.x)
357360
;; -D CORE_DEBUG_LEVEL=5 ;; enable core debug messages
358361
;; -DDEBUG -DWLED_DEBUG ;; enable WLED debug messages
359362
lib_deps =
@@ -521,6 +524,7 @@ build_flags = -g
521524
-D CONFIG_ASYNC_TCP_TASK_STACK_SIZE=9472 ;; WLEDMM increase stack by 1.25Kb, as audioreactive needs bigger SETTINGS_STACK_BUF_SIZE
522525
-D CONFIG_ASYNC_TCP_STACK_SIZE=9472 ;; *sigh* newer asyncTCP uses this instead of .._TASK_..
523526
-DCO
527+
-D WLED_USE_SHARED_RMT ;; don't use the RMTHI driver (not compatible with -C3)
524528
-DARDUINO_USB_MODE=1 ;; this flag is mandatory for ESP32-C3
525529
;; 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:
526530
;; ARDUINO_USB_CDC_ON_BOOT

0 commit comments

Comments
 (0)