Skip to content

Commit

Permalink
hw/scripts: download: Enable nrfjprog verification
Browse files Browse the repository at this point in the history
This enables verification after flashing.

Signed-off-by: Jerzy Kasenberg <jerzy.kasenberg@codecoup.pl>
  • Loading branch information
kasjer committed Dec 2, 2024
1 parent d2082b5 commit 222e7dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hw/scripts/nrfjprog.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ nrfjprog_load () {

echo "Downloading" $FILE_NAME "to" $FLASH_OFFSET

nrfjprog ${NRFJPROG_ARG} --program ${BIN_BASENAME}.hex --sectorerase
nrfjprog ${NRFJPROG_ARG} --program ${BIN_BASENAME}.hex --sectorerase --verify

if [ $? -ne 0 ]; then
exit 1
Expand Down

0 comments on commit 222e7dc

Please sign in to comment.