Add ESP32-ETHERNET-KIT-VE type
This commit is contained in:
parent
9c9854b6bf
commit
a517f0df1d
@ -192,7 +192,7 @@
|
|||||||
#define BTN_TYPE_ANALOG_INVERTED 8
|
#define BTN_TYPE_ANALOG_INVERTED 8
|
||||||
|
|
||||||
//Ethernet board types
|
//Ethernet board types
|
||||||
#define WLED_NUM_ETH_TYPES 7
|
#define WLED_NUM_ETH_TYPES 8
|
||||||
|
|
||||||
#define WLED_ETH_NONE 0
|
#define WLED_ETH_NONE 0
|
||||||
#define WLED_ETH_WT32_ETH01 1
|
#define WLED_ETH_WT32_ETH01 1
|
||||||
|
@ -63,18 +63,19 @@
|
|||||||
<h3>Experimental</h3>
|
<h3>Experimental</h3>
|
||||||
Disable WiFi sleep: <input type="checkbox" name="WS"><br>
|
Disable WiFi sleep: <input type="checkbox" name="WS"><br>
|
||||||
<i>Can help with connectivity issues.<br>
|
<i>Can help with connectivity issues.<br>
|
||||||
Do not enable if WiFi is working correctly, increases power consumption.</i>
|
Do not enable if WiFi is working correctly, increases power consumption.</i>
|
||||||
<div id="ethd">
|
<div id="ethd">
|
||||||
<h3>Ethernet Type</h3>
|
<h3>Ethernet Type</h3>
|
||||||
<select name="ETH">
|
<select name="ETH">
|
||||||
<option value="0">None</option>
|
<option value="0">None</option>
|
||||||
<option value="2">ESP32-POE</option>
|
<option value="2">ESP32-POE</option>
|
||||||
<option value="6">ESP32Deux</option>
|
<option value="6">ESP32Deux</option>
|
||||||
<option value="4">QuinLED-ESP32</option>
|
<option value="7">KIT-VE</option>
|
||||||
<option value="5">TwilightLord-ESP32</option>
|
<option value="4">QuinLED-ESP32</option>
|
||||||
<option value="3">WESP32</option>
|
<option value="5">TwilightLord-ESP32</option>
|
||||||
|
<option value="3">WESP32</option>
|
||||||
<option value="1">WT32-ETH01</option>
|
<option value="1">WT32-ETH01</option>
|
||||||
</select><br><br></div>
|
</select><br><br></div>
|
||||||
<hr>
|
<hr>
|
||||||
<button type="button" onclick="B()">Back</button><button type="submit">Save & Connect</button>
|
<button type="button" onclick="B()">Back</button><button type="submit">Save & Connect</button>
|
||||||
</form>
|
</form>
|
||||||
|
@ -64,11 +64,11 @@ Can help with connectivity issues.<br>
|
|||||||
Do not enable if WiFi is working correctly, increases power consumption.</i><div
|
Do not enable if WiFi is working correctly, increases power consumption.</i><div
|
||||||
id="ethd"><h3>Ethernet Type</h3><select name="ETH"><option value="0">None
|
id="ethd"><h3>Ethernet Type</h3><select name="ETH"><option value="0">None
|
||||||
</option><option value="2">ESP32-POE</option><option value="6">ESP32Deux
|
</option><option value="2">ESP32-POE</option><option value="6">ESP32Deux
|
||||||
</option><option value="4">QuinLED-ESP32</option><option value="5">
|
</option><option value="7">KIT-VE</option><option value="4">QuinLED-ESP32
|
||||||
TwilightLord-ESP32</option><option value="3">WESP32</option><option value="1">
|
</option><option value="5">TwilightLord-ESP32</option><option value="3">WESP32
|
||||||
WT32-ETH01</option></select><br><br></div><hr><button type="button"
|
</option><option value="1">WT32-ETH01</option></select><br><br></div><hr><button
|
||||||
onclick="B()">Back</button><button type="submit">Save & Connect</button></form>
|
type="button" onclick="B()">Back</button><button type="submit">Save & Connect
|
||||||
</body></html>)=====";
|
</button></form></body></html>)=====";
|
||||||
|
|
||||||
|
|
||||||
// Autogenerated from wled00/data/settings_leds.htm, do not edit!!
|
// Autogenerated from wled00/data/settings_leds.htm, do not edit!!
|
||||||
|
@ -31,10 +31,6 @@ const ethernet_settings ethernetBoards[] = {
|
|||||||
},
|
},
|
||||||
|
|
||||||
// WT32-EHT01
|
// WT32-EHT01
|
||||||
// Please note, from my testing only these pins work for LED outputs:
|
|
||||||
// IO2, IO4, IO12, IO14, IO15
|
|
||||||
// These pins do not appear to work from my testing:
|
|
||||||
// IO35, IO36, IO39
|
|
||||||
{
|
{
|
||||||
1, // eth_address,
|
1, // eth_address,
|
||||||
16, // eth_power,
|
16, // eth_power,
|
||||||
@ -92,6 +88,16 @@ const ethernet_settings ethernetBoards[] = {
|
|||||||
18, // eth_mdio,
|
18, // eth_mdio,
|
||||||
ETH_PHY_LAN8720, // eth_type,
|
ETH_PHY_LAN8720, // eth_type,
|
||||||
ETH_CLOCK_GPIO17_OUT // eth_clk_mode
|
ETH_CLOCK_GPIO17_OUT // eth_clk_mode
|
||||||
|
},
|
||||||
|
|
||||||
|
// ESP32-ETHERNET-KIT-VE
|
||||||
|
{
|
||||||
|
0, // eth_address,
|
||||||
|
5, // eth_power,
|
||||||
|
23, // eth_mdc,
|
||||||
|
18, // eth_mdio,
|
||||||
|
ETH_PHY_IP101, // eth_type,
|
||||||
|
ETH_CLOCK_GPIO0_IN // eth_clk_mode
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user