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

move atmel_same70xplained init to rc.board

parent 4240abad
No related branches found
No related tags found
No related merge requests found
......@@ -5,10 +5,6 @@
# NOTE: Script variables are declared/initialized/unset in the rcS script.
#
###############################################################################
# Begin Setup for board specific configurations. #
###############################################################################
if ! ver hwcmp AEROFC_V1 OMNIBUS_F4SD
then
if ! ver hwcmp BITCRAZE_CRAZYFLIE
......@@ -31,19 +27,6 @@ then
adc start
fi
if ver hwcmp ATMEL_SAME70XPLAINED_V1
then
# External I2C bus
hmc5883 -C -T -X start
# Internal SPI bus mpu9250 is rotated 90 deg yaw
mpu9250 -R 2 start
fi
###############################################################################
# End Setup for board specific configurations. #
###############################################################################
###############################################################################
# Begin Optional drivers #
###############################################################################
......
#!nsh
#
# Atmel SAM E70 Xplained specific board init
#
#------------------------------------------------------------------------------
#
if [ $AUTOCNF = yes ]
then
fi
# External I2C bus
hmc5883 -C -T -X start
# Internal SPI bus mpu9250 is rotated 90 deg yaw
mpu9250 -R 2 start
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