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.
composer require php-baremetal/boards-waveshare
"extra": { "baremetal": {"board":"waveshare-esp32-s3-zero"} }
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 |
|---|---|---|---|
| network | wifi | none | in the SDK |
| led | ws2812 |
|
led-ws2812 |
Board file
The file as php-baremetal/boards-waveshare 1.0.0 ships it.
{
"name": "Waveshare ESP32-S3-Zero",
"chip": "esp32s3",
"psram": "quad",
"flash": "4MB",
"console": "usb-jtag",
"network": {
"type": "wifi"
},
"led": {
"type": "ws2812",
"pin": 48,
"order": "rgb"
}
}