handle versioning of ihx files (poorly) by just wildcarding the file name,
[fw/altos] / ao-bringup / turnon_telemetrum
index 4086a1a8665aa3418bcbe2af2077e283163dc6d5..440eda1bb4ad62b0222f478b85310ba12b97a54e 100755 (executable)
@@ -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"