diff options
| author | robert-hh <robert@hammelrath.com> | 2022-12-24 09:37:02 +0100 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2023-01-18 10:04:31 +1100 |
| commit | efb4bd35551ef1de393c088ce6d75ced7e810b64 (patch) | |
| tree | 4aff96646a0c00a477145eca7e92b00e4c29b730 /ports/esp32/modnetwork.h | |
| parent | fc745d85febd3f8d407f38a5002ae39fba39cd07 (diff) | |
esp32/network_lan: Add support for LAN8710 PHY.
LAN8710 uses the same drivers as LAN8720, so this commit just adds the
names. Alternatively, both could be summarised under LAN87xx, like the
esp-idf does.
Diffstat (limited to 'ports/esp32/modnetwork.h')
| -rw-r--r-- | ports/esp32/modnetwork.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/esp32/modnetwork.h b/ports/esp32/modnetwork.h index 7bcfa0e6f..5d1c3aaf7 100644 --- a/ports/esp32/modnetwork.h +++ b/ports/esp32/modnetwork.h @@ -28,7 +28,7 @@ #include "esp_event.h" -enum { PHY_LAN8720, PHY_IP101, PHY_RTL8201, PHY_DP83848, PHY_KSZ8041 }; +enum { PHY_LAN8710, PHY_LAN8720, PHY_IP101, PHY_RTL8201, PHY_DP83848, PHY_KSZ8041 }; enum { ETH_INITIALIZED, ETH_STARTED, ETH_STOPPED, ETH_CONNECTED, ETH_DISCONNECTED, ETH_GOT_IP }; // Cases similar to ESP8266 user_interface.h |
