From 506da9ac42dfc28b792f65022e08e20741d04dcd Mon Sep 17 00:00:00 2001 From: mirkix Date: Sun, 20 Jan 2019 09:21:58 +0100 Subject: [PATCH] AP_HAL: enable UAVCAN for bbbmini, blue and pocket --- libraries/AP_HAL/board/linux.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libraries/AP_HAL/board/linux.h b/libraries/AP_HAL/board/linux.h index 79662f54a8..060a985317 100644 --- a/libraries/AP_HAL/board/linux.h +++ b/libraries/AP_HAL/board/linux.h @@ -199,6 +199,7 @@ #define HAL_COMPASS_HMC5843_I2C_ADDR 0x1E #define HAL_OPTFLOW_PX4FLOW_I2C_BUS 2 #define HAL_RANGEFINDER_LIGHTWARE_I2C_BUS 2 +#define HAL_WITH_UAVCAN 1 #elif CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_BLUE #define HAL_GPIO_A_LED_PIN 66 #define HAL_GPIO_B_LED_PIN 67 @@ -219,6 +220,7 @@ #define HAL_COMPASS_HMC5843_I2C_ADDR 0x1E #define HAL_OPTFLOW_PX4FLOW_I2C_BUS 1 #define HAL_RANGEFINDER_LIGHTWARE_I2C_BUS 1 +#define HAL_WITH_UAVCAN 1 #elif CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_POCKET #define HAL_GPIO_A_LED_PIN 59 #define HAL_GPIO_B_LED_PIN 58 @@ -237,6 +239,7 @@ #define HAL_COMPASS_HMC5843_I2C_ADDR 0x1E #define HAL_OPTFLOW_PX4FLOW_I2C_BUS 2 #define HAL_RANGEFINDER_LIGHTWARE_I2C_BUS 2 +#define HAL_WITH_UAVCAN 1 #elif CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_BH #define HAL_BARO_DEFAULT HAL_BARO_MS5611_I2C #define HAL_BARO_MS5611_I2C_BUS 1