mirror of https://github.com/ArduPilot/ardupilot
AP_HAL: ERLEBOARD legacy support
This config referred to the legacy Erle-Board https://erlerobotics.com/blog/product/erle-board/ The configuration is preserved to support the existing boards.
This commit is contained in:
parent
c5c74eebfc
commit
b87fd58214
|
@ -27,7 +27,7 @@
|
||||||
HAL Linux sub-types, starting at 1000
|
HAL Linux sub-types, starting at 1000
|
||||||
*/
|
*/
|
||||||
#define HAL_BOARD_SUBTYPE_LINUX_NONE 1000
|
#define HAL_BOARD_SUBTYPE_LINUX_NONE 1000
|
||||||
#define HAL_BOARD_SUBTYPE_LINUX_ERLE 1001
|
#define HAL_BOARD_SUBTYPE_LINUX_ERLEBOARD 1001
|
||||||
#define HAL_BOARD_SUBTYPE_LINUX_PXF 1002
|
#define HAL_BOARD_SUBTYPE_LINUX_PXF 1002
|
||||||
#define HAL_BOARD_SUBTYPE_LINUX_NAVIO 1003
|
#define HAL_BOARD_SUBTYPE_LINUX_NAVIO 1003
|
||||||
#define HAL_BOARD_SUBTYPE_LINUX_ZYNQ 1004
|
#define HAL_BOARD_SUBTYPE_LINUX_ZYNQ 1004
|
||||||
|
@ -207,7 +207,7 @@
|
||||||
#define HAL_INS_DEFAULT HAL_INS_HIL
|
#define HAL_INS_DEFAULT HAL_INS_HIL
|
||||||
#define HAL_BARO_DEFAULT HAL_BARO_HIL
|
#define HAL_BARO_DEFAULT HAL_BARO_HIL
|
||||||
#define HAL_COMPASS_DEFAULT HAL_COMPASS_HIL
|
#define HAL_COMPASS_DEFAULT HAL_COMPASS_HIL
|
||||||
#elif CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_PXF || CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_ERLE
|
#elif CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_PXF || CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_ERLEBOARD
|
||||||
#define HAL_BOARD_LOG_DIRECTORY "/var/APM/logs"
|
#define HAL_BOARD_LOG_DIRECTORY "/var/APM/logs"
|
||||||
#define HAL_BOARD_TERRAIN_DIRECTORY "/var/APM/terrain"
|
#define HAL_BOARD_TERRAIN_DIRECTORY "/var/APM/terrain"
|
||||||
#define HAL_INS_DEFAULT HAL_INS_MPU9250
|
#define HAL_INS_DEFAULT HAL_INS_MPU9250
|
||||||
|
|
Loading…
Reference in New Issue