diff options
Diffstat (limited to 'Debug/runopenocd.sh')
-rwxr-xr-x | Debug/runopenocd.sh | 6 |
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 |