Skip to content
Snippets Groups Projects
Commit 60ade5d8 authored by Daniel Agar's avatar Daniel Agar
Browse files

move av_x1-v1 init to rc.board

parent aab08ad6
No related branches found
No related tags found
No related merge requests found
......@@ -12,15 +12,6 @@ then
set LOGGER_BUF 6
fi
###############################################################################
# Begin Setup for board specific configurations. #
###############################################################################
if ver hwcmp AV_X_V1
then
set LOGGER_BUF 64
fi
###############################################################################
# End Setup for board specific configurations. #
###############################################################################
......
......@@ -11,15 +11,6 @@ then
mavlink start -r 800000 -d /dev/ttyACM0 -m config -x
fi
if ver hwcmp AV_X_V1
then
# AV-X: start MAVLink to companion (connected to TX2)
mavlink start -d /dev/ttyS5 -r 20000 -b 460800 -m onboard
# AV-X: start MAVLink UDP port 14570
mavlink start -x -u 14570
fi
#
# SYS_COMPANION transition support. Can be removed after the next release (currently at 1.8.0)
#
......
......@@ -66,20 +66,6 @@ then
mpu9250 -R 2 start
fi
if ver hwcmp AV_X_V1
then
adis16477 -R 8 start
#adis16497 start
lps22hb -S start
lsm303agr -R 4 start
ms4525_airspeed -T 4515 -b 3 start
fi
if ver hwcmp BITCRAZE_CRAZYFLIE
then
# Onboard I2C
......
#!nsh
#
# av_x1-v1 specific board init
#
#
if [ $AUTOCNF = yes ]
then
param set SYS_FMU_TASK 1
fi
set LOGGER_BUF 64
set MIXER_AUX none
adis16477 -R 8 start
#adis16497 start
lps22hb -S start
lsm303agr -R 4 start
ms4525_airspeed -T 4515 -b 3 start
# AV-X: start MAVLink to companion (connected to TX2)
mavlink start -d /dev/ttyS5 -r 20000 -b 460800 -m onboard
# AV-X: start MAVLink UDP port 14570
mavlink start -x -u 14570
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment