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 Dec 7, 2015
1 parent 46c4880 commit 246b2b0
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 @@ -182,7 +182,7 @@ do_flash_elf() {
${OPENOCD_PRE_VERIFY_CMDS} \
-c 'verify_image \"${ELFFILE}\"' \
-c 'reset run' \
-c 'shutdown'"
-c 'shutdown'" &&
echo 'Done flashing'
}

Expand Down

0 comments on commit 246b2b0

Please sign in to comment.