aboutsummaryrefslogtreecommitdiffstats
path: root/run.sh
diff options
context:
space:
mode:
authorClyne Sullivan <tullivan99@gmail.com>2017-12-30 12:27:06 -0500
committerClyne Sullivan <tullivan99@gmail.com>2017-12-30 12:27:06 -0500
commitf0f7ae0abcf0ab73a75bd111c3e036e0722d1daa (patch)
treed6bdb9f9adf3d82175d6cfc8545f187ca12d2d32 /run.sh
parent8217c76e2255119fadba76daed3b3e1ec960285a (diff)
uploaded code
Diffstat (limited to 'run.sh')
-rwxr-xr-xrun.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/run.sh b/run.sh
new file mode 100755
index 0000000..26750d2
--- /dev/null
+++ b/run.sh
@@ -0,0 +1,4 @@
+#!/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"