How to enable ESP-AT Ethernet

Overview

Initialises the Ethernet interface and enables it, then sends DHCP requests and tries to obtain a DHCP lease. If successful then you will be able to ping the device.

PHY Configuration

Use ./build.py menuconfig to set the PHY model. These configuration items will vary depending on the hardware configuration you are using.

The default configuration is correct for Espressif’s Ethernet board with TP101 PHY. ESP32 AT supports up to four Ethernet PHY: LAN8720, IP101, DP83848 and RTL8201. TLK110 PHY is no longer supported because TI stoped production. If you want to use other phy, follow the document to design.

Compiling

  1. ./build.py menuconfig -> Component config -> AT -> AT ethernet support to enable ethernet.

  2. ./build.py menuconfig -> Component config -> AT -> Ethernet PHY to choose ethernet.

  3. Recompile the esp-at project, download AT bin into flash.