aboutsummaryrefslogtreecommitdiffstats
path: root/run.sh
diff options
context:
space:
mode:
Diffstat (limited to 'run.sh')
-rwxr-xr-xrun.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/run.sh b/run.sh
index 88be7fa..318f1ff 100755
--- a/run.sh
+++ b/run.sh
@@ -1,7 +1,7 @@
#!/bin/bash
-openocd -f /usr/share/openocd/scripts/board/st_nucleo_l476rg.cfg \
- -c "init; reset halt; flash write_image erase main.hex; reset run; exit"
+#openocd -f /usr/share/openocd/scripts/board/st_nucleo_l476rg.cfg \
+# -c "init; reset halt; flash write_image erase main.hex; reset run; exit"
-#openocd -f /usr/share/openocd/scripts/board/st_nucleo_l476rg.cfg > /dev/null &
-#gdb-multiarch
+openocd -f /usr/share/openocd/scripts/board/st_nucleo_l476rg.cfg > /dev/null &
+gdb-multiarch -iex "target remote localhost:3333" out/main.elf