mirror of https://github.com/ArduPilot/ardupilot
AP_HAL_ChibiOS: add BMI270 and ICM42688 to FlywooF745
This commit is contained in:
parent
d5535cc0cf
commit
a667e3728c
|
@ -133,6 +133,8 @@ define HAL_LOGGING_DATAFLASH_ENABLED 1
|
||||||
SPIDEV dataflash SPI1 DEVID1 FLASH_CS MODE3 104*MHZ 104*MHZ
|
SPIDEV dataflash SPI1 DEVID1 FLASH_CS MODE3 104*MHZ 104*MHZ
|
||||||
SPIDEV osd SPI2 DEVID2 AT7456E_CS MODE0 10*MHZ 10*MHZ
|
SPIDEV osd SPI2 DEVID2 AT7456E_CS MODE0 10*MHZ 10*MHZ
|
||||||
SPIDEV mpu6000 SPI4 DEVID4 MPU6000_CS MODE3 1*MHZ 4*MHZ
|
SPIDEV mpu6000 SPI4 DEVID4 MPU6000_CS MODE3 1*MHZ 4*MHZ
|
||||||
|
SPIDEV icm42688 SPI4 DEVID4 MPU6000_CS MODE3 1*MHZ 8*MHZ
|
||||||
|
SPIDEV bmi270 SPI4 DEVID4 MPU6000_CS MODE3 1*MHZ 8*MHZ
|
||||||
|
|
||||||
# no built-in compass, but probe the i2c bus for all possible
|
# no built-in compass, but probe the i2c bus for all possible
|
||||||
# external compass types
|
# external compass types
|
||||||
|
@ -142,6 +144,8 @@ define HAL_I2C_INTERNAL_MASK 0
|
||||||
|
|
||||||
# one IMU
|
# one IMU
|
||||||
IMU Invensense SPI:mpu6000 ROTATION_YAW_180
|
IMU Invensense SPI:mpu6000 ROTATION_YAW_180
|
||||||
|
IMU BMI270 SPI:bmi270 ROTATION_PITCH_180
|
||||||
|
IMU Invensensev3 SPI:icm42688 ROTATION_PITCH_180_YAW_90
|
||||||
define HAL_DEFAULT_INS_FAST_SAMPLE 1
|
define HAL_DEFAULT_INS_FAST_SAMPLE 1
|
||||||
|
|
||||||
# one BARO
|
# one BARO
|
||||||
|
|
Loading…
Reference in New Issue