seveibar/f1c100s-dev-board
This code defines the hardware layout and schematic for a four-layer F1C100S-based module, including footprint placement, pin mappings, power regulation, decoupling capacitors, support components, and routing configurations, enabling automated PCB generation, routing, and verification.
- Version
- 1.3.0
- License
- unset
- Stars
- 0
modules/f1c100s/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" }
: {}),
};
}
