aboutsummaryrefslogtreecommitdiff
path: root/Debug
diff options
context:
space:
mode:
authorKevin Hester <kevinh@geeksville.com>2013-08-11 17:17:29 -1000
committerLorenz Meier <lm@inf.ethz.ch>2013-08-21 15:02:34 +0200
commit1c371a6cf81d3a791237d1969ce84f512670c6c9 (patch)
treef9da1df4b4d6a65008c0e6dc00e35338012f7dd8 /Debug
parentfa8f8f2a0255d743494e17120955421677e76567 (diff)
downloadpx4-firmware-1c371a6cf81d3a791237d1969ce84f512670c6c9.tar.gz
px4-firmware-1c371a6cf81d3a791237d1969ce84f512670c6c9.tar.bz2
px4-firmware-1c371a6cf81d3a791237d1969ce84f512670c6c9.zip
openocd: lost change from my cherry-picking
Diffstat (limited to 'Debug')
-rwxr-xr-xDebug/runopenocd.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/Debug/runopenocd.sh b/Debug/runopenocd.sh
index 291c5b0f5..6258fccfb 100755
--- a/Debug/runopenocd.sh
+++ b/Debug/runopenocd.sh
@@ -1 +1,5 @@
-openocd -f interface/olimex-arm-usb-ocd-h.cfg -f Debug/stm32f4x.cfg
+#!/bin/bash
+
+DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
+
+openocd -f interface/olimex-arm-usb-ocd-h.cfg -f $DIR/px4fmu-v1-board.cfg