Skip to content

Commit 8baa6a4

Browse files
committed
support iotorero ethernet controller
1 parent 1fb9eb7 commit 8baa6a4

File tree

3 files changed

+13
-1
lines changed

3 files changed

+13
-1
lines changed

wled00/const.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ static_assert(WLED_MAX_BUSSES <= 32, "WLED_MAX_BUSSES exceeds hard limit");
352352
#define BTN_TYPE_TOUCH_SWITCH 9
353353

354354
//Ethernet board types
355-
#define WLED_NUM_ETH_TYPES 13
355+
#define WLED_NUM_ETH_TYPES 14
356356

357357
#define WLED_ETH_NONE 0
358358
#define WLED_ETH_WT32_ETH01 1
@@ -367,6 +367,7 @@ static_assert(WLED_MAX_BUSSES <= 32, "WLED_MAX_BUSSES exceeds hard limit");
367367
#define WLED_ETH_SERG74 10
368368
#define WLED_ETH_ESP32_POE_WROVER 11
369369
#define WLED_ETH_LILYGO_T_POE_PRO 12
370+
#define WLED_ETH_IoTorero 13
370371

371372
//Hue error codes
372373
#define HUE_ERROR_INACTIVE 0

wled00/data/settings_wifi.htm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,7 @@ <h3>ESP-NOW Wireless</h3>
258258
<h3>Ethernet Type</h3>
259259
<select name="ETH">
260260
<option value="0">None</option>
261+
<option value="13">IoTorero-ETH-Controller</option>
261262
<option value="9">ABC! WLED V43 & compatible</option>
262263
<option value="2">ESP32-POE</option>
263264
<option value="11">ESP32-POE-WROVER</option>

wled00/network.cpp

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,16 @@ const ethernet_settings ethernetBoards[] = {
144144
18, // eth_mdio,
145145
ETH_PHY_LAN8720, // eth_type,
146146
ETH_CLOCK_GPIO0_OUT // eth_clk_mode
147+
},
148+
149+
// IoTorero Ethernet Controller
150+
{
151+
1, // eth_address,
152+
-1, // eth_power,
153+
23, // eth_mdc,
154+
18, // eth_mdio,
155+
ETH_PHY_LAN8720, // eth_type,
156+
ETH_CLOCK_GPIO17_OUT // eth_clk_mode
147157
}
148158
};
149159

0 commit comments

Comments
 (0)