ShiboSoftwareDev/am69-cm5
A 55×40 mm 10-layer CM5 carrier board integrating an AM69A98 SoC, 8‑GiB LPDDR4, 32‑GB eMMC, CM5 connectors, clocking, extensive decoupling/EMI filtering, and HDI DDR/ground escape routing.
- Version
- 0.0.7-engineering-draft-20261107-manual-ddr0
- 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-cm5 # download the package files into ./am69-cm5
tsci add ShiboSoftwareDev/am69-cm5 # add it to your project as @tsci/ShiboSoftwareDev.am69-cm5In 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/power/footprints/NativePolygonMaskExpansion.tsx
import {Fragment} from 'react'
type Point={x:number;y:number}
/** Exact positive mask dilation using supported native openings. The original
* polygon-pad mask opening supplies the interior; edge strips and vertex disks
* supply its margin. No copper, paste or electrical connectivity is added.
* Use solderMaskMargin={0} on the corresponding polygon pad: the pinned Gerber
* exporter ignores polygon-pad margins. Parent footprint transforms are native.
*/
export function NativePolygonMaskExpansion({points,margin}:{points:readonly Point[];margin:number}){
if(margin<=0)throw Error('Native polygon mask expansion requires a positive margin')
return <>{points.map((p,i)=>{
const q=points[(i+1)%points.length],length=Math.hypot(q.x-p.x,q.y-p.y)
return <Fragment key={i}>
{length>1e-9&&<pcbsoldermaskopening shape="rect" layer="top" pcbX={(p.x+q.x)/2} pcbY={(p.y+q.y)/2}
width={length} height={2*margin} pcbRotation={Math.atan2(q.y-p.y,q.x-p.x)*180/Math.PI} />}
<pcbsoldermaskopening shape="circle" layer="top" pcbX={p.x} pcbY={p.y} radius={margin} />
</Fragment>
})}</>
}