mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-11 02:18:29 -04:00
HAL_ChibiOS: setup crazyflie2 IMU and baro
This commit is contained in:
parent
2b0a3272fd
commit
e05bac425f
@ -103,10 +103,11 @@ FLASH_RESERVE_START_KB 64
|
|||||||
define HAL_INS_DEFAULT HAL_INS_MPU60XX_I2C
|
define HAL_INS_DEFAULT HAL_INS_MPU60XX_I2C
|
||||||
define HAL_INS_DEFAULT_ROTATION ROTATION_NONE
|
define HAL_INS_DEFAULT_ROTATION ROTATION_NONE
|
||||||
define HAL_INS_MPU60x0_I2C_BUS 0
|
define HAL_INS_MPU60x0_I2C_BUS 0
|
||||||
define HAL_INS_MPU60x0_I2C_ADDR 0x68
|
define HAL_INS_MPU60x0_I2C_ADDR 0x69
|
||||||
|
|
||||||
define HAL_BARO_DEFAULT HAL_BARO_LPS25H
|
define HAL_BARO_DEFAULT HAL_BARO_LPS25H_IMU_I2C
|
||||||
define HAL_BARO_LPS25H_I2C_BUS 0
|
define HAL_BARO_LPS25H_I2C_BUS 0
|
||||||
define HAL_BARO_LPS25H_I2C_ADDR 0x5D
|
define HAL_BARO_LPS25H_I2C_ADDR 0x5D
|
||||||
|
define HAL_BARO_LPS25H_I2C_IMU_ADDR HAL_INS_MPU60x0_I2C_ADDR
|
||||||
|
|
||||||
define HAL_COMPASS_DEFAULT HAL_COMPASS_AK8963_MPU9250
|
define HAL_COMPASS_DEFAULT HAL_COMPASS_AK8963_MPU9250
|
||||||
|
Loading…
Reference in New Issue
Block a user