ShiboSoftwareDev/am69-pi5

A 85×56 mm 10-layer AM69A single-board computer carrier integrates 8 GiB LPDDR4, 32 GB eMMC, Pi-style expansion and multimedia/USB/Ethernet connectors, multi-rail PMIC power, STM32 boot/power control, USB-C PD, SD/fan protection, and HDI-controlled high-speed routing.

Version
0.0.8-engineering-draft-20261107-dqs19
License
unset
Stars
0

Use with the tscircuit CLI

tsci is the tscircuit CLI. Install it with npm install -g tscircuit.

tsci clone ShiboSoftwareDev/am69-pi5  # download the package files into ./am69-pi5
tsci add ShiboSoftwareDev/am69-pi5    # add it to your project as @tsci/ShiboSoftwareDev.am69-pi5

In a cloned or new (tsci init) project: tsci dev starts a local preview, tsci build outputs Circuit JSON, and tsci push publishes to tscircuit.com.

components/shared/core/NativeEscapeConnections.ts

import plans from './NativeHdi.data.json'
export type NativeHdiBoard='pi5'|'cm5'

/** A native explicit trace already declares this exact port-to-net edge. Keep
 * one declaration so the schematic renderer does not process a duplicate edge.
 * Aliased but differently spelled nets are retained; no alias is inferred.
 */
export function uniqueNativeEscapeConnections(reference:string,connections:Record<string,string>,board?:NativeHdiBoard,groundPorts=false){
 if(!board)return connections
 const plan=plans[board]
 const sites=[...plan.bga_via_sites,...plan.power_microvias,...plan.signal_microvias,...(groundPorts?plan.ground_port_escapes:[])]
 const declared=new Set(sites.filter(p=>p.owner===reference).map(p=>`${p.pin}\u0000net.${p.net}`))
 return Object.fromEntries(Object.entries(connections).filter(([pin,net])=>!declared.has(`${pin}\u0000${net}`)))
}