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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user