feat(boards): ESP32-P4 Preview starter card and picker entry
The bare-DevKit companion to the ESP32-P4-Function-EV: same silicon, every GPIO broken out, for circuits built on the canvas instead of the kit's fixed peripherals. The board itself is overlay-registered; this is the shop-window card plus its starter-dialog entry.
This commit is contained in:
parent
de7daec4f1
commit
28a1c62887
|
|
@ -171,6 +171,7 @@ const PREFERRED_BLINK_EXAMPLE: Record<string, string> = {
|
|||
'esp-vocat': 'esp-vocat-face',
|
||||
'esp-sensairshuttle': 'esp-sensair-lcd-dash',
|
||||
'esp32-p4': 'esp32-p4-blink',
|
||||
'esp32-p4-preview': 'esp32-p4-preview-blink',
|
||||
};
|
||||
|
||||
/** Dynamic import keeps the (large) gallery data out of the editor bundle
|
||||
|
|
@ -294,6 +295,7 @@ export function buildStarterSections(defs: ProBoardDef[]): StarterSection[] {
|
|||
...pro('esp32-s3-eye'),
|
||||
...pro('esp-vocat'),
|
||||
...pro('esp32-p4'),
|
||||
...pro('esp32-p4-preview'),
|
||||
...pro('esp-sensairshuttle'),
|
||||
],
|
||||
},
|
||||
|
|
|
|||
|
|
@ -132,6 +132,29 @@ export const ONLINE_ONLY_BOARD_ADS: OnlineOnlyBoardAd[] = [
|
|||
'<rect x="60" y="34" width="6" height="14" rx="1" fill="#8a8f96"/>' +
|
||||
'</svg>',
|
||||
},
|
||||
{
|
||||
id: 'esp32-p4-preview',
|
||||
label: 'ESP32-P4 Preview',
|
||||
description: 'Bare ESP32-P4 DevKit: dual-core RISC-V 400MHz, 32MB PSRAM, every GPIO broken out for your own circuits — in-browser emulation',
|
||||
thumbnailSvg:
|
||||
'<svg width="72" height="72" viewBox="0 0 72 72" xmlns="http://www.w3.org/2000/svg">' +
|
||||
'<rect x="20" y="4" width="32" height="64" rx="3" fill="#17181c" stroke="#3a3d42"/>' +
|
||||
'<rect x="27" y="9" width="18" height="16" rx="1.5" fill="#b8bec6"/>' +
|
||||
'<text x="36" y="19" text-anchor="middle" font-size="6" font-family="monospace" fill="#2d3138">P4</text>' +
|
||||
'<g fill="#d8b44a">' +
|
||||
'<rect x="22" y="9" width="3.5" height="3" rx="0.8"/><rect x="22" y="16" width="3.5" height="3" rx="0.8"/>' +
|
||||
'<rect x="22" y="23" width="3.5" height="3" rx="0.8"/><rect x="22" y="30" width="3.5" height="3" rx="0.8"/>' +
|
||||
'<rect x="22" y="37" width="3.5" height="3" rx="0.8"/><rect x="22" y="44" width="3.5" height="3" rx="0.8"/>' +
|
||||
'<rect x="22" y="51" width="3.5" height="3" rx="0.8"/><rect x="22" y="58" width="3.5" height="3" rx="0.8"/>' +
|
||||
'<rect x="46.5" y="9" width="3.5" height="3" rx="0.8"/><rect x="46.5" y="16" width="3.5" height="3" rx="0.8"/>' +
|
||||
'<rect x="46.5" y="23" width="3.5" height="3" rx="0.8"/><rect x="46.5" y="30" width="3.5" height="3" rx="0.8"/>' +
|
||||
'<rect x="46.5" y="37" width="3.5" height="3" rx="0.8"/><rect x="46.5" y="44" width="3.5" height="3" rx="0.8"/>' +
|
||||
'<rect x="46.5" y="51" width="3.5" height="3" rx="0.8"/><rect x="46.5" y="58" width="3.5" height="3" rx="0.8"/>' +
|
||||
'</g>' +
|
||||
'<rect x="30" y="60" width="12" height="6" rx="1" fill="#8a8f96"/>' +
|
||||
'<circle cx="36" cy="31" r="1.8" fill="#ff3b30"/>' +
|
||||
'</svg>',
|
||||
},
|
||||
{
|
||||
id: 'esp-sensairshuttle',
|
||||
label: 'ESP-SensAirShuttle',
|
||||
|
|
|
|||
Loading…
Reference in New Issue