Skip to content
Snippets Groups Projects
Commit dad52242 authored by Sergej Scheiermann's avatar Sergej Scheiermann Committed by Lorenz Meier
Browse files

bmi055 added to start-up script

parent 7dcdc574
No related branches found
No related tags found
No related merge requests found
......@@ -216,6 +216,21 @@ then
if bmi160 start
then
fi
# Start either ICM2060X or BMI055. They are both connected to the same SPI bus and use the same
# chip select pin. There are different boards with either one of them and the WHO_AM_I register
# will prevent the incorrect driver from a successful initialization.
# Internal SPI bus BMI055_ACC
if bmi055 -A start
then
fi
# Internal SPI bus BMI055_GYR
if bmi055 -G start
then
fi
fi
if ver hwcmp PX4FMU_V1
......
......@@ -15,8 +15,7 @@ enum spi_dev_e {
SPIDEV_EXPANDER, /* Select SPI I/O expander device */
SPIDEV_MUX, /* Select SPI multiplexer device */
SPIDEV_AUDIO_DATA, /* Select SPI audio codec device data port */
SPIDEV_AUDIO_CTRL, /* Select SPI audio codec device control port */
SPIDEV_BMI055_GYR /* Select SPI BMI055 Gyroscope */
SPIDEV_AUDIO_CTRL /* Select SPI audio codec device control port */
};
/* Certain SPI devices may required different clocking modes */
......
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