VRBRAIN / AP_HAL: some update for new VR Brain 5.2E (EEPROM version)

This commit is contained in:
LukeMike 2018-02-03 15:19:45 +01:00 committed by Andrew Tridgell
parent ccb316f3f3
commit bfcece7edd
2 changed files with 4 additions and 0 deletions

View File

@ -57,6 +57,7 @@
#define HAL_BOARD_SUBTYPE_VRUBRAIN_V52 4004 #define HAL_BOARD_SUBTYPE_VRUBRAIN_V52 4004
#define HAL_BOARD_SUBTYPE_VRCORE_V10 4005 #define HAL_BOARD_SUBTYPE_VRCORE_V10 4005
#define HAL_BOARD_SUBTYPE_VRBRAIN_V54 4006 #define HAL_BOARD_SUBTYPE_VRBRAIN_V54 4006
#define HAL_BOARD_SUBTYPE_VRBRAIN_V52E 4007
/* HAL CHIBIOS sub-types, starting at 5000 */ /* HAL CHIBIOS sub-types, starting at 5000 */

View File

@ -19,6 +19,9 @@
#elif defined(CONFIG_ARCH_BOARD_VRBRAIN_V52) #elif defined(CONFIG_ARCH_BOARD_VRBRAIN_V52)
#define CONFIG_HAL_BOARD_SUBTYPE HAL_BOARD_SUBTYPE_VRBRAIN_V52 #define CONFIG_HAL_BOARD_SUBTYPE HAL_BOARD_SUBTYPE_VRBRAIN_V52
#define HAL_STORAGE_SIZE 16384 #define HAL_STORAGE_SIZE 16384
#elif defined(CONFIG_ARCH_BOARD_VRBRAIN_V52E)
#define CONFIG_HAL_BOARD_SUBTYPE HAL_BOARD_SUBTYPE_VRBRAIN_V52E
#define HAL_STORAGE_SIZE 8192
#elif defined(CONFIG_ARCH_BOARD_VRUBRAIN_V51) #elif defined(CONFIG_ARCH_BOARD_VRUBRAIN_V51)
#define CONFIG_HAL_BOARD_SUBTYPE HAL_BOARD_SUBTYPE_VRUBRAIN_V51 #define CONFIG_HAL_BOARD_SUBTYPE HAL_BOARD_SUBTYPE_VRUBRAIN_V51
#define HAL_STORAGE_SIZE 8192 #define HAL_STORAGE_SIZE 8192