Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
af6aa5b
Stash
troyhacks Jan 15, 2026
2bb2664
W5500 "onnected" but no IP yet.
troyhacks Jan 15, 2026
dc41ebb
W5500 working oin ESP32 for Quindor
troyhacks Jan 15, 2026
7037edd
Fix for non-W5500 Ethernet (wrrong ETH.begin() order)
troyhacks Jan 15, 2026
8a114b2
W5500 addition should work for S3 and others now too
troyhacks Jan 15, 2026
60d28a9
Allow SPI2_HOST if no SPI3_HOST
troyhacks Jan 15, 2026
830861a
Adding a line to reconfigure interfaces just in case - and worst case…
troyhacks Jan 19, 2026
6ccb057
First attempt, new libs
troyhacks Jan 20, 2026
b745f8c
Moving ETHClass2 to top env.
troyhacks Jan 20, 2026
f4b2dd8
More platform changes
troyhacks Jan 20, 2026
25eaa8f
Fixes for <huge sigh> ESP8266
troyhacks Jan 20, 2026
28bd512
Let's try needing min 4.4.5
troyhacks Jan 20, 2026
52c3eb9
More guards for older IDF versions
troyhacks Jan 20, 2026
164614b
More guards for old IDF versions
troyhacks Jan 20, 2026
42d2f1c
Check for platform W5500 support
troyhacks Jan 20, 2026
ff28c9c
Comfort for the elderly
troyhacks Jan 20, 2026
199d505
Comfort anything without ETH_PHY_W5500 defined
troyhacks Jan 20, 2026
84da8cb
Retest
troyhacks Jan 20, 2026
6079b48
Try this again
troyhacks Jan 20, 2026
ac1a4ca
Changing of the guard
troyhacks Jan 20, 2026
e11e1f3
Ignore ETHClass2 where not supported
troyhacks Jan 20, 2026
6091344
More comforts
troyhacks Jan 20, 2026
7db76e0
Put back in the original code for IDFv3
troyhacks Jan 20, 2026
f698f06
Duped definition
troyhacks Jan 20, 2026
e0c8b47
Ignore ETHClass2 on esp32_4MB_M_eth
troyhacks Jan 20, 2026
7cd1b2f
Try making one Tasmota that was oversized.
troyhacks Jan 20, 2026
a430386
Try that again but ignore the lib too
troyhacks Jan 20, 2026
cfcd2dd
Ignore the right lib this time. Case matters.
troyhacks Jan 20, 2026
b1f44d4
Moved some back to Tasmota and ignored ETHClass2
troyhacks Jan 20, 2026
4917c13
Missed one.
troyhacks Jan 21, 2026
83bff2d
Pinning ETHClass2 to a commit to make the rabbit shut up.
troyhacks Jan 21, 2026
a540b96
This is not in the right place. What place should it be in? I dunno!
troyhacks Jan 21, 2026
33feac9
Testing this one
troyhacks Jan 21, 2026
84b35af
Tidy
troyhacks Jan 21, 2026
286d95e
Added WaveShare_ESP32-S3-ETH
troyhacks Jan 21, 2026
a4d0822
Fixing places that deal with pins, like reserved pins and saviing pin…
troyhacks Jan 21, 2026
68e1790
Build fixes
troyhacks Jan 21, 2026
41512dd
Fix esp32_nonconfigurable_ethernet_pins
troyhacks Jan 21, 2026
43fe29d
managed_pin_type fixes
troyhacks Jan 21, 2026
214be9a
Juggling initializers
troyhacks Jan 21, 2026
32a0c7b
Testing intializers
troyhacks Jan 21, 2026
f676134
Another initializer
troyhacks Jan 21, 2026
10d70c7
Initializers
troyhacks Jan 21, 2026
9772e36
Hopefully this is it.
troyhacks Jan 21, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,643 changes: 1,639 additions & 4 deletions package-lock.json

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,9 @@
"dependencies": {
"clean-css": "^5.3.3",
"html-minifier-terser": "^7.2.0",
"web-resource-inliner": "^7.0.0",
"nodemon": "^3.1.9"
"inliner": "^1.13.1",
"nodemon": "^3.1.9",
"web-resource-inliner": "^7.0.0"
},
"engines": {
"node": ">=20.0.0"
Expand Down
54 changes: 40 additions & 14 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ default_envs =
abc_wled_controller_v43_V4_S
athom_music_esp32_4MB_V4_M
adafruit_matrixportal_esp32s3 ;; HUB75 supported, uses standard bootloader
WaveShare_ESP32-S3-ETH ;; Easiest ESP32-S3 with W5500 Ethernet and USB-C for programming
; adafruit_matrixportal_esp32s3_tinyUF2 ;; supports the adafruit "tinyUF2" bootloader

; Go to MoonModules environments for environments
Expand Down Expand Up @@ -262,6 +263,7 @@ lib_deps =
https://github.com/Aircoookie/ESPAsyncWebServer.git#v2.4.2
bitbank2/AnimatedGIF@^1.4.7
https://github.com/Aircoookie/GifDecoder.git#bc3af189b6b1e06946569f6b4287f0b79a860f8e
https://github.com/troyhacks/ETHClass2.git#3744ef20fdaa8d8c15597701fc3b5267757bee90
#For use of the TTGO T-Display ESP32 Module with integrated TFT display uncomment the following line
#TFT_eSPI
#For compatible OLED display uncomment following
Expand Down Expand Up @@ -325,6 +327,7 @@ lib_deps =
${esp8266.lib8266_deps} ;; use proven library versions for 8266
lib_ignore =
NeoESP32RmtHI
ETHClass2

;; 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 =
Expand Down Expand Up @@ -420,11 +423,11 @@ platformV4_pre = espressif32@5.2.0
platformV4_packages_pre =
toolchain-riscv32-esp @ 8.4.0+2021r2-patch5 ; required for platform version < 5.3.0, remove this line when upgrading to platform >=5.3.0
;;; standard V4 platform
platformV4 = espressif32@ ~6.3.2
platformV4_packages = platformio/framework-arduinoespressif32 @ 3.20009.0 ;; select arduino-esp32 v2.0.9 (arduino-esp32 2.0.10 thru 2.0.14 are buggy so avoid them)
platformV4 = espressif32@6.12.0
platformV4_packages = platformio/framework-arduinoespressif32 @ 3.20017.241212+sha.dcc1105b ;; select arduino-esp32 v2.0.9 (arduino-esp32 2.0.10 thru 2.0.14 are buggy so avoid them)
Comment on lines +426 to +427
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

🧩 Analysis chain

🏁 Script executed:

cd /tmp && find . -name "platformio.ini" -type f 2>/dev/null | head -5

Repository: MoonModules/WLED-MM

Length of output: 45


🏁 Script executed:

head -500 platformio.ini | tail -100

Repository: MoonModules/WLED-MM

Length of output: 5453


🏁 Script executed:

sed -n '410,430p' platformio.ini

Repository: MoonModules/WLED-MM

Length of output: 1219


🏁 Script executed:

sed -n '1860,1870p' platformio.ini

Repository: MoonModules/WLED-MM

Length of output: 582


🏁 Script executed:

sed -n '2550,2565p' platformio.ini

Repository: MoonModules/WLED-MM

Length of output: 917


🌐 Web query:

Tasmota platform-espressif32 2023.06.02 framework-arduinoespressif32 version

💡 Result:

platform-espressif32 (release around 2023-06-02 / v6.3.2) used framework-arduinoespressif32 version 3.20009.0 (Arduino core 2.0.9). [1][2]

Sources:

  • PlatformIO discussion mapping platform 6.3.2 → framework-arduinoespressif32 @ 3.20009.0 (2.0.9). [1]
  • platform-espressif32 releases / repo (context on platform versions and framework packages). [2]

🏁 Script executed:

# Check what other environments reference platformTasmota
grep -n "platformTasmota\|platform_packagesTasmota" platformio.ini | head -20

Repository: MoonModules/WLED-MM

Length of output: 1078


🏁 Script executed:

# Check if there are comments explaining why Tasmota is used
grep -B2 -A2 "platform_packagesTasmota" platformio.ini | head -40

Repository: MoonModules/WLED-MM

Length of output: 1895


Update Tasmota platform framework version to support W5500.

Multiple environments using ${esp32.platformTasmota} (lines 1865–1866, 2557–2558, 2672–2673, 2730–2731, 2836–2837, 3091–3092) will fail W5500 support because Tasmota platform 2023.06.02 includes framework-arduinoespressif32 @ 3.20009.0, which does not satisfy the requirement of > 3.20009.0.

Update platform_packagesTasmota (line 417) to explicitly specify a framework version ≥ 3.20010.0, or update the platformTasmota URL to a newer Tasmota release that includes the required framework version.

🤖 Prompt for AI Agents
In `@platformio.ini` around lines 425 - 426, The Tasmota-based environments fail
W5500 because the included framework-arduinoespressif32 is stuck at 3.20009.0;
update the Tasmota platform package declaration so it explicitly pulls
framework-arduinoespressif32 >= 3.20010.0. Locate the platform_packagesTasmota
(and/or platformTasmota URL) and modify it to set platform_packagesTasmota to
include "framework-arduinoespressif32 @ 3.20010.0" (or a later 3.2001x+ build),
or point platformTasmota to a newer Tasmota release that bundles
framework-arduinoespressif32 >= 3.20010.0 so all `${esp32.platformTasmota}`
environments get the required framework.


;;; experimental: latest V4 platform with latest arduino-esp32 2.0.14 + ESP-IDF 4.4.6 (may or may not work)
platformV4_xp = espressif32@ ~6.5.0
platformV4_xp = espressif32@6.12.0
platformV4_packages_xp = platformio/framework-arduinoespressif32 @ 3.20014.231204 ;; arduino-esp32 2.0.14

build_flagsV4 = -g
Expand Down Expand Up @@ -458,8 +461,8 @@ lib_depsV4 =
;; platform_packages = platformio/framework-arduinoespressif32 @ 3.20009.0 ;; select arduino-esp32 v2.0.9 (arduino-esp32 2.0.10 thru 2.0.14 are buggy so avoid them)

;; Tasmota Arduino Core 2.0.9 with IPv6 support, based on IDF 4.4.4. Warning: all kernel error asserts removed
platform = ${esp32.platformTasmota}
platform_packages = ${esp32.platform_packagesTasmota}
platform = espressif32@6.12.0 ;; ${esp32.platformTasmota}
platform_packages = platformio/framework-arduinoespressif32 @ 3.20017.241212+sha.dcc1105b ;; ${esp32.platform_packagesTasmota}

build_unflags = ${common.build_unflags}
build_flags = -g
Expand Down Expand Up @@ -689,6 +692,8 @@ build_flags = ${common.build_flags} ${esp32_legacy.build_flags} -D WLED_RELEAS
;;-D WLED_ENABLE_FULL_FONTS ;; 10KB flash
lib_deps = ${esp32_legacy.lib_deps}
${esp32.AR_lib_deps}
lib_ignore = ${esp32_legacy.lib_ignore}
ETHClass2
board_build.partitions = ${esp32_legacy.default_partitions}
monitor_filters = esp32_exception_decoder
;; RAM: [== ] 23.2% (used 75944 bytes from 327680 bytes)
Expand Down Expand Up @@ -1480,6 +1485,8 @@ build_flags = ${esp32_4MB_M_base.build_flags}
-D WLED_DISABLE_INFRARED ;; Over the limit
-D WLED_DISABLE_PARTICLESYSTEM1D ;; exceeds flash size limit
-D WLED_DISABLE_PARTICLESYSTEM2D ;; exceeds flash size limit
lib_ignore = ${esp32_4MB_M_base.lib_ignore}
ETHClass2
Comment on lines +1488 to +1489
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🔴 Critical

Inconsistent configuration: ethernet enabled but ETHClass2 library ignored.

The esp32_4MB_M_eth environment defines -D WLED_USE_ETHERNET (line 1476) but then ignores the ETHClass2 library (line 1489). This will cause build failures because the ethernet code requires the ETHClass2 library.

Remove ETHClass2 from lib_ignore for this environment:

 lib_ignore = ${esp32_4MB_M_base.lib_ignore}
-  ETHClass2
🤖 Prompt for AI Agents
In `@platformio.ini` around lines 1488 - 1489, The esp32_4MB_M_eth environment
enables ethernet via the -D WLED_USE_ETHERNET define but then excludes the
ETHClass2 library in its lib_ignore, causing build failures; update the
esp32_4MB_M_eth environment by removing ETHClass2 from its lib_ignore so the
ETHClass2 library is available when -D WLED_USE_ETHERNET is set (look for the
esp32_4MB_M_eth env block, the -D WLED_USE_ETHERNET define, and the lib_ignore
entry containing ETHClass2).

; RAM: [== ] 24.1% (used 78904 bytes from 327680 bytes)
; Flash: [==========] 98.5% (used 1548489 bytes from 1572864 bytes

Expand Down Expand Up @@ -1856,8 +1863,8 @@ extends = env:esp32_4MB_V4_S_HUB75
[env:esp32_4MB_V4_M]
extends = esp32_4MB_V4_M_base
;; needs tasmota framework; will exceed flash limits with default framework
platform = ${esp32.platform} ;; "V4" tasmota
platform_packages = ${esp32.platform_packages}
platform = ${esp32.platformTasmota}
platform_packages = ${esp32.platform_packagesTasmota}
build_flags = ${esp32_4MB_V4_M_base.esp32_build_flags}
-D WLED_RELEASE_NAME=esp32_4MB_V4_M
-D WLED_WATCHDOG_TIMEOUT=0 #-D WLED_DISABLE_BROWNOUT_DET
Expand All @@ -1869,6 +1876,7 @@ build_flags = ${esp32_4MB_V4_M_base.esp32_build_flags}
lib_deps = ${esp32_4MB_V4_M_base.esp32_lib_deps}
lib_ignore =
IRremoteESP8266 ; use with WLED_DISABLE_INFRARED for faster compilation
ETHClass2
${common_mm.HUB75_lib_ignore} ;; over the flash size limit
;;${common_mm.animartrix_lib_ignore}
build_unflags = ${esp32_4MB_V4_M_base.build_unflags}
Expand Down Expand Up @@ -2547,8 +2555,8 @@ lib_ignore =
;; MM for esp32-s3 zero/supermini and lolin S3 mini boards - standard
[env:esp32S3_4MB_PSRAM_M]
extends = env:esp32S3_8MB_M
platform = ${esp32s3.platform}
platform_packages = ${esp32s3.platform_packages}
platform = ${esp32.platformTasmota}
platform_packages = ${esp32.platform_packagesTasmota}
board = lolin_s3_mini ;; -S3 mini: 4MB flash 2MB PSRAM
board_build.partitions = ${esp32.extended_partitions} ;; 1.65MB firmware, 700KB filesystem
build_unflags = ${common.build_unflags}
Expand Down Expand Up @@ -2587,6 +2595,7 @@ lib_ignore =
;; IRremoteESP8266 ; use with WLED_DISABLE_INFRARED for faster compilation
${common_mm.HUB75_lib_ignore}
${common_mm.DMXin_lib_ignore}
ETHClass2
;; ${common_mm.animartrix_lib_ignore}
; RAM: [== ] 16.7% (used 54676 bytes from 327680 bytes)
; Flash: [======== ] 83.2% (used 1416997 bytes from 1703936 bytes)
Expand Down Expand Up @@ -2661,8 +2670,8 @@ monitor_filters = esp32_exception_decoder
[env:esp32s2_PSRAM_M]
extends = esp32_4MB_V4_M_base
;; default tasmota platform
platform = ${esp32s2.platform}
platform_packages = ${esp32s2.platform_packages}
platform = ${esp32.platformTasmota}
platform_packages = ${esp32.platform_packagesTasmota}
;; standard espressif platform (optional)
;; platform = ${esp32.platformV4}
;; platform_packages = ${esp32.platformV4_packages}
Expand Down Expand Up @@ -2710,6 +2719,7 @@ lib_deps = ${esp32s2.lib_deps} ${common_mm.lib_deps_S} ${common_mm.lib_deps_V4_M
lib_ignore =
IRremoteESP8266 ; use with WLED_DISABLE_INFRARED for faster compilation
OneWire ; not needed as we don't include USERMOD_DALLASTEMPERATURE
ETHClass2
${common_mm.HUB75_lib_ignore}
${common_mm.DMXin_lib_ignore}
monitor_filters = esp32_exception_decoder
Expand All @@ -2718,6 +2728,8 @@ monitor_filters = esp32_exception_decoder

[env:esp32s2_PSRAM_S]
extends = env:esp32s2_PSRAM_M
platform = ${esp32.platformTasmota}
platform_packages = ${esp32.platform_packagesTasmota}
board_build.partitions = ${esp32.default_partitions} ;; 1.55MB firmware, 1MB filesystem
build_unflags = ${env:esp32s2_PSRAM_M.build_unflags}
-DWLED_DISABLE_ADALIGHT
Expand All @@ -2731,6 +2743,7 @@ build_flags = ${env:esp32s2_PSRAM_M.build_flags}
-D WLED_RELEASE_NAME=esp32s2_4MB_S
lib_deps = ${env:esp32s2_PSRAM_M.lib_deps}
lib_ignore = ${env:esp32s2_PSRAM_M.lib_ignore}
ETHClass2
U8g2
${common_mm.animartrix_lib_ignore}
; RAM: [== ] 18.1% (used 59176 bytes from 327680 bytes)
Expand Down Expand Up @@ -2821,6 +2834,8 @@ build_flags = ${env:esp32c3dev_4MB_M.build_flags}

[env:esp32c3dev_2MB_M]
extends = env:esp32c3dev_4MB_M
platform = ${esp32.platformTasmota}
platform_packages = ${esp32.platform_packagesTasmota}
board = lolin_c3_mini
;;; replace WLED_RELEASE_NAME, disable CDC_ON_BOOT
build_unflags = ${env:esp32c3dev_4MB_M.build_unflags}
Expand All @@ -2833,7 +2848,8 @@ board_build.partitions = tools/WLED_ESP32_2MB_noOTA.csv
board_build.flash_mode = dio
board_upload.flash_size = 2MB
board_upload.maximum_size = 2097152

lib_ignore = ${env:esp32c3dev_4MB_M.lib_ignore}
ETHClass2
build_flags = ${env:esp32c3dev_4MB_M.build_flags}
-D WLED_WATCHDOG_TIMEOUT=0
-D WLED_DISABLE_OTA
Expand Down Expand Up @@ -3073,8 +3089,8 @@ lib_ignore = ${esp32_4MB_M_base.lib_ignore}
;; "V4" build environment (tasmota core)
[env:athom_music_esp32_4MB_V4_M]
extends = esp32_4MB_V4_M_base
platform = ${esp32.platform} ;; "V4" tasmota
platform_packages = ${esp32.platform_packages}
platform = ${esp32.platformTasmota}
platform_packages = ${esp32.platform_packagesTasmota}
build_unflags = ${esp32_4MB_V4_M_base.build_unflags} ;; ${common_mm.build_disable_sync_interfaces}
${common_mm.animartrix_build_flags} ;; exceeds flash limits, no pins for HUB75
; -D USERMOD_ARTIFX ;; disabled to save some program space in flash
Expand Down Expand Up @@ -3108,6 +3124,7 @@ build_flags = ${esp32_4MB_V4_M_base.esp32_build_flags}
lib_deps = ${esp32_4MB_V4_M_base.esp32_lib_deps}
lib_ignore =
${common_mm.DMXin_lib_ignore}
ETHClass2
; RAM: [== ] 24.0% (used 78568 bytes from 327680 bytes)
; Flash: [======== ] 82.3% (used 1402341 bytes from 1703936 bytes)

Expand Down Expand Up @@ -3309,3 +3326,12 @@ build_flags = ${env:adafruit_matrixportal_esp32s3_wled.build_flags}
[env:adafruit_matrixportal_esp32s3]
;; this buildenv is just an alias for the matrixportal UF2 build, to keep 3rd party build tools happy.
extends = env:adafruit_matrixportal_esp32s3_wled

[env:WaveShare_ESP32-S3-ETH]
;; This is the easiest-to-use W5500 board as it has USB-C for programming
extends = env:esp32S3_16MB_PSRAM_M_HUB75
build_unflags = -D LEDPIN -D BTNPIN -D RLYPIN -D I2S_SDPIN -D I2S_CKPIN -D I2S_WSPIN -D ARDUINO_TTGO_T7_S3
build_flags = ${env:esp32S3_16MB_PSRAM_M_HUB75.build_flags}
-D WLED_USE_ETHERNET
-D WLED_ETH_DEFAULT=16
-D LEDPIN=-1 -D BTNPIN=-1 -D RLYPIN=-1 -D I2S_SDPIN=-1 -D I2S_CKPIN=-1 -D I2S_WSPIN=-1
43 changes: 28 additions & 15 deletions wled00/cfg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -742,25 +742,38 @@ void serializeConfig() {
wifi[F("phy")] = force802_3g;

#ifdef WLED_USE_ETHERNET

#ifndef CONFIG_ETH_SPI_ETHERNET_W5500
#define ETH_PHY_W5500 ETH_PHY_MAX
#endif

JsonObject ethernet = doc.createNestedObject("eth");
ethernet["type"] = ethernetType;
if (ethernetType != WLED_ETH_NONE && ethernetType < WLED_NUM_ETH_TYPES) {
JsonArray pins = ethernet.createNestedArray("pin");
for (uint8_t p=0; p<WLED_ETH_RSVD_PINS_COUNT; p++) pins.add(esp32_nonconfigurable_ethernet_pins[p].pin);
if (ethernetBoards[ethernetType].eth_power>=0) pins.add(ethernetBoards[ethernetType].eth_power);
if (ethernetBoards[ethernetType].eth_mdc>=0) pins.add(ethernetBoards[ethernetType].eth_mdc);
if (ethernetBoards[ethernetType].eth_mdio>=0) pins.add(ethernetBoards[ethernetType].eth_mdio);
switch (ethernetBoards[ethernetType].eth_clk_mode) {
case ETH_CLOCK_GPIO0_IN:
case ETH_CLOCK_GPIO0_OUT:
pins.add(0);
break;
case ETH_CLOCK_GPIO16_OUT:
pins.add(16);
break;
case ETH_CLOCK_GPIO17_OUT:
pins.add(17);
break;
for (uint8_t p = 0; p < WLED_ETH_RSVD_PINS_COUNT; p++) pins.add(esp32_nonconfigurable_ethernet_pins[p].pin);
if (ethernetBoards[ethernetType].eth_power >= 0) pins.add(ethernetBoards[ethernetType].eth_power);
if (ethernetBoards[ethernetType].eth_mdc >= 0) pins.add(ethernetBoards[ethernetType].eth_mdc);
if (ethernetBoards[ethernetType].eth_mdio >= 0) pins.add(ethernetBoards[ethernetType].eth_mdio);
if (ethernetBoards[ethernetType].eth_miso_pin >= 0) pins.add(ethernetBoards[ethernetType].eth_miso_pin);
if (ethernetBoards[ethernetType].eth_mosi_pin >= 0) pins.add(ethernetBoards[ethernetType].eth_mosi_pin);
if (ethernetBoards[ethernetType].eth_cs_pin >= 0) pins.add(ethernetBoards[ethernetType].eth_cs_pin);
if (ethernetBoards[ethernetType].eth_rst_pin >= 0) pins.add(ethernetBoards[ethernetType].eth_rst_pin);
if (ethernetBoards[ethernetType].eth_int_pin >= 0) pins.add(ethernetBoards[ethernetType].eth_int_pin);
if (ethernetBoards[ethernetType].eth_sclk_pin >= 0) pins.add(ethernetBoards[ethernetType].eth_sclk_pin);
if (ethernetBoards[ethernetType].eth_type != ETH_PHY_W5500) {
switch (ethernetBoards[ethernetType].eth_clk_mode) {
case ETH_CLOCK_GPIO0_IN:
case ETH_CLOCK_GPIO0_OUT:
pins.add(0);
break;
case ETH_CLOCK_GPIO16_OUT:
pins.add(16);
break;
case ETH_CLOCK_GPIO17_OUT:
pins.add(17);
break;
}
}
}
#endif
Expand Down
5 changes: 4 additions & 1 deletion wled00/const.h
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@
#define BTN_TYPE_TOUCH_SWITCH 9 //WLEDMM not yet supported

//Ethernet board types
#define WLED_NUM_ETH_TYPES 15 //WLEDMM +1 for Olimex ESP32-Gateway
#define WLED_NUM_ETH_TYPES 18 //WLEDMM +1 for Olimex ESP32-Gateway + 3 for W5500

#define WLED_ETH_NONE 0
#define WLED_ETH_WT32_ETH01 1
Expand All @@ -326,6 +326,9 @@
#define WLED_ETH_LILYGO_T_POE_PRO 12
#define WLED_ETH_GLEDOPTO 13
#define WLED_ETH_OLIMEX_GTW 14
#define WLED_ETH_TTGO_T_ETH_LITE_S3 15
#define WLED_ETH_WAVESHARE_ESP32_S3_ETH 16
#define WLED_ETH_W5500_GENERIC 17

//Hue error codes
#define HUE_ERROR_INACTIVE 0
Expand Down
3 changes: 3 additions & 0 deletions wled00/data/settings_wifi.htm
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,9 @@ <h3>Ethernet Type</h3>
<option value="3">WESP32</option>
<option value="1">WT32-ETH01</option>
<option value="13">Gledopto</option>
<option value="15">TTGO T-ETH-Lite S3 (W5500) ☾</option> <!-- WLEDMM -->
<option value="16">WaveShare ESP32-S3-ETH (W5500) ☾</option> <!-- WLEDMM -->
<option value="17">W5500 Generic ☾</option> <!-- WLEDMM -->
</select><br><br>
</div>
<hr>
Expand Down
Loading