Skip to content


The wESP32™ can be made to work with pretty much all ESP32 compatible software development tools that exist. However, some work out-of-the-box while others would require quite a bit of hacking. The following lists software of which compatibility has been checked.


ESP-IDF is the official Espressif development framework for the ESP32. Since the ESP-IDF provides the ultimate flexibility, it is out-of-the-box compatible with the wESP32. The only thing the user needs to do to make it work with the wESP32 is set the right configuration for how the phy is connected and configured:

  • Ethernet phy type is Microchip LAN8720
  • Phy address is 0
  • EMAC clock mode is GPIO0 input
  • Use phy power pin is disabled
  • SMI MDC pin is 16, SMI MDIO pin is 17


The Arduino-ESP32 project allows you to program the wESP32 from the popular Arduino IDE. Installation instructions are in the repo's

Support for the wESP32 was merged upstream, so once the ESP32 support is installed, you can select the wESP32 from the Arduino IDE menu:

Tools → Board → Silicognition wESP32

To use the Ethernet connection in your sketch, you need to #include <ETH.h> and call ETH.begin() to start the Ethernet peripheral. This function takes optional parameters to set the configuration, but the board support package already takes care of setting these correctly for the wESP32.

Below is a minimal web server with mDNS example sketch:

#include <ETH.h>
#include <WebServer.h>
#include <ESPmDNS.h>

// Web server
WebServer server(80);

// HTTP handlers
void handleRoot() {
  server.send(200, "text/plain", "Hello from wESP32!\n");

void handleNotFound() {
  server.send(404, "text/plain", String("No ") + server.uri() + " here!\n");

void setup(){
  // Start the ethernet
  // You can browse to wesp32demo.local with this

  // Bind HTTP handler
  server.on("/", handleRoot);

  // Start the Ethernet web server
  // Add service to MDNS-SD
  MDNS.addService("http", "tcp", 80);

void loop(){


The MicroPython project provides a very rich Python 3 environment for small microcontrollers. The ESP32 and Ethernet are well supported, and due to its flexible nature, the wESP32 is supported out-of-the-box.

The following is the minimum code needed to get the wESP32 connected to Ethernet with MicroPython:

import machine
import network

lan = network.LAN(mdc = machine.Pin(16), mdio = machine.Pin(17),
                  power = None, phy_type = network.PHY_LAN8720, phy_addr=0)

Once connected, all networking functionality will occur over Ethernet.


[NOTE: Until wESP32 board support is merged upstream, use this repo.]

Lua-RTOS-ESP32 provides a rich Lua environment for the ESP32. While there are other Lua environments for the ESP32 such as NodeMCU, they seemed to be lacking Ethernet support, while Ethernet is well supported in this project.

Installation instructions are in the, but please take note to change the git clone URL to the “xorbit” fork for as long as the wESP32 board support is not yet merged. You need to follow the “Method 2: build it yourself” instructions for now. When you execute the make flash command, you can choose option 21 for the wESP32.

Once built and flashed, the minimum code to get connected over Ethernet is:


Once connected, all networking functionality will occur over Ethernet. Since this runtime has dropbear on board, you can even remotely log in to the Lua REPL over SSH!