Skip to content
php-baremetal REGISTRY
Publish a package

Waveshare ESP32-S3-ETH

waveshare-esp32-s3-eth

sdk: ESP32 chip: ESP32-S3 psram: octal flash: 16MB bm-boards official

Use it

phpbm init lists this board and adds php-baremetal/boards-waveshare to the project. In an existing project, require the package and name the board.

bash terminal
composer require php-baremetal/boards-waveshare
json composer.json (excerpt)
"extra": { "baremetal": {"board":"waveshare-esp32-s3-eth"} }

On-board peripherals

Each block names a peripheral and its type. The SDK implements some of them; the others are read by a driver package that the project requires, which builds the device from the block with onboard().

Block Type Pins and settings Driver
microsd spi
cs
4
sclk
7
mosi
6
miso
5
in the SDK
network w5500
cs
14
int
10
rst
9
sclk
13
mosi
11
miso
12
in the SDK

Board file

The file as php-baremetal/boards-waveshare 1.0.0 ships it.

json boards/esp32/waveshare-esp32-s3-eth.json
{
    "name": "Waveshare ESP32-S3-ETH",
    "chip": "esp32s3",
    "psram": "octal",
    "flash": "16MB",
    "console": "usb-jtag",
    "microsd": {
        "type": "spi",
        "cs": 4,
        "sclk": 7,
        "mosi": 6,
        "miso": 5
    },
    "network": {
        "type": "w5500",
        "cs": 14,
        "int": 10,
        "rst": 9,
        "sclk": 13,
        "mosi": 11,
        "miso": 12
    }
}