projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
fbe87bd
)
ao-bringup: Allow dfu_util to "fail" while flashing chaoskey
author
Keith Packard
<keithp@keithp.com>
Sat, 12 Aug 2017 03:40:41 +0000
(23:40 -0400)
committer
Keith Packard
<keithp@keithp.com>
Sat, 12 Aug 2017 03:40:41 +0000
(23:40 -0400)
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>
ao-bringup/turnon_chaoskey
patch
|
blob
|
history
diff --git
a/ao-bringup/turnon_chaoskey
b/ao-bringup/turnon_chaoskey
index 1a8fe13f37a5503a7f7547fcdd3a0506c012e965..4a255bff3d27581e1070641c5cf1f59d79ab7243 100755
(executable)
--- 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