1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00
RIOT/boards/iot-lab_M3/dist/debug.sh

18 lines
284 B
Bash
Raw Normal View History

2014-06-11 14:59:24 +02:00
#!/bin/bash
if [ -L "$0" ]; then
FILE=$(readlink "$0")
else
FILE="$0"
fi
BIN_FOLDER=$(dirname "${FILE}")
openocd -f "${BIN_FOLDER}/${BOARD}_jtag.cfg" \
-f "target/stm32f1x.cfg" \
2014-07-03 10:36:46 +02:00
-c "tcl_port 6333" \
-c "telnet_port 4444" \
2014-06-11 14:59:24 +02:00
-c "init" \
-c "targets" \
-c "reset halt"