/**
* Raspberry Pi 5 — Velxio schematic board.
*
* Authored from scratch (not traced from RPi Foundation art); the layout
* is the publicly-known PCB topology: BCM2712 SoC centre, RP1 southbridge
* to its right driving the I/O, 4× USB-A + 2.5 GbE on the east edge,
* USB-C power + dual micro-HDMI on the south, 40-pin GPIO header on the
* north, dedicated power button on the west, PCIe FFC connector on the
* underside, fan header to the north-east of the SoC.
*
* The 40-pin GPIO header is electrically identical to every Pi from
* the 1B+ onwards, so the pin coords mirror RaspberryPi3Element /
* RaspberryPi4Element byte-for-byte — wires snap to the same physical
* positions when a user swaps boards.
*/
import { buildPi40PinHeader } from './pi40PinHeader';
const PI_WIDTH = 250;
const PI_HEIGHT = 160;
class RaspberryPi5Element extends HTMLElement {
constructor() {
super();
this.attachShadow({ mode: 'open' });
}
connectedCallback() {
this.render();
}
get pinInfo() {
return buildPi40PinHeader();
}
render() {
let pinsSvg = '';
const pins = this.pinInfo;
pins.forEach((pin) => {
pinsSvg += ``;
pinsSvg += ``;
});
this.shadowRoot!.innerHTML = `
`;
}
}
if (!customElements.get('velxio-raspberry-pi-5')) {
customElements.define('velxio-raspberry-pi-5', RaspberryPi5Element);
}
export {};