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-P4

Waveshare ESP32-P4-Pico

ESP32-P4 module board with a microSD slot on SDMMC and no network.

Board id waveshare-esp32-p4-pico, file boards/esp32/waveshare-esp32-p4-pico.json.

Property Value
Chip ESP32-P4 (esp32p4)
PSRAM hex
Flash 32 MB
Revision v1
Console uart

Blocks

Block Type Keys Handled by Notes
microsd sdio default pins the SDK The microsd storage ("storage": "microsd").

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
json composer.json, extra.baremetal
{
  "sdk": "esp32@^2.0",
  "board": "waveshare-esp32-p4-pico",
  "runtime": "init-loop",
  "storage": "microsd"
}

Notes

  • The microSD slot is SDMMC slot 0 in 4-bit mode on its default pins (clk 43, cmd 44, d0 39, d1 40, d2 41, d3 42).
  • No network block: the web-server runtime and ext-wifi are not available on this board.

Related