summaryrefslogtreecommitdiff
path: root/firmware/ocd.sh
blob: a5056988eba729c9d60d942a21c1ee53cf7eac3a (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh


# Usage: ./ocd.sh  # start gdb.sh script afterwards


# run openocd server with telnet interface on localhost:4444 and GDB interface
# on localhost:3333
openocd -f interface/stlink-v2.cfg -f target/stm32f1x.cfg