diff --git a/ROMFS/px4fmu_common/init.d/rc.sensors b/ROMFS/px4fmu_common/init.d/rc.sensors index 85f257927c02569d2c3030de9eeab5ddc556c3ec..6a53ee9c9159d1dbb031ad1575f351ed0e4e7513 100644 --- a/ROMFS/px4fmu_common/init.d/rc.sensors +++ b/ROMFS/px4fmu_common/init.d/rc.sensors @@ -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 # ############################################################################### diff --git a/boards/atmel/same70xplained/init/rc.board b/boards/atmel/same70xplained/init/rc.board new file mode 100644 index 0000000000000000000000000000000000000000..2fb4e727212340ebe64658df36353dc8f45b137e --- /dev/null +++ b/boards/atmel/same70xplained/init/rc.board @@ -0,0 +1,17 @@ +#!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