
Repository layout
Create one package for each reusable block:pcb.toml can be as small as:
Use
pcb new board and pcb new package to create this structure. The component
values below are examples. Select production values from the antenna data,
finished PCB stackup, and vector network analyzer measurements.pins mapping.
1. Wrap the physical endpoints
Use standard-library generics for common passives. Use a small custom module for the specific SMA connector and antenna. Each wrapper callsComponent() once
and exposes the required pins through io().
SMA connector
Chip antenna
2. Build the matching module
The module reserves three tuning footprints: a series inductor, a shunt capacitor, and a final series resistor. Populate the resistor with a damping value or with0ohm.
io() exposes parent connections; Net() creates internal nodes. The config()
types convert parent-supplied strings such as "6.8nH" to physical quantities.
3. Compose the board
Instantiate the connector, matching network, and antenna in the board file:4. Build and lay out the board
Run these commands from the repository root:pcb build validates the design. pcb layout generates the KiCad board and
opens it for placement and routing.