1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-28 21:53:48 +00:00

Added Ethernet Component for ESP IDF with JL1101 PHY driver (#4009)

Co-authored-by: Michał Obrembski <michal@obrembski.com>
This commit is contained in:
Michał Obrembski
2023-02-07 00:54:59 +01:00
committed by GitHub
parent 124ab31f22
commit d3627f0972
4 changed files with 346 additions and 0 deletions

View File

@@ -71,6 +71,10 @@ void EthernetComponent::setup() {
phy = esp_eth_phy_new_ip101(&phy_config);
break;
}
case ETHERNET_TYPE_JL1101: {
phy = esp_eth_phy_new_jl1101(&phy_config);
break;
}
default: {
this->mark_failed();
return;