From c0e48994ca36abc511eb7bdeb5859d9c0d8dda45 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Sat, 30 Jun 2018 14:59:54 +0200 Subject: [PATCH] Added bin/semihosting --- bin/semihosting | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 bin/semihosting diff --git a/bin/semihosting b/bin/semihosting new file mode 100644 index 0000000..2d60759 --- /dev/null +++ b/bin/semihosting @@ -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' -- 2.39.5