finishing touches and cleanup

* add  NeoESP32RmtHI to lib_ignore for unsupported platforms (secondary safety net)
* comment out [env:esp32s3dev_8MB_PSRAM_opi]
This commit is contained in:
Frank
2026-01-09 16:12:52 +01:00
parent 74a8a95793
commit 5ce9ba64e2

View File

@@ -319,6 +319,7 @@ lib_deps =
makuna/NeoPixelBus @ 2.7.5
${esp8266.lib8266_deps} ;; use proven library versions for 8266
lib_ignore =
NeoESP32RmtHI
;; compatibilty flags - same as 0.14.0 which seems to work better on some 8266 boards. Not using PIO_FRAMEWORK_ARDUINO_MMU_CACHE16_IRAM48
build_flags_compat =
@@ -366,6 +367,8 @@ lib_deps =
makuna/NeoPixelBus @ 2.7.5
;; makuna/NeoPixelBus @ 2.7.9 ;; experimental
${env.lib_deps}
lib_ignore =
NeoESP32RmtHI
monitor_filters = esp32_exception_decoder
board_build.partitions = ${esp32.default_partitions} ;; default partioning for 4MB Flash - can be overridden in build envs
default_partitions = ${esp32.default_partitions} ;; backwards compatibility
@@ -534,6 +537,8 @@ lib_deps =
esp32async/AsyncTCP @ 3.4.7
makuna/NeoPixelBus @ 2.7.9 ;; experimental
${env.lib_deps}
lib_ignore =
NeoESP32RmtHI
board_build.partitions = ${esp32.default_partitions} ;; default partioning for 4MB Flash - can be overridden in build envs
monitor_filters = esp32_exception_decoder
@@ -811,34 +816,32 @@ board_build.flash_mode = dio ;; some boards do not boot with the faster "qio" mo
;; ; board_build.flash_mode = dio ;; try this if you have problems at startup
;; monitor_filters = esp32_exception_decoder
;; only for testing.
[env:esp32s3dev_8MB_PSRAM_opi]
;; ESP32-S3 development board, with 8MB FLASH and >= 8MB PSRAM (memory_type: qio_opi)
board = esp32-s3-devkitc-1 ;; generic dev board; the next lines add PSRAM support
board_build.flash_mode = qio
board_build.arduino.memory_type = qio_opi ;; use with PSRAM: 8MB or 16MB
platform = ${esp32s3.platform}
platform_packages = ${esp32s3.platform_packages}
upload_speed = 921600
build_unflags = ${common.build_unflags}
; -DCORE_DEBUG_LEVEL=0
;;-DNDEBUG ;; removing this flag leads to a massive flood of runtime warnings from NeoPixelBus 2.7.9
build_flags = ${common.build_flags} ${esp32s3.build_flags}
; -DCORE_DEBUG_LEVEL=5
;;-DWLED_DEBUG ; -DDEBUG
; -D WLED_USE_SHARED_RMT ;; RMTHI causes interrupt watchdog reset - needs more investigation
-D ARDUINO_USB_CDC_ON_BOOT=0 -D ARDUINO_USB_MODE=1 ;; for boards with serial-to-USB chip
;;-D ARDUINO_USB_CDC_ON_BOOT=1 -D ARDUINO_USB_MODE=1 ;; for boards with USB-OTG connector only (USBCDC or "TinyUSB")
-D WLED_RELEASE_NAME=ESP32_S3_PSRAM_opi
-D BOARD_HAS_PSRAM -D WLED_USE_PSRAM ; tells WLED that PSRAM shall be used
-D WLED_USE_PSRAM_JSON -D ALL_JSON_TO_PSRAM ; WLEDMM --> force all JSON stuff into PSRAM; gives more free heap
lib_deps = ${esp32s3.lib_deps}
${esp32.AR_lib_deps}
board_build.partitions = ${esp32.large_partitions}
board_build.f_flash = 80000000L
monitor_filters = esp32_exception_decoder
;; [env:esp32s3dev_8MB_PSRAM_opi]
;; ESP32-S3 development board, with 8MB FLASH and >= 8MB PSRAM (memory_type: qio_opi)
;; board = esp32-s3-devkitc-1 ;; generic dev board; the next lines add PSRAM support
;; board_build.flash_mode = qio
;; board_build.arduino.memory_type = qio_opi ;; use with PSRAM: 8MB or 16MB
;; platform = ${esp32s3.platform}
;; platform_packages = ${esp32s3.platform_packages}
;; upload_speed = 921600
;; build_unflags = ${common.build_unflags}
;; ; -DCORE_DEBUG_LEVEL=0
;; ;;-DNDEBUG ;; removing this flag leads to a massive flood of runtime warnings from NeoPixelBus 2.7.9
;; build_flags = ${common.build_flags} ${esp32s3.build_flags}
;; ; -DCORE_DEBUG_LEVEL=5
;; ;;-DWLED_DEBUG ; -DDEBUG
;; ; -D WLED_USE_SHARED_RMT ;; RMTHI causes interrupt watchdog reset - needs more investigation
;; -D ARDUINO_USB_CDC_ON_BOOT=0 -D ARDUINO_USB_MODE=1 ;; for boards with serial-to-USB chip
;; ;;-D ARDUINO_USB_CDC_ON_BOOT=1 -D ARDUINO_USB_MODE=1 ;; for boards with USB-OTG connector only (USBCDC or "TinyUSB")
;; -D WLED_RELEASE_NAME=ESP32_S3_PSRAM_opi
;; -D BOARD_HAS_PSRAM -D WLED_USE_PSRAM ; tells WLED that PSRAM shall be used
;; -D WLED_USE_PSRAM_JSON -D ALL_JSON_TO_PSRAM ; WLEDMM --> force all JSON stuff into PSRAM; gives more free heap
;; lib_deps = ${esp32s3.lib_deps}
;; ${esp32.AR_lib_deps}
;; board_build.partitions = ${esp32.large_partitions}
;; board_build.f_flash = 80000000L
;; monitor_filters = esp32_exception_decoder
;; [env:esp32s3dev_16MB_PSRAM_opi]
;; extends = env:esp32s3dev_8MB_PSRAM_opi
@@ -1303,7 +1306,9 @@ platform_packages = ${esp32_legacy.platform_packages}
build_unflags = ${esp32_legacy.build_unflags}
build_flags = ${common.build_flags} ${esp32_legacy.build_flags} ${common_mm.build_flags_S} ${common_mm.build_disable_sync_interfaces}
lib_deps = ${esp32_legacy.lib_deps} ${common_mm.lib_deps_S}
lib_ignore = ${common_mm.DMXin_lib_ignore} ;; requires V4 framework
lib_ignore =
${common_mm.DMXin_lib_ignore} ;; requires V4 framework
${esp32_legacy.lib_ignore}
upload_speed = 460800 ; or 921600
;; new V4 platform
;;platform = ${esp32.platform}
@@ -2743,6 +2748,7 @@ lib_ignore =
OneWire ; not needed as we don't include USERMOD_DALLASTEMPERATURE
U8g2 ; not needed as we don't include USERMOD_FOUR_LINE_DISPLAY
${common_mm.animartrix_lib_ignore} ;; Tips our memory usage over the limit
${esp32c3.lib_ignore}
; RAM: [== ] 22.1% (used 72408 bytes from 327680 bytes)
; Flash: [======== ] 83.5% (used 1313420 bytes from 1572864 bytes)
@@ -2827,7 +2833,9 @@ build_flags = ${common.build_flags} ${esp32c3.build_flags}
-D WLED_USE_MY_CONFIG
;-D WLED_DEBUG -D SR_DEBUG
lib_deps = ${esp32c3.lib_deps} ${common_mm.lib_deps_S}
lib_ignore = IRremoteESP8266 ; use with WLED_DISABLE_INFRARED for faster compilation
lib_ignore =
IRremoteESP8266 ; use with WLED_DISABLE_INFRARED for faster compilation
${esp32c3.lib_ignore}
monitor_filters = esp32_exception_decoder
; RAM: [== ] 22.5% (used 73740 bytes from 327680 bytes)
; Flash: [==========] 96.3% (used 1515336 bytes from 1572864 bytes)