mirror of https://github.com/ArduPilot/ardupilot
AP_HAL: added bebop Linux board type
This commit is contained in:
parent
b32259307d
commit
a6f62c208e
|
@ -32,6 +32,7 @@
|
|||
#define HAL_BOARD_SUBTYPE_LINUX_NAVIO 1003
|
||||
#define HAL_BOARD_SUBTYPE_LINUX_ZYNQ 1004
|
||||
#define HAL_BOARD_SUBTYPE_LINUX_BBBMINI 1005
|
||||
#define HAL_BOARD_SUBTYPE_LINUX_BEBOP 1006
|
||||
|
||||
/**
|
||||
HAL PX4 sub-types, starting at 2000
|
||||
|
@ -207,7 +208,13 @@
|
|||
#define HAL_BOARD_TERRAIN_DIRECTORY "/var/APM/terrain"
|
||||
#define HAL_INS_DEFAULT HAL_INS_MPU9250
|
||||
#define HAL_BARO_DEFAULT HAL_BARO_MS5611_SPI
|
||||
#define HAL_COMPASS_DEFAULT HAL_COMPASS_AK8963_MPU9250
|
||||
#define HAL_COMPASS_DEFAULT HAL_COMPASS_AK8963_MPU9250
|
||||
#elif CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_BEBOP
|
||||
#define HAL_BOARD_LOG_DIRECTORY "/var/APM/logs"
|
||||
#define HAL_BOARD_TERRAIN_DIRECTORY "/var/APM/terrain"
|
||||
#define HAL_INS_DEFAULT HAL_INS_MPU9250
|
||||
#define HAL_BARO_DEFAULT HAL_BARO_MS5611_SPI
|
||||
#define HAL_COMPASS_DEFAULT HAL_COMPASS_AK8963_MPU9250
|
||||
#elif CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_NAVIO
|
||||
#define HAL_BOARD_LOG_DIRECTORY "/var/APM/logs"
|
||||
#define HAL_BOARD_TERRAIN_DIRECTORY "/var/APM/terrain"
|
||||
|
|
Loading…
Reference in New Issue