pixalynx/nrf9151-gps-tracker
A compact 44×32 mm, 4-layer nRF9151 LTE-M/NB-IoT/GNSS tracker PCB with nPM1300 LiPo/USB-C power, nano-SIM/eSIM switching, nRF7002 Wi‑Fi scanning, accelerometer, antennas, buzzer, LEDs, SOS button, and SWD/debug connectors.
- Version
- 0.1.4
- License
- unset
- Stars
- 0
scripts/route-all.sh
#!/bin/sh
# Full re-route after any placement or fixed-copper change:
# ground mesh + DSN export -> Freerouting -> import -> build -> anchor fix -> build -> the physical checks.
# Then: python3 scripts/widen-power-legs.py index ; bun scripts/validate.ts --routed
cd "$(dirname "$0")/.."
./scripts/prepare-routing.sh > .tmp/prep.log 2>&1 || { tail -5 .tmp/prep.log; exit 1; }
tail -1 .tmp/prep.log
# run inside .tmp/router: Freerouting writes logs/freerouting.log into its working directory
(cd .tmp/router && java -Dapple.awt.UIElement=true -jar freerouting-1.9.0.jar -de index.dsn -do index.ses -mp 100 -mt 1 -dct 0 -da > run.log 2>&1)
grep -E "Auto-routing was completed" .tmp/router/run.log | tail -1
python3 scripts/import-router-session.py index 2>&1 | tail -3 | cut -c1-500
npx tsci build index.circuit.tsx > .tmp/build.log 2>&1
python3 scripts/fix-anchors.py
npx tsci build index.circuit.tsx > .tmp/build.log 2>&1
python3 scripts/errors.py
python3 scripts/check-clearance.py dist/index/circuit.json 2>&1 | tail -6
python3 scripts/check-connectivity.py