|
|
|
@ -53,7 +53,8 @@ SPIDeviceDriver SPIDeviceManager::_device[] = {
@@ -53,7 +53,8 @@ SPIDeviceDriver SPIDeviceManager::_device[] = {
|
|
|
|
|
SPIDeviceDriver SPIDeviceManager::_device[] = { |
|
|
|
|
/* MPU9250 is restricted to 1MHz for non-data and interrupt registers */ |
|
|
|
|
SPIDeviceDriver("mpu9250", 2, 0, AP_HAL::SPIDevice_MPU9250, SPI_MODE_3, 8, SPI_CS_KERNEL, 1*MHZ, 20*MHZ), |
|
|
|
|
SPIDeviceDriver("ms5611", 2, 1, AP_HAL::SPIDevice_MS5611, SPI_MODE_3, 8, SPI_CS_KERNEL, 10*MHZ,10*MHZ), |
|
|
|
|
SPIDeviceDriver("mpu9250ext", 1, 0, AP_HAL::SPIDevice_MPU9250, SPI_MODE_3, 8, SPI_CS_KERNEL, 1*MHZ, 20*MHZ), |
|
|
|
|
SPIDeviceDriver("ms5611", 2, 1, AP_HAL::SPIDevice_MS5611, SPI_MODE_3, 8, SPI_CS_KERNEL, 10*MHZ,10*MHZ), |
|
|
|
|
}; |
|
|
|
|
#elif CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_RASPILOT |
|
|
|
|
SPIDeviceDriver SPIDeviceManager::_device[] = { |
|
|
|
|