projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
7d99333
)
update TeleGPS v3.0 production script to flash correct firmware versions
author
Bdale Garbee
<bdale@gag.com>
Thu, 27 Apr 2023 00:08:09 +0000
(18:08 -0600)
committer
Keith Packard
<keithp@keithp.com>
Fri, 28 Apr 2023 05:48:24 +0000
(22:48 -0700)
ao-bringup/turnon_telegps
patch
|
blob
|
history
diff --git
a/ao-bringup/turnon_telegps
b/ao-bringup/turnon_telegps
index b51e33c81cd73eb8e87d7d1c7d361de997277d9e..7c16d3619489afd4ba5bfe60855e335a3d1b6d94 100755
(executable)
--- a/
ao-bringup/turnon_telegps
+++ b/
ao-bringup/turnon_telegps
@@
-47,20
+47,20
@@
esac
#
# Use released versions of everything
#
#
# Use released versions of everything
#
-FLASH_FILE=~/altusmetrumllc/Binaries/loaders/telegps-v
1
.0-altos-flash-*.elf
-ALTOS_FILE=~/altusmetrumllc/Binaries/telegps-v
1
.0-*.elf
+FLASH_FILE=~/altusmetrumllc/Binaries/loaders/telegps-v
3
.0-altos-flash-*.elf
+ALTOS_FILE=~/altusmetrumllc/Binaries/telegps-v
3
.0-*.elf
echo $FLASH_LPC $FLASH_FILE
$FLASH_LPC $FLASH_FILE || exit 1
echo $FLASH_LPC $FLASH_FILE
$FLASH_LPC $FLASH_FILE || exit 1
-sleep
2
+sleep
1
echo $USBLOAD $ALTOS_FILE
$USBLOAD --serial=$SERIAL $ALTOS_FILE || exit 1
echo $USBLOAD $ALTOS_FILE
$USBLOAD --serial=$SERIAL $ALTOS_FILE || exit 1
-sleep
2
+sleep
1
dev=`ao-list | awk '/TeleGPS-v'"$VERSION"'/ { print $3; exit(0); }'`
dev=`ao-list | awk '/TeleGPS-v'"$VERSION"'/ { print $3; exit(0); }'`