Skip to content

Commit

Permalink
aerofc: test 115200 and 460800 baud rates
Browse files Browse the repository at this point in the history
We still want to be able to program the flight stack if the user changes
the baudrate of that UART.
  • Loading branch information
lucasdemarchi authored and LorenzMeier committed Feb 16, 2017
1 parent f9795cc commit 47411b0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Tools/aero_upload.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,13 @@ ssh $target /bin/bash <<EOF
echo -e "Updating firmware on AeroFC"
~/px_uploader.py \
--port /dev/ttyS1 \
--baud-flightstack 1500000 \
--baud-flightstack 1500000,460800,115200 \
$(basename $firmware)
echo "Firmware updated"
if [ \$router_running -eq 1 ]; then
echo "Restarting router"
/etc/init.d/mavlink-routerd.sh start
fi
EOF

echo "Firmware updated"
echo "Finished."

0 comments on commit 47411b0

Please sign in to comment.