aboutsummaryrefslogtreecommitdiff
path: root/Debug/runopenocd.sh
diff options
context:
space:
mode:
Diffstat (limited to 'Debug/runopenocd.sh')
-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