mirror of https://github.com/ArduPilot/ardupilot
AP_HAL: remove raspilot
This commit is contained in:
parent
15bfa940a7
commit
13f4ba7392
|
@ -25,7 +25,6 @@
|
|||
#define HAL_BOARD_SUBTYPE_LINUX_ZYNQ 1004
|
||||
#define HAL_BOARD_SUBTYPE_LINUX_BBBMINI 1005
|
||||
#define HAL_BOARD_SUBTYPE_LINUX_BEBOP 1006
|
||||
#define HAL_BOARD_SUBTYPE_LINUX_RASPILOT 1007
|
||||
#define HAL_BOARD_SUBTYPE_LINUX_MINLURE 1008
|
||||
#define HAL_BOARD_SUBTYPE_LINUX_ERLEBRAIN2 1009
|
||||
#define HAL_BOARD_SUBTYPE_LINUX_BH 1010
|
||||
|
@ -65,7 +64,6 @@
|
|||
#define HAL_INS_MPU9250_SPI 9
|
||||
#define HAL_INS_L3GD20 10
|
||||
#define HAL_INS_LSM9DS0 11
|
||||
#define HAL_INS_RASPILOT 12
|
||||
#define HAL_INS_MPU9250_I2C 13
|
||||
#define HAL_INS_BH 14
|
||||
#define HAL_INS_QFLIGHT 15
|
||||
|
@ -96,7 +94,6 @@
|
|||
#define HAL_COMPASS_AK8963_MPU9250 5
|
||||
#define HAL_COMPASS_AK8963_I2C 6
|
||||
#define HAL_COMPASS_HMC5843_MPU6000 7
|
||||
#define HAL_COMPASS_RASPILOT 8
|
||||
#define HAL_COMPASS_AK8963_MPU9250_I2C 9
|
||||
#define HAL_COMPASS_BH 10
|
||||
#define HAL_COMPASS_QFLIGHT 11
|
||||
|
|
|
@ -174,19 +174,6 @@
|
|||
#define HAL_GPIO_C_LED_PIN 16
|
||||
#define HAL_GPIO_LED_ON LOW
|
||||
#define HAL_GPIO_LED_OFF HIGH
|
||||
#elif CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_RASPILOT
|
||||
#define HAL_BOARD_LOG_DIRECTORY "/var/APM/logs"
|
||||
#define HAL_BOARD_TERRAIN_DIRECTORY "/var/APM/terrain"
|
||||
#define HAL_INS_DEFAULT HAL_INS_RASPILOT
|
||||
#define HAL_INS_MPU60x0_NAME "mpu6000"
|
||||
#define HAL_INS_LSM9DS0_G_NAME "lsm9ds0_g"
|
||||
#define HAL_INS_LSM9DS0_A_NAME "lsm9ds0_am"
|
||||
#define HAL_BARO_DEFAULT HAL_BARO_MS5611_SPI
|
||||
#define HAL_BARO_MS5611_NAME "ms5611"
|
||||
#define HAL_COMPASS_DEFAULT HAL_COMPASS_RASPILOT
|
||||
/* HMC5843 can be an external compass */
|
||||
#define HAL_COMPASS_HMC5843_I2C_BUS 1
|
||||
#define HAL_COMPASS_HMC5843_I2C_ADDR 0x1E
|
||||
#elif CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_ERLEBRAIN2
|
||||
#define HAL_BOARD_LOG_DIRECTORY "/var/APM/logs"
|
||||
#define HAL_BOARD_TERRAIN_DIRECTORY "/var/APM/terrain"
|
||||
|
|
Loading…
Reference in New Issue