]> mj.ucw.cz Git - home-hw.git/commitdiff
Added bin/semihosting
authorMartin Mares <mj@ucw.cz>
Sat, 30 Jun 2018 12:59:54 +0000 (14:59 +0200)
committerMartin Mares <mj@ucw.cz>
Sat, 30 Jun 2018 12:59:54 +0000 (14:59 +0200)
bin/semihosting [new file with mode: 0644]

diff --git a/bin/semihosting b/bin/semihosting
new file mode 100644 (file)
index 0000000..2d60759
--- /dev/null
@@ -0,0 +1,3 @@
+#!/bin/bash
+cd ~/stm/openocd
+./openocd -f interface/stlink-v2.cfg -f target/stm32f1x.cfg -c init -c 'arm semihosting enable' -c 'reset halt' -c 'reset run'