Use it
phpbm init lists this board and adds php-baremetal/boards-seeed to the project. In an existing project, require the package and name the board.
composer require php-baremetal/boards-seeed
"extra": { "baremetal": {"board":"seeed-xiao-esp32s3"} }
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 |
| i2c | i2c |
|
ext-i2c |
Board file
The file as php-baremetal/boards-seeed 1.0.0 ships it.
{
"name": "Seeed Studio XIAO ESP32-S3",
"chip": "esp32s3",
"psram": "octal",
"flash": "8MB",
"console": "usb-jtag",
"pins": {
"D0": 1,
"D1": 2,
"D2": 3,
"D3": 4,
"D4": 5,
"D5": 6,
"D6": 43,
"D7": 44,
"D8": 7,
"D9": 8,
"D10": 9,
"A0": 1,
"A1": 2,
"A2": 3,
"A3": 4,
"A4": 5,
"A5": 6,
"A8": 7,
"A9": 8,
"A10": 9,
"T1": 1,
"T2": 2,
"T3": 3,
"T4": 4,
"T5": 5,
"T6": 6,
"T7": 7,
"T8": 8,
"T9": 9,
"LED_BUILTIN": 21,
"TX": 43,
"RX": 44,
"SDA": 5,
"SCL": 6,
"SS": 44,
"MOSI": 9,
"MISO": 8,
"SCK": 7
},
"network": {
"type": "wifi"
},
"i2c": {
"type": "i2c",
"sda": "D4",
"scl": "D5"
}
}