Skip to content
php-baremetal REGISTRY
Publish a package

php-baremetal/boards-waveshare

bm-boards MIT

Board files of the Waveshare for php-baremetal: chip, memory, console and the on-board peripherals with their pins.

needs no platform HAL

Boards

The board files of 1.0.0, one folder per SDK. Require the package, then name a board in extra.baremetal.board.

ESP32 · 9 boards official

The board files of the Waveshare ESP32-S3 and ESP32-P4 boards for php-baremetal: chip, PSRAM, flash, console and the on-board peripherals (microSD slot, network, display, touch, I/O expander, LED) with their pins. It is a board package (Composer type bm-boards): it holds board files only, and the esp32 SDK reads them from boards/esp32/ once the package is installed in the project.

Install

bash
composer require php-baremetal/boards-waveshare

phpbm init adds it by itself when you pick one of its boards. Then name the board in composer.json:

json
"extra": {
    "baremetal": {
        "sdk": "esp32@^2.0",
        "board": "waveshare-esp32-s3-eth",
        "runtime": "init-loop",
        "storage": "embedded"
    }
}

The package requires nothing: not the SDK, not the drivers. The SDK checks every board against its chips when it loads them. The drivers of the blocks (display, touch, expander, LED) are separate packages, listed per board in the documentation; phpbm init proposes them.

Boards

Board id Product Chip
waveshare-esp32-s3-eth Waveshare ESP32-S3-ETH ESP32-S3
waveshare-esp32-s3-touch-lcd-1.85b Waveshare ESP32-S3-Touch-LCD-1.85B ESP32-S3
waveshare-esp32-s3-touch-lcd-5b Waveshare ESP32-S3-Touch-LCD-5B ESP32-S3
waveshare-esp32-s3-zero Waveshare ESP32-S3-Zero ESP32-S3
waveshare-esp32-s3-zero-n8r8 Waveshare ESP32-S3-Zero (N8R8) ESP32-S3
waveshare-esp32-p4-eth Waveshare ESP32-P4-ETH ESP32-P4
waveshare-esp32-p4-pico Waveshare ESP32-P4-Pico ESP32-P4
waveshare-esp32-p4-wifi6 Waveshare ESP32-P4-WIFI6 ESP32-P4
waveshare-esp32-p4-wifi6-touch-lcd-5 Waveshare ESP32-P4-WIFI6-Touch-LCD-5 ESP32-P4

boards/catalog.json gives, for each board, the Waveshare documentation page (docs) and a product photo (photo), both online URLs, grouped by SDK. The package registry site uses it to link and show the boards; the build does not read it.

Documentation

License

MIT.

Read the full documentation