From 0317b6613938cd7aeaf43449b858dc6e0b819d4a Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 27 Nov 2019 14:24:47 +1100 Subject: [PATCH] HAL_ChibiOS: update mRoX21-777 I2C mask all external --- libraries/AP_HAL_ChibiOS/hwdef/mRoX21-777/hwdef.dat | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/libraries/AP_HAL_ChibiOS/hwdef/mRoX21-777/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/mRoX21-777/hwdef.dat index ac064ec191..709ce9f1b4 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/mRoX21-777/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/mRoX21-777/hwdef.dat @@ -91,13 +91,8 @@ USB_STRING_MANUFACTURER "mRo" USB_STRING_PRODUCT "mRoX21-777" USB_STRING_SERIAL "%SERIAL%" -# now define the order that I2C buses are presented in the hal.i2c API -# in ArduPilot. For historical reasons inherited from HAL_PX4 the -# 'external' I2C bus should be bus 1 in hal.i2c, and internal I2C bus -# should be bus 0. On fmuv3 the STM32 I2C1 is our external bus and -# I2C2 is our internal bus, so we need to setup the order as I2C2 -# followed by I2C1 in order to achieve the conventional order that -# drivers expect +# this board only has a single I2C bus so make it external +define HAL_I2C_INTERNAL_MASK 0 # order of I2C buses I2C_ORDER I2C1