Skip to content
php-baremetal REGISTRY
Publish a package

Waveshare ESP32-P4-WIFI6

waveshare-esp32-p4-wifi6

sdk: ESP32 chip: ESP32-P4 psram: hex flash: 32MB bm-boards official

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.

bash terminal
composer require php-baremetal/boards-waveshare
json composer.json (excerpt)
"extra": { "baremetal": {"board":"waveshare-esp32-p4-wifi6"} }

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
microsd sdio none in the SDK
network wifi-c6 none in the SDK

Board file

The file as php-baremetal/boards-waveshare 1.0.0 ships it.

json boards/esp32/waveshare-esp32-p4-wifi6.json
{
    "name": "Waveshare ESP32-P4-WIFI6",
    "chip": "esp32p4",
    "psram": "hex",
    "flash": "32MB",
    "revision": "v1",
    "microsd": {
        "type": "sdio"
    },
    "network": {
        "type": "wifi-c6"
    }
}