forked from espressif/arduino-esp32
Add KSZ8081 support. (#5061)
This adds support for the KSZ8081 ethernet phy. Only the IDF 4+ specific code is modified, as the phy support was only added recently: espressif/esp-idf@aecfbf96
This commit is contained in:
@ -170,6 +170,8 @@ bool ETHClass::begin(uint8_t phy_addr, int power, int mdc, int mdio, eth_phy_typ
|
||||
eth_phy = esp_eth_phy_new_dm9051(&phy_config);
|
||||
break;
|
||||
#endif
|
||||
case ETH_PHY_KSZ8081:
|
||||
eth_phy = esp_eth_phy_new_ksz8081(&phy_config);
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user