mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-23 09:08:30 -04:00
AP_HAL: added new VRBRAIN boards and new subtypes
This commit is contained in:
parent
de8a0ebc08
commit
a0673b56f9
@ -45,6 +45,15 @@
|
||||
#define HAL_BOARD_SUBTYPE_AVR_APM1 3000
|
||||
#define HAL_BOARD_SUBTYPE_AVR_APM2 3001
|
||||
|
||||
/**
|
||||
HAL VRBRAIN sub-types, starting at 4000
|
||||
*/
|
||||
#define HAL_BOARD_SUBTYPE_VRBRAIN_V45 4000
|
||||
#define HAL_BOARD_SUBTYPE_VRBRAIN_V51 4001
|
||||
#define HAL_BOARD_SUBTYPE_VRBRAIN_V52 4002
|
||||
#define HAL_BOARD_SUBTYPE_VRUBRAIN_V51 4003
|
||||
#define HAL_BOARD_SUBTYPE_VRUBRAIN_V52 4004
|
||||
|
||||
// InertialSensor driver types
|
||||
#define HAL_INS_OILPAN 1
|
||||
#define HAL_INS_MPU6000 2
|
||||
@ -243,9 +252,15 @@
|
||||
#elif defined(CONFIG_ARCH_BOARD_VRBRAIN_V51)
|
||||
#define CONFIG_HAL_BOARD_SUBTYPE HAL_BOARD_SUBTYPE_VRBRAIN_V51
|
||||
#define HAL_STORAGE_SIZE 16384
|
||||
#elif defined(CONFIG_ARCH_BOARD_VRBRAIN_V52)
|
||||
#define CONFIG_HAL_BOARD_SUBTYPE HAL_BOARD_SUBTYPE_VRBRAIN_V52
|
||||
#define HAL_STORAGE_SIZE 16384
|
||||
#elif defined(CONFIG_ARCH_BOARD_VRUBRAIN_V51)
|
||||
#define CONFIG_HAL_BOARD_SUBTYPE HAL_BOARD_SUBTYPE_VRUBRAIN_V51
|
||||
#define HAL_STORAGE_SIZE 8192
|
||||
#elif defined(CONFIG_ARCH_BOARD_VRUBRAIN_V52)
|
||||
#define CONFIG_HAL_BOARD_SUBTYPE HAL_BOARD_SUBTYPE_VRUBRAIN_V52
|
||||
#define HAL_STORAGE_SIZE 8192
|
||||
#else
|
||||
#define CONFIG_HAL_BOARD_SUBTYPE HAL_BOARD_SUBTYPE_NONE
|
||||
#define HAL_STORAGE_SIZE 8192
|
||||
|
Loading…
Reference in New Issue
Block a user