aboutsummaryrefslogtreecommitdiff
path: root/ROMFS/scripts/rc.usb
diff options
context:
space:
mode:
authorpx4dev <px4@purgatory.org>2013-03-31 15:16:07 -0700
committerpx4dev <px4@purgatory.org>2013-03-31 15:16:07 -0700
commitb1da85554805a449d5a0d25d984faf812031e20b (patch)
tree17b44ba4589775c17097adf1468c77f424b56455 /ROMFS/scripts/rc.usb
parent4c448a5be041eaa33c54e4bf1116c98fca487aff (diff)
parent9dbd2695d3b476e8ed0a2001b027329e8600bd29 (diff)
downloadpx4-firmware-b1da85554805a449d5a0d25d984faf812031e20b.tar.gz
px4-firmware-b1da85554805a449d5a0d25d984faf812031e20b.tar.bz2
px4-firmware-b1da85554805a449d5a0d25d984faf812031e20b.zip
Merge branch 'master' into export-build
Diffstat (limited to 'ROMFS/scripts/rc.usb')
-rw-r--r--ROMFS/scripts/rc.usb14
1 files changed, 14 insertions, 0 deletions
diff --git a/ROMFS/scripts/rc.usb b/ROMFS/scripts/rc.usb
new file mode 100644
index 000000000..31af3991a
--- /dev/null
+++ b/ROMFS/scripts/rc.usb
@@ -0,0 +1,14 @@
+#!nsh
+#
+# USB MAVLink start
+#
+
+echo "Starting MAVLink on this USB console"
+
+# Tell MAVLink that this link is "fast"
+mavlink start -b 230400 -d /dev/console
+
+echo "MAVLink started, exiting shell.."
+
+# Exit shell to make it available to MAVLink
+exit