Blame view

RIOT/boards/arduino-atmega-common/dist/debug.sh 267 Bytes
a752c7ab   elopes   add first test an...
1
2
3
4
5
6
7
8
  #!/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