Use it
The board comes with php-esp32-sdk: name it in the project's composer.json.
"extra": { "baremetal": {"board":"php-baremetal-s3-discover"} }
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 |
| microsd | spi |
|
in the SDK |
| i2c | i2c |
|
ext-i2c |
| led | ws2812 |
|
led-ws2812 |
Board file
The file as php-esp32-sdk 2.0.0 ships it.
{
"name": "php-baremetal S3-DISCOVER",
"chip": "esp32s3",
"psram": "octal",
"flash": "16MB",
"console": "usb-jtag",
"network": {
"type": "wifi"
},
"microsd": {
"type": "spi",
"cs": 11,
"sclk": 13,
"mosi": 12,
"miso": 14
},
"i2c": {
"type": "i2c",
"sda": 42,
"scl": 41
},
"led": {
"type": "ws2812",
"pin": 21,
"order": "grb"
}
}