shibosoftwaredev/f1c100s-linux-nema17-stepper-controller
A four-layer NEMA 17 motor-controller PCB combining an Allwinner F1C100S Linux computer, USB‑PD/buck power system, W5500 Ethernet, STM32 real-time motion control, DRV8825 stepper driver, protection/temperature/current telemetry, USB interfaces, and local LED/buzzer diagnostics.
- Version
- 0.4.56
- License
- unset
- Stars
- 0
scripts/check-continuity.mjs
import { spawnSync } from "node:child_process"
const python=process.env.ROUTING_PYTHON??"python3"
const env={...process.env,CIRCUIT_INPUT:"dist/index/circuit.json",AUDIT_EMITTED_COPPER:"1",
IGNORE_PROTECTED:"1",AUDIT_ONLY:"1"}
for(const args of [["scripts/export-completed-seed.py"],
["scripts/import-whole-board.py","routing/emitted-seed.ses"],
["scripts/check-buck-enable.py"]]) {
const result=spawnSync(python,args,{env,stdio:"inherit"})
if(result.error)throw result.error
if(result.status!==0)process.exit(result.status??1)
}
const result=spawnSync(process.execPath,["scripts/write-connectivity-audit.mjs"],{stdio:"inherit"})
process.exit(result.status??1)