mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-25 01:58:29 -04:00
AP_HAL_ChibiOS: revo-mini-i2c probe for external compasses
allow for probing of external compasses on i2c
This commit is contained in:
parent
802974a337
commit
7907fd5729
@ -142,6 +142,9 @@ define HAL_PROBE_EXTERNAL_I2C_BAROS
|
|||||||
# look for internal I2C compass
|
# look for internal I2C compass
|
||||||
COMPASS HMC5843 I2C:0:0x1E false ROTATION_YAW_270
|
COMPASS HMC5843 I2C:0:0x1E false ROTATION_YAW_270
|
||||||
|
|
||||||
|
# also allow for probing of external compasses
|
||||||
|
define HAL_PROBE_EXTERNAL_I2C_COMPASSES
|
||||||
|
|
||||||
# SPI devices
|
# SPI devices
|
||||||
SPIDEV mpu6000 SPI1 DEVID1 MPU_CS MODE3 1*MHZ 8*MHZ
|
SPIDEV mpu6000 SPI1 DEVID1 MPU_CS MODE3 1*MHZ 8*MHZ
|
||||||
SPIDEV dataflash SPI3 DEVID1 FLASH_CS MODE3 32*MHZ 32*MHZ
|
SPIDEV dataflash SPI3 DEVID1 FLASH_CS MODE3 32*MHZ 32*MHZ
|
||||||
|
Loading…
Reference in New Issue
Block a user