1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-12-03 14:24:15 +01:00
Arduino/build/linux/dist/tools/adk2install

15 lines
248 B
Plaintext
Raw Normal View History

#!/bin/sh
# simple wrapper around the adk2tool and bossac to properly erase and reset the
# adk2 board
echo $1 /dev/$2 erase
$1 /dev/$2 erase
echo $3 --port=$2 -w -e -v -b $4
$3 --port=$2 -w -e -v -b $4
echo $1 /dev/$2 reset
$1 /dev/$2 reset