projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altos/telelco-v3.0: Merge info into one screen
[fw/altos]
/
ao-bringup
/
turnon_telemetrum
diff --git
a/ao-bringup/turnon_telemetrum
b/ao-bringup/turnon_telemetrum
index 5c62c49d623b1871616c940fabc98658545ddc90..bb455c988d6bd8991e61734435ba5bba2f35f08f 100755
(executable)
--- a/
ao-bringup/turnon_telemetrum
+++ b/
ao-bringup/turnon_telemetrum
@@
-1,9
+1,9
@@
#!/bin/sh
#!/bin/sh
-if [ -x /usr/bin/ao-flash-s
tm
]; then
- FLASH_STM=/usr/bin/ao-flash-s
tm
+if [ -x /usr/bin/ao-flash-s
amd21
]; then
+ FLASH_STM=/usr/bin/ao-flash-s
amd21
else
else
- echo "Can't find ao-flash-s
tm
! Aborting."
+ echo "Can't find ao-flash-s
amd21
! Aborting."
exit 1
fi
exit 1
fi
@@
-14,11
+14,11
@@
else
exit 1
fi
exit 1
fi
-VERSION=
2
.0
+VERSION=
4
.0
PRODUCT=TeleMetrum
echo "$PRODUCT v$VERSION Turn-On and Calibration Program"
PRODUCT=TeleMetrum
echo "$PRODUCT v$VERSION Turn-On and Calibration Program"
-echo "Copyright 20
14
by Bdale Garbee. Released under GPL v2"
+echo "Copyright 20
23
by Bdale Garbee. Released under GPL v2"
echo
echo "Expectations:"
echo "\t$PRODUCT v$VERSION powered from USB"
echo
echo "Expectations:"
echo "\t$PRODUCT v$VERSION powered from USB"
@@
-46,9
+46,9
@@
echo $FLASH_STM
$FLASH_STM ~/altusmetrumllc/Binaries/loaders/telemetrum-v$VERSION-*.elf || exit 1
$FLASH_STM ~/altusmetrumllc/Binaries/loaders/telemetrum-v$VERSION-*.elf || exit 1
-sleep
2
+sleep
3
-$USBLOAD --serial=$SERIAL
/usr/share/altos/telemetrum-v$VERSION*.ihx
|| exit 1
+$USBLOAD --serial=$SERIAL
~/altusmetrumllc/Binaries/telemetrum-v$VERSION-*.elf
|| exit 1
sleep 5
sleep 5
@@
-76,6
+76,6
@@
done
echo 'E 1' > $dev
echo 'E 1' > $dev
-./test-telemetrum
+./test-telemetrum
-v4.0
exit $?
exit $?