1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/boards/yunjia-nrf51822/dist/debug
2014-09-17 14:44:13 +02:00

15 lines
215 B
Bash
Executable File

#!/bin/sh
if [ -L "$0" ]; then
FILE=$(readlink -e "$0")
else
FILE="$0"
fi
BIN_FOLDER=$(dirname "${FILE}")
openocd -f "${BIN_FOLDER}/openocd.cfg" \
-c "init" \
-c "targets" \
-c "reset halt" \