mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-23 09:08:30 -04:00
AP_HAL: fixed setting of HAL_MINIMIZE_FEATURES for FMUv3
This commit is contained in:
parent
d946d5da6f
commit
6a01494d4a
@ -13,6 +13,13 @@
|
||||
#ifdef CONFIG_ARCH_BOARD_PX4FMU_V1
|
||||
#define CONFIG_HAL_BOARD_SUBTYPE HAL_BOARD_SUBTYPE_PX4_V1
|
||||
#define HAL_STORAGE_SIZE 8192
|
||||
#elif defined(CONFIG_ARCH_BOARD_PX4FMU_V3)
|
||||
// check for V3 before V2 as V3 also defines V2
|
||||
#define CONFIG_HAL_BOARD_SUBTYPE HAL_BOARD_SUBTYPE_PX4_V3
|
||||
#define HAL_STORAGE_SIZE 16384
|
||||
#define HAL_HAVE_IMU_HEATER 1 // for Pixhawk2
|
||||
#define HAL_IMU_TEMP_DEFAULT -1 // disabled
|
||||
#define HAL_WITH_UAVCAN 1
|
||||
#elif defined(CONFIG_ARCH_BOARD_PX4FMU_V2)
|
||||
#define CONFIG_HAL_BOARD_SUBTYPE HAL_BOARD_SUBTYPE_PX4_V2
|
||||
#define HAL_STORAGE_SIZE 16384
|
||||
@ -20,12 +27,6 @@
|
||||
#define HAL_IMU_TEMP_DEFAULT -1 // disabled
|
||||
#define HAL_WITH_UAVCAN 1
|
||||
#define HAL_MINIMIZE_FEATURES 1
|
||||
#elif defined(CONFIG_ARCH_BOARD_PX4FMU_V3)
|
||||
#define CONFIG_HAL_BOARD_SUBTYPE HAL_BOARD_SUBTYPE_PX4_V3
|
||||
#define HAL_STORAGE_SIZE 16384
|
||||
#define HAL_HAVE_IMU_HEATER 1 // for Pixhawk2
|
||||
#define HAL_IMU_TEMP_DEFAULT -1 // disabled
|
||||
#define HAL_WITH_UAVCAN 1
|
||||
#elif defined(CONFIG_ARCH_BOARD_PX4FMU_V4)
|
||||
#define CONFIG_HAL_BOARD_SUBTYPE HAL_BOARD_SUBTYPE_PX4_V4
|
||||
#define HAL_STORAGE_SIZE 16384
|
||||
|
Loading…
Reference in New Issue
Block a user