summaryrefslogtreecommitdiff
path: root/firmware/ocd.sh
blob: 7e9bb23044b2e2237da93a77f71b9ee891532acc (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.cfg -f target/stm32f1x.cfg