mirror of
https://github.com/wled/WLED.git
synced 2025-07-19 08:46:34 +00:00
Add support for Olimex ESP32-POE-WROVER.
There is a version of the Olimex ESP32-POE board with an ESP32-WROVER module which has a the ethernet clock connected to a different IO than the version with an ESP32-WROOM module. This commit adds a new runtime selectable variant for the WROVER version.
This commit is contained in:
parent
97503897f0
commit
2ac218886a
@ -292,19 +292,20 @@
|
|||||||
#define BTN_TYPE_TOUCH_SWITCH 9
|
#define BTN_TYPE_TOUCH_SWITCH 9
|
||||||
|
|
||||||
//Ethernet board types
|
//Ethernet board types
|
||||||
#define WLED_NUM_ETH_TYPES 11
|
#define WLED_NUM_ETH_TYPES 12
|
||||||
|
|
||||||
#define WLED_ETH_NONE 0
|
#define WLED_ETH_NONE 0
|
||||||
#define WLED_ETH_WT32_ETH01 1
|
#define WLED_ETH_WT32_ETH01 1
|
||||||
#define WLED_ETH_ESP32_POE 2
|
#define WLED_ETH_ESP32_POE 2
|
||||||
#define WLED_ETH_WESP32 3
|
#define WLED_ETH_WESP32 3
|
||||||
#define WLED_ETH_QUINLED 4
|
#define WLED_ETH_QUINLED 4
|
||||||
#define WLED_ETH_TWILIGHTLORD 5
|
#define WLED_ETH_TWILIGHTLORD 5
|
||||||
#define WLED_ETH_ESP32DEUX 6
|
#define WLED_ETH_ESP32DEUX 6
|
||||||
#define WLED_ETH_ESP32ETHKITVE 7
|
#define WLED_ETH_ESP32ETHKITVE 7
|
||||||
#define WLED_ETH_QUINLED_OCTA 8
|
#define WLED_ETH_QUINLED_OCTA 8
|
||||||
#define WLED_ETH_ABCWLEDV43ETH 9
|
#define WLED_ETH_ABCWLEDV43ETH 9
|
||||||
#define WLED_ETH_SERG74 10
|
#define WLED_ETH_SERG74 10
|
||||||
|
#define WLED_ETH_ESP32_POE_WROVER 11
|
||||||
|
|
||||||
//Hue error codes
|
//Hue error codes
|
||||||
#define HUE_ERROR_INACTIVE 0
|
#define HUE_ERROR_INACTIVE 0
|
||||||
|
@ -215,6 +215,7 @@
|
|||||||
<option value="0">None</option>
|
<option value="0">None</option>
|
||||||
<option value="9">ABC! WLED V43 & compatible</option>
|
<option value="9">ABC! WLED V43 & compatible</option>
|
||||||
<option value="2">ESP32-POE</option>
|
<option value="2">ESP32-POE</option>
|
||||||
|
<option value="11">ESP32-POE-WROVER</option>
|
||||||
<option value="6">ESP32Deux</option>
|
<option value="6">ESP32Deux</option>
|
||||||
<option value="7">KIT-VE</option>
|
<option value="7">KIT-VE</option>
|
||||||
<option value="8">QuinLED-Dig-Octa & T-ETH-POE</option>
|
<option value="8">QuinLED-Dig-Octa & T-ETH-POE</option>
|
||||||
|
@ -123,6 +123,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-POE-WROVER
|
||||||
|
{
|
||||||
|
0, // eth_address,
|
||||||
|
12, // eth_power,
|
||||||
|
23, // eth_mdc,
|
||||||
|
18, // eth_mdio,
|
||||||
|
ETH_PHY_LAN8720, // eth_type,
|
||||||
|
ETH_CLOCK_GPIO0_OUT // eth_clk_mode
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user