adding esp32_16MB_V4_M_eth for 16MB esp32 with ethernet

This commit is contained in:
Frank
2026-01-13 21:39:25 +01:00
parent 27131d0702
commit e8dba64b53

View File

@@ -1917,6 +1917,36 @@ lib_ignore = IRremoteESP8266 ; use with WLED_DISABLE_INFRARED for faster compila
; RAM: [=== ] 25.6% (used 84048 bytes from 327680 bytes)
; Flash: [==========] 96.1% (used 1637085 bytes from 1703936 bytes)
[env:esp32_16MB_V4_M_eth]
extends = esp32_4MB_V4_M_base
;board_build.partitions = tools/WLED_ESP32_16MB.csv ;; WLED standard for 16MB flash: 2MB firmware, 12 MB filesystem
board_build.partitions = ${esp32.extreme_partitions} ;; WLED extended for 16MB flash: 3.2MB firmware, 9 MB filesystem
board = esp32_16MB-poe ;; needed for ethernet boards (selects "esp32-poe" as variant)
build_unflags = ${esp32_4MB_V4_M_base.build_unflags}
${Speed_Flags.build_unflags} ;; to override -Os
-D WLED_DISABLE_ADALIGHT
-D WLED_DISABLE_LOXONE ; FLASH 1272 bytes
-D WLED_DISABLE_ALEXA ; RAM 116 bytes; FLASH 13524 bytes
-D WLED_DISABLE_HUESYNC ;RAM 122 bytes; FLASH 6308 bytes
-D WLED_DISABLE_MQTT ; RAM 216 bytes; FLASH 16496 bytes
;;-D WLED_DISABLE_INFRARED ;RAM 136 bytes; FLASH 24492 bytes
build_flags = ${esp32_4MB_V4_M_base.esp32_build_flags}
-D WLED_RELEASE_NAME=esp32_16MB_V4_M_eth ; This will be included in the firmware.bin filename
${Speed_Flags.build_flags_V4} ;; -O2 -> optimize for speed instead of size
-D WLED_ENABLE_PIXART ;; 8KB Flash
-D WLED_ENABLE_PIXELFORGE ;; 12KB Flash
;; ${common_mm.HUB75_build_flags} ;; not enough pins for HUB75
;; -D SR_DMTYPE=254 ;; HUB75 driver needs the I2S unit - set AR default mode to 'Network Receive Only' to prevent driver conflicts.
-D WLED_USE_ETHERNET
-D WLED_DISABLE_ESPNOW ;; ESP-NOW requires wifi, may crash with ethernet only
-D BTNPIN=-1 -D RLYPIN=-1 -D IRPIN=-1
-D LEDPIN=4
lib_deps = ${esp32_4MB_V4_M_base.esp32_lib_deps}
;; ${common_mm.HUB75_lib_deps}
${common_mm.animartrix_lib_deps}
; RAM: [=== ] 26.7% (used 87368 bytes from 327680 bytes)
; Flash: [======= ] 65.5% (used 2061117 bytes from 3145728 bytes)
;; softhack007: my favourite HUB75 buildenv - fastest possible
[env:esp32_4MB_V4_HUB75_forum]
extends = esp32_4MB_V4_S_base