1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-12-04 15:24:12 +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