Files
hardware/.github/workflows/hardware.yml
T
Claude 9316d5e60f Line stick: spec, netlist and schematic (Si3056 + Si3018 DAA)
pico-serial Line, a USB-C phone-line stick shaped like Apple's USB Modem:
a softmodem whose modem is D-Modem-RE on the host. SPEC-L.md covers the
architecture, the DAA (Si3056 for 9600 Hz sampling, so D-Modem's V.90
works), the USB interface, mechanics and compliance.

build_netlist.py and build_schematic.py take --variant line: the Si3056
datasheet's typical application (Figure 17) with a 1.25 A telecom fuse,
parts checked against JLCPCB stock. New footprints for the RJ11 and the
fuse; the symbol cache now keeps every board's symbols. ERC clean.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013PRsUCpxazyipPn5UGGkF8
2026-10-22 11:04:45 +00:00

48 lines
1.7 KiB
YAML

# SPDX-License-Identifier: CERN-OHL-S-2.0
# Copyright (C) 2026 Neo-Desktop
#
# For both boards (the hood board and pico-serial W): the generated hardware
# files are up to date with the netlist script, the schematic passes ERC, and
# the PCB passes DRC and matches the schematic. (The PCBs aren't re-routed
# here: that needs Freerouting and takes minutes.)
name: hardware
on:
push:
paths: ["hardware/**", ".github/workflows/hardware.yml"]
pull_request:
paths: ["hardware/**", ".github/workflows/hardware.yml"]
jobs:
check:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: KiCad 9
run: |
sudo add-apt-repository -y ppa:kicad/kicad-9.0-releases
sudo apt-get update -qq
sudo apt-get install -y -qq --no-install-recommends kicad
- name: Netlists and schematics match the netlist script
run: |
for v in hood w line; do
python3 hardware/netlist/build_netlist.py --variant $v
python3 hardware/kicad/build_schematic.py --variant $v
done
python3 hardware/kicad/lib/make_footprints.py
git diff --exit-code -- hardware/netlist hardware/kicad firmware/src/generated
- name: ERC
run: |
for b in pico-serial pico-serial-w pico-serial-line; do
kicad-cli sch erc --severity-error --exit-code-violations -o erc.rpt hardware/kicad/$b.kicad_sch || { cat erc.rpt; exit 1; }
done
- name: DRC, and the PCBs match their schematics
run: |
for b in pico-serial pico-serial-w; do
kicad-cli pcb drc --schematic-parity --severity-error --exit-code-violations -o drc.rpt hardware/kicad/$b.kicad_pcb || { cat drc.rpt; exit 1; }
done