mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-05 07:28:29 -04:00
AP_HAL: initial FMUv4pro support
This commit is contained in:
parent
5dcb9544ae
commit
905b34f84b
@ -44,6 +44,7 @@
|
||||
#define HAL_BOARD_SUBTYPE_PX4_V4 2002
|
||||
#define HAL_BOARD_SUBTYPE_PX4_V3 2003
|
||||
#define HAL_BOARD_SUBTYPE_PX4_AEROFC_V1 2004
|
||||
#define HAL_BOARD_SUBTYPE_PX4_V4PRO 2005
|
||||
|
||||
/* HAL VRBRAIN sub-types, starting at 4000 */
|
||||
#define HAL_BOARD_SUBTYPE_VRBRAIN_V45 4000
|
||||
|
@ -30,7 +30,11 @@
|
||||
#elif defined(CONFIG_ARCH_BOARD_PX4FMU_V4)
|
||||
#define CONFIG_HAL_BOARD_SUBTYPE HAL_BOARD_SUBTYPE_PX4_V4
|
||||
#define HAL_STORAGE_SIZE 16384
|
||||
#define HAL_WITH_UAVCAN 1
|
||||
#define HAL_WITH_UAVCAN 1
|
||||
#elif defined(CONFIG_ARCH_BOARD_PX4FMU_V4PRO)
|
||||
#define CONFIG_HAL_BOARD_SUBTYPE HAL_BOARD_SUBTYPE_PX4_V4PRO
|
||||
#define HAL_STORAGE_SIZE 16384
|
||||
#define HAL_WITH_UAVCAN 1
|
||||
#elif defined(CONFIG_ARCH_BOARD_AEROFC_V1)
|
||||
#define CONFIG_HAL_BOARD_SUBTYPE HAL_BOARD_SUBTYPE_PX4_AEROFC_V1
|
||||
#define HAL_STORAGE_SIZE 16384
|
||||
@ -71,6 +75,7 @@
|
||||
#define HAL_INS_ICM20608_EXT_NAME "icm20608_ext"
|
||||
|
||||
#define HAL_COMPASS_HMC5843_NAME "hmc5843"
|
||||
#define HAL_COMPASS_LIS3MDL_NAME "lis3mdl"
|
||||
|
||||
/* px4fmu-v1 */
|
||||
#ifdef CONFIG_ARCH_BOARD_PX4FMU_V1
|
||||
|
Loading…
Reference in New Issue
Block a user