support iotorero ethernet controller

This commit is contained in:
Aiden
2025-08-21 12:51:48 +08:00
parent 1fb9eb771e
commit 8baa6a4616
3 changed files with 13 additions and 1 deletions

View File

@@ -352,7 +352,7 @@ static_assert(WLED_MAX_BUSSES <= 32, "WLED_MAX_BUSSES exceeds hard limit");
#define BTN_TYPE_TOUCH_SWITCH 9
//Ethernet board types
#define WLED_NUM_ETH_TYPES 13
#define WLED_NUM_ETH_TYPES 14
#define WLED_ETH_NONE 0
#define WLED_ETH_WT32_ETH01 1
@@ -367,6 +367,7 @@ static_assert(WLED_MAX_BUSSES <= 32, "WLED_MAX_BUSSES exceeds hard limit");
#define WLED_ETH_SERG74 10
#define WLED_ETH_ESP32_POE_WROVER 11
#define WLED_ETH_LILYGO_T_POE_PRO 12
#define WLED_ETH_IoTorero 13
//Hue error codes
#define HUE_ERROR_INACTIVE 0

View File

@@ -258,6 +258,7 @@ Static subnet mask:<br>
<h3>Ethernet Type</h3>
<select name="ETH">
<option value="0">None</option>
<option value="13">IoTorero-ETH-Controller</option>
<option value="9">ABC! WLED V43 & compatible</option>
<option value="2">ESP32-POE</option>
<option value="11">ESP32-POE-WROVER</option>

View File

@@ -144,6 +144,16 @@ const ethernet_settings ethernetBoards[] = {
18, // eth_mdio,
ETH_PHY_LAN8720, // eth_type,
ETH_CLOCK_GPIO0_OUT // eth_clk_mode
},
// IoTorero Ethernet Controller
{
1, // eth_address,
-1, // eth_power,
23, // eth_mdc,
18, // eth_mdio,
ETH_PHY_LAN8720, // eth_type,
ETH_CLOCK_GPIO17_OUT // eth_clk_mode
}
};