summaryrefslogtreecommitdiff
path: root/ao-bringup
diff options
context:
space:
mode:
authorBdale Garbee <bdale@gag.com>2010-09-09 17:27:07 -0600
committerBdale Garbee <bdale@gag.com>2010-09-09 17:27:07 -0600
commit35d70c92307dd478bc619b2f6c5a88e155cdad28 (patch)
tree77a03de66a7b772babcfd15ee9757403fd72a036 /ao-bringup
parentc286ada6457579d64e9d8ca44b927258b4a561da (diff)
handle versioning of ihx files (poorly) by just wildcarding the file name,
which assumes there's only one matching .. probably ok on Debian?
Diffstat (limited to 'ao-bringup')
-rwxr-xr-xao-bringup/turnon_teledongle2
-rwxr-xr-xao-bringup/turnon_telemetrum2
2 files changed, 2 insertions, 2 deletions
diff --git a/ao-bringup/turnon_teledongle b/ao-bringup/turnon_teledongle
index 7dbb82b5..216afa2a 100755
--- a/ao-bringup/turnon_teledongle
+++ b/ao-bringup/turnon_teledongle
@@ -42,7 +42,7 @@ read FREQ
CAL_VALUE=`nickle -e "floor(434.55 / $FREQ * 1186611 + 0.5)"`
echo "Programming flash with cal value " $CAL_VALUE
-$AOLOAD --cal $CAL_VALUE /usr/share/altos/teledongle-v0.2.ihx $SERIAL
+$AOLOAD --cal $CAL_VALUE /usr/share/altos/teledongle-v0.2*.ihx $SERIAL
echo "Serial number "$SERIAL" programmed with RF cal value "$CAL_VALUE
echo "Unplug and replug USB, cu to the board, confirm freq and record power"
diff --git a/ao-bringup/turnon_telemetrum b/ao-bringup/turnon_telemetrum
index 4086a1a8..440eda1b 100755
--- a/ao-bringup/turnon_telemetrum
+++ b/ao-bringup/turnon_telemetrum
@@ -42,7 +42,7 @@ read FREQ
CAL_VALUE=`nickle -e "floor(434.55 / $FREQ * 1186611 + 0.5)"`
echo "Programming flash with cal value " $CAL_VALUE
-$AOLOAD --cal $CAL_VALUE /usr/share/altos/telemetrum-v1.0.ihx $SERIAL
+$AOLOAD --cal $CAL_VALUE /usr/share/altos/telemetrum-v1.0*.ihx $SERIAL
echo "Serial number "$SERIAL" programmed with RF cal value "$CAL_VALUE
echo "Unplug and replug USB, cu to the board, confirm freq and record power"