astra/f1c100s
This code defines and renders a four-layer, top-mounted F1C100S module with detailed pin assignments, schematic annotations, and layout profiles, facilitating design, validation, and routing of the hardware including support for decoupling capacitors, crystal oscillators, and external connectors.
- Version
- 0.11.0
- License
- unset
- Stars
- 0
src/BreakoutTestPoint.tsx
import type { Terminal } from "./layout";
import { EXIT_DIAMETER, EXIT_DRILL } from "./profiles";
/** Bare plated test point, connected across the complete four-layer stack.
* The explicit empty footprint suppresses core's default hole; the child
* footprint is available immediately when restoring an imported module. */
export function BreakoutTestPoint({ terminal }: { terminal: Terminal }) {
return (
<testpoint
name={terminal.name}
footprintVariant="through_hole"
padDiameter={EXIT_DIAMETER}
holeDiameter={EXIT_DRILL}
pcbX={terminal.x}
pcbY={terminal.y}
layer="top"
doNotPlace
footprint={<footprint />}
>
<footprint>
<platedhole
portHints={["pin1"]}
shape="circle"
holeDiameter={EXIT_DRILL}
outerDiameter={EXIT_DIAMETER}
pcbX={0}
pcbY={0}
coveredWithSolderMask={false}
/>
</footprint>
</testpoint>
);
}