Disable GOP inclusion temporarily, add scripts for spipi

This commit is contained in:
Jeremy Soller
2019-05-03 12:32:53 -06:00
parent 627d6a452c
commit 6ac93f8158
9 changed files with 88 additions and 2 deletions

17
scripts/_spipi.sh Normal file
View File

@ -0,0 +1,17 @@
#!/usr/bin/env bash
SPIPI="ubuntu@10.17.89.179"
if [ ! -d "models/${MODEL}" ]
then
echo "model '${MODEL}' not found" >&2
exit 1
fi
MODEL_DIR="$(realpath "models/${MODEL}")"
if [ ! -f "${MODEL_DIR}/chip.txt" ]
then
echo "model '${MODEL}' does not have chip.txt" >&2
exit 1
fi
CHIP="$(cat "${MODEL_DIR}/chip.txt")"