mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
80cf8389a8
Uno and Duemilanove(atmega328p version) are nearly the same boards. The only difference is that the Duemilanove use an FTDI usb chip, while the Uno use an Atmel which acts as USB/Serial converter. All of the code needed to support these boards is in arduino-common.
9 lines
267 B
Bash
Executable File
9 lines
267 B
Bash
Executable File
#!/usr/bin/env bash
|
|
sleep 2
|
|
setsid -w avarice $1 &
|
|
#sleep 2 && $2/avr-gdb-wrapper -ex "target remote localhost:$3" $4
|
|
sleep 3 && avr-gdb -ex "target remote localhost:$3" $4
|
|
|
|
# avarice exits with 1 if the connection is released, therefore we always exit with 0
|
|
exit 0
|