imrishabh18/rp2040-motor-controller

A library of PCB component definitions covering MOSFETs, motor drivers, USB-PD control, sensors, current monitors, transistors, diodes, resistors, speakers, connectors, and mirrored bottom-side logos, with pin mappings, footprints, and 3D models.

Version
1.0.55
License
unset
Stars
5

reports/release-v48-2026-10-23/tests.log

bun test v1.3.14 (0d9b296a)

tests/temperature-telemetry.test.tsx:
(pass) temperature uses I2C only; ALERT/GPIO24 are disconnected and MCU/PD enable is retained [35.35ms]

tests/nema17-mechanical.test.tsx:
(pass) NEMA 17 perimeter, four mounting drills and shared ground are preserved [14948.59ms]

tests/schematic-style.test.tsx:
(pass) automatic schematic refinement clears all style issues on all sheets [11437.64ms]

tests/preview-renderer.test.ts:
(pass) preview preserves separated runs when an inner layer is revisited through vias [0.40ms]
(pass) preview keeps layer changes and through-pad markers as run boundaries [0.06ms]
(pass) preview preserves widths, pour flags, interpolation and source geometry without mutation [0.10ms]
(pass) full board selected-layer strokes match complete routes on all four copper layers [16.50ms]
(pass) the screenshot's phantom AVDD diagonal is absent from the patched actual-board drawing [8.36ms]
(pass) via drill clearing stays restricted to actual runs on the selected layer [3.58ms]

tests/pd-power-good.test.tsx:
(pass) PG reads on GPIO7 without joining USB supply domains or bypassing the sleep interlock [11192.58ms]

tests/board.test.tsx:
(pass) renders the complete RP2040 stepper-motor controller [2918.43ms]

tests/automatic-schematic-layout.test.ts:
(pass) components and layout groups have no schematic coordinates [7.90ms]
(pass) measured group packing uses the space below small groups without overlap [0.10ms]

tests/outer-motor-power.test.tsx:
(pass) motor supply, winding and regulation-return copper stays on outer layers [23.68ms]

tests/schematic-sheets.test.tsx:
(pass) renders ten readable schematic sheets with local component groups [17720.54ms]

tests/drv8825-thermal-vias.test.tsx:
(pass) DRV8825 preserves all twelve supplier thermal vias, grounded through EP [10.79ms]

tests/saved-routing.test.ts:
(pass) saved routing refuses moved terminals, changed connections and changed clearances [106.30ms]
(pass) saved routing supplies a fresh copy of the complete route geometry [17.60ms]
(pass) saved routing accepts deduplicated connectivity IDs from newer core [18.58ms]
(pass) saved routing still rejects changed obstacle connectivity [72.72ms]

tests/pd-voltage-control.test.tsx:
(pass) PD selection uses the correct physical pins and isolates the USB power domains [12289.14ms]

tests/feedback.test.tsx:
(pass) optional bottom encoder, buzzer switching/flyback and low-profile motor capacitor [142.76ms]

tests/ground-pour-selection.test.ts:
(pass) only the independently audited floating copper is removed [0.25ms]
(pass) changed copper geometry, layer, net or count requires a fresh ground audit [0.22ms]
(pass) placement-only CLI renders still run normal DRC without applying a routed-pour selection [0.05ms]

tests/drv8825.test.tsx:
(pass) DRV8825 physical pins, isolated reference, microstep mode and charge pump [10965.55ms]

tests/pd-bus-voltage-monitor.test.tsx:
(pass) raw PD VBUS measurement is isolated from 3.3 V, DATA USB, and protected motor rail [10769.42ms]

tests/current-telemetry.test.tsx:
(pass) two inline current sensors, safe ADC nets, RGB and separate power domains [10690.46ms]
(pass) each sense lead terminates directly at its shunt pad without a via [11863.24ms]

tests/jlcpcb-stock-audit.test.ts:
(pass) keeps displayed stock separate from available order quantity [0.66ms]
(pass) ignores price records and other suggested components [0.07ms]
(pass) reassembles records split between script chunks [0.02ms]
(pass) fails closed instead of assuming missing stock means available [0.08ms]

tests/common-ground.test.tsx:
(pass) all grounds and mounting rings share connectivity; a missing ground connection is detected [10912.31ms]

 34 pass
 0 fail
 4490 expect() calls
Ran 34 tests across 19 files. [127.37s]