Add minipro dump/flash scripts
This commit is contained in:
14
scripts/minipro-flash.sh
Executable file
14
scripts/minipro-flash.sh
Executable file
@@ -0,0 +1,14 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -e
|
||||
|
||||
if [ -z "$1" ]
|
||||
then
|
||||
echo "$0 [model]" >&2
|
||||
exit 1
|
||||
fi
|
||||
MODEL="$1"
|
||||
|
||||
source scripts/_minipro.sh
|
||||
|
||||
sudo minipro --device "${CHIP}" --pin_check --write "build/${MODEL}/firmware.rom"
|
Reference in New Issue
Block a user