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/render-review-placement.tsx

import fs from "node:fs"
import { Circuit } from "tscircuit"
import Board from "../index.circuit"
const circuit = new Circuit({ platform: { routingDisabled: true, partsEngineDisabled: true } })
circuit.add(<Board />)
await circuit.renderUntilSettled()
const json = circuit.getCircuitJson()
fs.writeFileSync("routing/review-placement.circuit.json", JSON.stringify(json, null, 2) + "\n")
const errors = json.filter((e: any) => e.type.endsWith("_error"))
console.log(JSON.stringify({ errors }, null, 2))
if (errors.length) process.exitCode = 1