Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
3 changes: 2 additions & 1 deletion wled00/const.h
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,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 16
#define WLED_NUM_ETH_TYPES 17


#define WLED_ETH_NONE 0
Expand All @@ -414,6 +414,7 @@ static_assert(WLED_MAX_BUSSES <= 32, "WLED_MAX_BUSSES exceeds hard limit");
#define WLED_ETH_GLEDOPTO 13
#define WLED_ETH_QUINLED_V4_UNOQUAD 14
#define WLED_ETH_QUINLED_V4_OCTA 15
#define WLED_ETH_WESP32_RTL8201 16


//Hue error codes
Expand Down
3 changes: 2 additions & 1 deletion wled00/data/settings_wifi.htm
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,8 @@ <h3>Ethernet Type</h3>
<option value="15">QuinLED v4 Octa</option>
<option value="10">Serg74-ETH32</option>
<option value="5">TwilightLord-ESP32</option>
<option value="3">WESP32</option>
<option value="3">WESP32 (Rev 6 and earlier)</option>
<option value="16">WESP32 (Rev 7 and later)</option>
<option value="1">WT32-ETH01</option>
<option value="13">Gledopto</option>
</select><br><br>
Expand Down
12 changes: 11 additions & 1 deletion wled00/network.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const ethernet_settings ethernetBoards[] = {
ETH_CLOCK_GPIO17_OUT // eth_clk_mode
},

// WESP32
// WESP32 rev 6 and earlier
{
0, // eth_address,
-1, // eth_power,
Expand Down Expand Up @@ -175,6 +175,16 @@ const ethernet_settings ethernetBoards[] = {
ETH_PHY_LAN8720, // eth_type
ETH_CLOCK_GPIO0_IN // eth_clk_mode
},

// WLED_ETH_WESP32_RTL8201 (16) - WESP32 rev 7 and later
{
0, // eth_address
-1, // eth_power
16, // eth_mdc
17, // eth_mdio
ETH_PHY_RTL8201, // eth_type
ETH_CLOCK_GPIO0_IN // eth_clk_mode
},
};

// sanity checks for ethernet config table and WLED_ETH_DEFAULT
Expand Down
Loading