You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
renamed Ethernet PHY model LAN8742 into LAN87XX to support both LAN8742 and LAN8720
added DP83848 PHY model
added missing GPIO_InitStructure declarations in the EthInitPinmappings function for some STM32 boards
support a range of models in a single Ethernet PHY driver
Copy file name to clipboardExpand all lines: connectivity/drivers/emac/CompositeEMAC.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -63,12 +63,12 @@ Unlike the MAC driver and the DMA, the PHY driver does not need to be subclassed
63
63
64
64
```json5
65
65
"MY_TARGET": {
66
-
"nsapi.emac-phy-model":"LAN8742",
66
+
"nsapi.emac-phy-model":"LAN87XX",
67
67
"nsapi.emac-phy-mdio-address":0
68
68
}
69
69
```
70
70
71
-
This will work out of the box, as long as `LAN8742` names a PHY driver defined in PhyDrivers.cpp. Individual PHY models will generally need their own drivers, since often PHYs have errata that need to be worked around or need other configuration that isn't defined in the standard. However, GenericEthPhy allows implementing the absolute minimum amount of logic per-phy as possible!
71
+
This will work out of the box, as long as `LAN87XX` names a PHY driver defined in PhyDrivers.cpp. Individual PHY models will generally need their own drivers, since often PHYs have errata that need to be worked around or need other configuration that isn't defined in the standard. However, GenericEthPhy allows implementing the absolute minimum amount of logic per-phy as possible!
72
72
73
73
Since user boards may want to use a different ethernet PHY, the driver can be customized in an application by overriding the `mbed::get_eth_phy_driver` weak function to return a different driver class. This might look something like
0 commit comments