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-waveshare · ESP32-S3

Waveshare ESP32-S3-Zero

A small ESP32-S3 module board (4 MB flash, 2 MB quad PSRAM) with Wi-Fi and one WS2812 LED.

Board id waveshare-esp32-s3-zero, file boards/esp32/waveshare-esp32-s3-zero.json.

Property Value
Chip ESP32-S3 (esp32s3)
PSRAM quad
Flash 4 MB
Console usb-jtag

Blocks

Block Type Keys Handled by Notes
network wifi none the SDK + ext-wifi The script connects with ext-wifi.
led ws2812 pin 48, order rgb led-ws2812 One on-board LED.

Pins are GPIO numbers, or pins of the board's expander (exio1). The keys are described in Board files; a project changes them with board overrides.

Use it in a project

bash in the project folder
composer require php-baremetal/boards-waveshare
composer require php-baremetal/ext-wifi php-baremetal/led-ws2812   # the blocks you use
json composer.json, extra.baremetal
{
  "sdk": "esp32@^2.0",
  "board": "waveshare-esp32-s3-zero",
  "runtime": "init-loop",
  "storage": "embedded"
}

Install only the drivers of the blocks the program uses: a block without its driver is left alone.

Notes

  • The on-board LED is a single WS2812 in RGB order on GPIO 48: Ws2812::onboard() uses it.
  • 2 MB of PSRAM: the firmware uses its small memory profile (see Memory, flash and partitions).

Related