Skip to content

Commit

Permalink
openocd: return error if flashing went wrong
Browse files Browse the repository at this point in the history
  • Loading branch information
kaspar030 committed Apr 30, 2015
1 parent 86d4497 commit a61aad2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dist/tools/openocd/openocd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ do_flash() {
-c "reset halt" \
-c "program ${HEXFILE} verify" \
-c "reset run" \
-c "shutdown"
-c "shutdown" &&
echo "Done flashing"
}

Expand Down

0 comments on commit a61aad2

Please sign in to comment.