summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2017-08-11 23:40:41 -0400
committerKeith Packard <keithp@keithp.com>2017-08-11 23:40:41 -0400
commitf1bbf1bd18d52a084af714a022b12bfc3c76374c (patch)
treeb877b9b471e9057683b4fab61173db8001fe1445
parentfbe87bd18308cab62eda6d5e956a8618095ed33b (diff)
ao-bringup: Allow dfu_util to "fail" while flashing chaoskey
Sometimes it isn't happy about the exit status, but if the device comes up and works OK, we don't care. Signed-off-by: Keith Packard <keithp@keithp.com>
-rwxr-xr-xao-bringup/turnon_chaoskey2
1 files changed, 1 insertions, 1 deletions
diff --git a/ao-bringup/turnon_chaoskey b/ao-bringup/turnon_chaoskey
index 1a8fe13f..4a255bff 100755
--- a/ao-bringup/turnon_chaoskey
+++ b/ao-bringup/turnon_chaoskey
@@ -27,7 +27,7 @@ echo
FLASH_FILE=~/altusmetrumllc/Binaries/loaders/chaoskey-v1.0-altos-flash-*.bin
ALTOS_FILE=~/altusmetrumllc/Binaries/chaoskey-v1.0-*.elf
-$DFU_UTIL -a 0 -s 0x08000000:leave -D $FLASH_FILE || exit 1
+$DFU_UTIL -a 0 -s 0x08000000:leave -D $FLASH_FILE || true
sleep 2