aboutsummaryrefslogtreecommitdiffstats
path: root/support/scripts
diff options
context:
space:
mode:
authorMarti Bolivar <mbolivar@leaflabs.com>2012-06-07 01:24:01 -0400
committerMarti Bolivar <mbolivar@leaflabs.com>2012-06-07 03:40:11 -0400
commit42570013c5266449f7e8512a77fe66b8e852294d (patch)
treef5e5c38175307dbda5cd13b117e6c43f3298f635 /support/scripts
parent421e49046cddf786b20db35f76c2bf6edcd39ef3 (diff)
downloadlibrambutan-42570013c5266449f7e8512a77fe66b8e852294d.tar.gz
librambutan-42570013c5266449f7e8512a77fe66b8e852294d.zip
Move OpenOCD stuff into contrib/.
This has gone unmaintained for long enough. Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
Diffstat (limited to 'support/scripts')
-rwxr-xr-xsupport/scripts/openocd-wrapper.sh16
1 files changed, 0 insertions, 16 deletions
diff --git a/support/scripts/openocd-wrapper.sh b/support/scripts/openocd-wrapper.sh
deleted file mode 100755
index 73be92e..0000000
--- a/support/scripts/openocd-wrapper.sh
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/usr/bin/env bash
-
-# Helper to decide which openocd script to use. We only support 0.3.x and 0.4.x.
-
-if [ $# -ne 1 ]
-then
- echo "Usage: `basename $0` {flash|debug}"
- exit 1
-fi
-
-OPENOCD_VERSION=`openocd -v 2>&1 | head -n1 | \
- awk '{print $4}' | sed 's/\([0-9]*\.[0-9]*\)\.[0-9]*/\1/'`
-
-CFG_FILE=$1_${OPENOCD_VERSION}.cfg
-
-openocd -f support/openocd/$CFG_FILE