Skip to content
php-baremetal REGISTRY
Publish a package

php-baremetal/boards-freenove

bm-boards MIT

Board files of the Freenove boards for php-baremetal: chip, memory, console and the on-board peripherals with their pins.

needs no platform HAL

boards-freenove · ESP32-S3

Freenove ESP32-S3 WROOM Board Lite (N16R16)

The Freenove ESP32-S3 WROOM Board Lite with the N16R16V module (16 MB flash, 16 MB octal PSRAM at 1.8 V): Wi-Fi and one WS2812 LED.

Board id freenove-esp32-s3-wroom-lite-n16r16, file boards/esp32/freenove-esp32-s3-wroom-lite-n16r16.json. Freenove documents the board (product code FNK0099) at docs.freenove.com.

Property Value
Chip ESP32-S3 (esp32s3), module ESP32-S3-WROOM-1-N16R16V
PSRAM octal
Flash 16 MB
Console usb-jtag

Blocks

Block Type Keys Handled by Notes
network wifi none the SDK + ext-wifi The script connects with ext-wifi.
led ws2812 pin 48, order grb led-ws2812 One on-board LED.

Pins are GPIO numbers. 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-freenove
composer require php-baremetal/ext-wifi php-baremetal/led-ws2812   # the blocks you use
json composer.json, extra.baremetal
{
  "sdk": "esp32@^2.0",
  "board": "freenove-esp32-s3-wroom-lite-n16r16",
  "runtime": "init-loop",
  "storage": "embedded"
}

Install only the drivers of the blocks the program uses: a block without its driver is left alone.

Notes

  • The on-board LED is a single WS2812 in GRB order on GPIO 48: Ws2812::onboard() uses it.
  • The console is the chip's native USB port (USB-Serial-JTAG).
  • The module has 16 MB of 1.8 V octal PSRAM; the firmware reads the PSRAM size and the voltage from the module, so the file is the same as the N16R8 one apart from the name. This variant has not been run on hardware yet; the N16R8 one has (freenove-esp32-s3-wroom-lite-n16r8).

Related