diff --git a/libraries/AP_HAL/AP_HAL_Boards.h b/libraries/AP_HAL/AP_HAL_Boards.h index 7cf9ac8385..38be957835 100644 --- a/libraries/AP_HAL/AP_HAL_Boards.h +++ b/libraries/AP_HAL/AP_HAL_Boards.h @@ -30,6 +30,7 @@ #define HAL_BOARD_SUBTYPE_LINUX_ERLE 1001 #define HAL_BOARD_SUBTYPE_LINUX_PXF 1002 #define HAL_BOARD_SUBTYPE_LINUX_NAVIO 1003 +#define HAL_BOARD_SUBTYPE_LINUX_ZYNQ 1004 /** HAL PX4 sub-types, starting at 2000 @@ -195,6 +196,13 @@ #define HAL_INS_DEFAULT HAL_INS_MPU9250 #define HAL_BARO_DEFAULT HAL_BARO_MS5611 #define HAL_COMPASS_DEFAULT HAL_COMPASS_HIL +#elif CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_ZYNQ +#define HAL_BOARD_LOG_DIRECTORY "/var/APM/logs" +#define HAL_BOARD_TERRAIN_DIRECTORY "/var/APM/terrain" +// Stub the sensors out for now, at least we can build and run +#define HAL_INS_DEFAULT HAL_INS_HIL +#define HAL_BARO_DEFAULT HAL_BARO_HIL +#define HAL_COMPASS_DEFAULT HAL_COMPASS_HIL #else #error "no Linux board subtype set" #endif