From 1c371a6cf81d3a791237d1969ce84f512670c6c9 Mon Sep 17 00:00:00 2001 From: Kevin Hester Date: Sun, 11 Aug 2013 17:17:29 -1000 Subject: openocd: lost change from my cherry-picking --- Debug/runopenocd.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3