esp32/network_lan: Add support for IP101 PHY.

Signed-off-by: Kenneth Ryerson <kenneth.ryerson@gmail.com>
This commit is contained in:
Kenneth Ryerson
2020-04-20 09:51:11 -05:00
committed by Damien George
parent 5f0e9d1bac
commit 76fefad18b
3 changed files with 9 additions and 2 deletions

View File

@@ -26,7 +26,7 @@
#ifndef MICROPY_INCLUDED_ESP32_MODNETWORK_H
#define MICROPY_INCLUDED_ESP32_MODNETWORK_H
enum { PHY_LAN8720, PHY_TLK110 };
enum { PHY_LAN8720, PHY_TLK110, PHY_IP101 };
MP_DECLARE_CONST_FUN_OBJ_KW(get_lan_obj);
MP_DECLARE_CONST_FUN_OBJ_1(ppp_make_new_obj);