Vendor HID for upgrades (#529)

* vendor-hid for upgrades

* empty argument fix

* same vendor-hid usage in both deploys

* forgot one board

* aaand also forgot the quotes
This commit is contained in:
kaczmarczyck
2022-08-17 10:29:26 +02:00
committed by GitHub
parent 87839af572
commit 4442998b64
4 changed files with 30 additions and 5 deletions

View File

@@ -22,8 +22,8 @@ set -e
BOARD="$1"
./deploy.py --board=$BOARD --opensk --programmer=none
python3 -m tools.deploy_partition --board=$BOARD
./deploy.py --board="${BOARD}" --opensk --programmer=none $2
python3 -m tools.deploy_partition --board="${BOARD}" $2
if nrfjprog --reset --family NRF52 ; then
echo "Upgrade finished!"
else