mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-08 17:08:28 -04:00
AP_HAL: enable UAVCAN for bbbmini, blue and pocket
This commit is contained in:
parent
f9d49913d9
commit
506da9ac42
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user