diff --git a/src/flashing/bmp.mk b/src/flashing/bmp.mk index 44b7b0e52..2e67eece5 100644 --- a/src/flashing/bmp.mk +++ b/src/flashing/bmp.mk @@ -11,4 +11,7 @@ endif -ex 'load' \ -ex 'compare-sections' \ -ex 'kill' \ - $(FLASH_BINARY_DIR)/$(TARGET).hex \ No newline at end of file + $(FLASH_BINARY_DIR)/$(TARGET).hex | tee $(FLASH_BINARY_DIR)/gdb_output + @if grep -q "MIS-MATCHED" $(FLASH_BINARY_DIR)/gdb_output; then \ + false; \ + fi \ No newline at end of file