From 1a437c1fd1a428b9a1495a74da6a0f3d19de0c14 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Mon, 22 Oct 2018 17:41:29 -0400 Subject: [PATCH] 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 --- src/sam3x8e/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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