1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-12-02 13:24:12 +01:00
Arduino/build/linux/dist/tools/adk2install
2012-05-29 14:32:34 -07:00

15 lines
248 B
Bash
Executable File

#!/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