HAL_ChibiOS: convert airbot to new config

This commit is contained in:
Andrew Tridgell 2019-05-30 11:34:45 +10:00
parent 82b171582e
commit fc1ec8a465

View File

@ -83,13 +83,13 @@ define HAL_LOGGING_DATAFLASH
define CONFIG_HAL_BOARD_SUBTYPE HAL_BOARD_SUBTYPE_CHIBIOS_AIRBOTF4
define HAL_INS_DEFAULT HAL_INS_MPU60XX_SPI
define HAL_INS_DEFAULT_ROTATION ROTATION_YAW_180
# one IMU
IMU Invensense SPI:mpu6000_cs ROTATION_YAW_180
define HAL_BARO_DEFAULT HAL_BARO_MS5611_I2C
define HAL_BARO_MS5611_I2C_BUS 0
define HAL_BARO_MS5611_I2C_ADDR 0x77
# one baro
BARO MS5611 I2C:0:0x77
# no builtin compasses
define ALLOW_ARM_NO_COMPASS
define HAL_COMPASS_DEFAULT HAL_COMPASS_NONE
define HAL_PROBE_EXTERNAL_I2C_COMPASSES