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/NativeSavedFullSpanDcRoutes.tsx

import {NativeFullSpanHandoffVia} from './NativeFullSpanHandoffVia'

/** Native untimed DC output, with explicit full-span barrels and real contacts.
 * Every path starts at its declared real pad/barrel; no path search or geometry
 * adjustment occurs during ordinary rendering. Filled/capped fabrication and
 * complete emitted-copper qualification remain required.
 */
export function NativeSavedFullSpanDcRoutes({saved,prefix}:{saved:any;prefix:string}){
 return <group name={`${prefix}_DELIVERY`} pcbX={0} pcbY={0} pcbLayout={{layoutMode:'none'}}>
  {saved.throughVias.map((v:any,i:number)=><NativeFullSpanHandoffVia key={i} name={`${prefix}_THROUGH_${i}`} x={v.x} y={v.y}
   holeDiameter={v.holeDiameter} outerDiameter={v.outerDiameter} fromLayer={v.fromLayer} toLayer={v.toLayer} contactLayers={v.contactLayers} connectsTo={[`net.${v.net}`]} />)}
  <group name={`${prefix}_PATHS`} pcbX={0} pcbY={0} pcbStyle={{viaHoleDiameter:.11,viaPadDiameter:.25}}>
   {saved.paths.map((path:any,i:number)=>{
    const pose=path.frame,a=(pose.pcbRotation??0)*Math.PI/180,c=Math.cos(a),s=Math.sin(a)
    const pcbPath=path.route.map((p:any)=>{
     const dx=p.x-pose.pcbX,dy=p.y-pose.pcbY,x=dx*c+dy*s,y=-dx*s+dy*c
     return p.route_type==='via'?{x,y,via:true,fromLayer:p.from_layer,toLayer:p.to_layer}:{x,y}
    })
    // A path that reaches a second original pad must retain both source ports.
    // Copper reaching its coordinates alone never declares that pad's net.
    const connections=[path.connection,...(path.otherConnection?[path.otherConnection]:[]),`net.${path.net}`]
    return <trace key={i} name={`${prefix}_NATIVE_${i}`} path={connections} thickness={.1} pcbPath={pcbPath} />
   })}
  </group>
 </group>
}