Skip to content

Commit

Permalink
Merge pull request #2471 from haukepetersen/fix_openocd_shutdown
Browse files Browse the repository at this point in the history
dist/openocd.sh: added shutdown to flash commands
  • Loading branch information
OlegHahm committed Mar 5, 2015
2 parents 7ae25c0 + 34541a5 commit 96e6d2a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion dist/tools/openocd/openocd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,9 @@ do_flash() {
-c "targets" \
-c "reset halt" \
-c "program ${HEXFILE} verify" \
-c "reset run"
-c "reset run" \
-c "shutdown"
echo "Done flashing"
}

do_debug() {
Expand Down

0 comments on commit 96e6d2a

Please sign in to comment.