mirror of https://github.com/ArduPilot/ardupilot
AP_InertialSensor: 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
728921f7c5
commit
6d762f62b3
|
@ -13,7 +13,7 @@ extern const AP_HAL::HAL& hal;
|
||||||
#if CONFIG_HAL_BOARD == HAL_BOARD_APM2
|
#if CONFIG_HAL_BOARD == HAL_BOARD_APM2
|
||||||
#define MPU6000_DRDY_PIN 70
|
#define MPU6000_DRDY_PIN 70
|
||||||
#elif CONFIG_HAL_BOARD == HAL_BOARD_LINUX
|
#elif CONFIG_HAL_BOARD == HAL_BOARD_LINUX
|
||||||
#if CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_ERLE || CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_PXF
|
#if CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_ERLEBOARD || CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_PXF
|
||||||
#include <AP_HAL_Linux/GPIO.h>
|
#include <AP_HAL_Linux/GPIO.h>
|
||||||
#define MPU6000_DRDY_PIN BBB_P8_14
|
#define MPU6000_DRDY_PIN BBB_P8_14
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue