HAL_ChibiOS: setup crazyflie2 IMU and baro

This commit is contained in:
Andrew Tridgell 2018-02-15 15:01:02 +11:00
parent 2b0a3272fd
commit e05bac425f
1 changed files with 3 additions and 2 deletions

View File

@ -103,10 +103,11 @@ FLASH_RESERVE_START_KB 64
define HAL_INS_DEFAULT HAL_INS_MPU60XX_I2C
define HAL_INS_DEFAULT_ROTATION ROTATION_NONE
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_ADDR 0x5D
define HAL_BARO_LPS25H_I2C_IMU_ADDR HAL_INS_MPU60x0_I2C_ADDR
define HAL_COMPASS_DEFAULT HAL_COMPASS_AK8963_MPU9250