aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2018-10-22 17:41:29 -0400
committerKevin O'Connor <kevin@koconnor.net>2018-10-22 17:41:29 -0400
commit1a437c1fd1a428b9a1495a74da6a0f3d19de0c14 (patch)
treebfa93b51ab88dc05a1f967e01317d0db6ab6068f /src
parent04a12ec9bd733d424b4adc3a3583e034196d918f (diff)
downloadkutter-1a437c1fd1a428b9a1495a74da6a0f3d19de0c14.tar.gz
kutter-1a437c1fd1a428b9a1495a74da6a0f3d19de0c14.tar.xz
kutter-1a437c1fd1a428b9a1495a74da6a0f3d19de0c14.zip
sam3x8e: Don't report an error if bossac errors during device restart
Sometime bossac reports an error during chip restart. It appears this error is spurious - just suppress it. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src')
-rw-r--r--src/sam3x8e/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sam3x8e/Makefile b/src/sam3x8e/Makefile
index c5e0607b..6a9b1ed2 100644
--- a/src/sam3x8e/Makefile
+++ b/src/sam3x8e/Makefile
@@ -38,4 +38,4 @@ flash: $(OUT)klipper.bin lib/bossac/bin/bossac
@echo " Flashing $^ to $(FLASH_DEVICE) via bossac"
$(Q)if [ -z $(FLASH_DEVICE) ]; then echo "Please specify FLASH_DEVICE"; exit 1; fi
$(Q)lib/bossac/bin/bossac -U -p "$(FLASH_DEVICE)" -a -e -w $(OUT)klipper.bin -v -b
- $(Q)lib/bossac/bin/bossac -p "$(FLASH_DEVICE)" -R
+ $(Q)lib/bossac/bin/bossac -p "$(FLASH_DEVICE)" -R > /dev/null 2>&1 || true