diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2013-03-21 10:14:34 +0100 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2013-03-21 10:14:34 +0100 |
commit | 70a85739ccf2df6f032093ee9b0f03666d5a241c (patch) | |
tree | b792e6d0af1f0031af3ba3255552c66a4f76b429 /ROMFS/scripts/rc.usb | |
parent | bee896786a3236d7dac3f5460c56ff6e335f1e23 (diff) | |
download | px4-firmware-70a85739ccf2df6f032093ee9b0f03666d5a241c.tar.gz px4-firmware-70a85739ccf2df6f032093ee9b0f03666d5a241c.tar.bz2 px4-firmware-70a85739ccf2df6f032093ee9b0f03666d5a241c.zip |
Added startup scripts useful when running USB consoles, made MAVLink aware that /dev/console is a hint for running on USB (magic strings, magic strings)
Diffstat (limited to 'ROMFS/scripts/rc.usb')
-rw-r--r-- | ROMFS/scripts/rc.usb | 14 |
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..9031b38a2 --- /dev/null +++ b/ROMFS/scripts/rc.usb @@ -0,0 +1,14 @@ +#!nsh +# +# USB MAVLink start +# + +echo "[testing] doing production test.." + +# Tell MAVLink that this link is "fast" +mavlink start -b 230400 -d /dev/console + +# Exit shell to make it available to MAVLink +exit + +echo "[testing] testing done" |