Skip to content

Commit

Permalink
flashing: exit with error when mismatch occurs with BMP
Browse files Browse the repository at this point in the history
  • Loading branch information
paradajz committed Mar 16, 2023
1 parent e24c252 commit f66d6c9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/flashing/bmp.mk
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,7 @@ endif
-ex 'load' \
-ex 'compare-sections' \
-ex 'kill' \
$(FLASH_BINARY_DIR)/$(TARGET).hex
$(FLASH_BINARY_DIR)/$(TARGET).hex | tee $(FLASH_BINARY_DIR)/gdb_output
@if grep -q "MIS-MATCHED" $(FLASH_BINARY_DIR)/gdb_output; then \
false; \
fi

0 comments on commit f66d6c9

Please sign in to comment.