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/capacitor-specs.ts
/** Larger land patterns for rail reservoirs and the 10 uF reference filters. */
export const isLargeCapacitor = (name: string, value: string) =>
name.startsWith("C_B_") || value === "10uF";
export function capacitorSpecs(name: string, value: string) {
if (isLargeCapacitor(name, value))
return {
footprint: "0805",
maxVoltageRating: 25,
manufacturerPartNumber:
value === "1uF" ? "GRM219R71E105KA88D" : "GRM21BR61E106KA73L",
};
return {
footprint: "0402",
maxVoltageRating: name.startsWith("C_OSC") ? 50 : 6.3,
...(name.startsWith("C_OSC")
? { manufacturerPartNumber: "GRM1555C1H180JA01D" }
: {}),
};
}