summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
2f4077b)
--- /dev/null
+#! /usr/bin/env bash
+set -x
+BASE_DIR=`dirname $0`
+. ${BASE_DIR}/common.sh
+
+OUT_FILE="openocd.tmp"
+
+sed -e "s#PROGRAMMER_TYPE#${INT_FILE}#" ${BASE_DIR}/openocd/debug.cfg | sed -e "s#PROGRAMMER_CPU#${CPU_FILE}#" > ${OUT_FILE}
+
+openocd -f ${OUT_FILE}
+OCD_RET=$?
+rm -f ${OUT_FILE}
+exit $OCD_RET
--- /dev/null
+#!/usr/bin/env bash
+
+printf "AVR target debugging is currently not supported.\n"
+exit 1