mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
AP_HAL: support MindPX-v2
This commit is contained in:
parent
36a141f9f1
commit
8699b6233a
@ -63,6 +63,7 @@
|
|||||||
#define HAL_BOARD_SUBTYPE_CHIBIOS_SKYVIPER_F412 5000
|
#define HAL_BOARD_SUBTYPE_CHIBIOS_SKYVIPER_F412 5000
|
||||||
#define HAL_BOARD_SUBTYPE_CHIBIOS_FMUV3 5001
|
#define HAL_BOARD_SUBTYPE_CHIBIOS_FMUV3 5001
|
||||||
#define HAL_BOARD_SUBTYPE_CHIBIOS_FMUV4 5002
|
#define HAL_BOARD_SUBTYPE_CHIBIOS_FMUV4 5002
|
||||||
|
#define HAL_BOARD_SUBTYPE_CHIBIOS_MINDPXV2 5003
|
||||||
|
|
||||||
/* InertialSensor driver types */
|
/* InertialSensor driver types */
|
||||||
#define HAL_INS_MPU60XX_SPI 2
|
#define HAL_INS_MPU60XX_SPI 2
|
||||||
|
@ -87,6 +87,20 @@
|
|||||||
// enable FAT filesystem
|
// enable FAT filesystem
|
||||||
#define HAL_OS_FATFS_IO 1
|
#define HAL_OS_FATFS_IO 1
|
||||||
|
|
||||||
|
#elif CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_CHIBIOS_MINDPXV2
|
||||||
|
#define HAL_CHIBIOS_ARCH_MINDPXV2 1
|
||||||
|
|
||||||
|
#define HAL_BOARD_LOG_DIRECTORY "/APM/LOGS"
|
||||||
|
|
||||||
|
#define STORAGE_FLASH_PAGE 22
|
||||||
|
#define HAL_STORAGE_SIZE 16384
|
||||||
|
|
||||||
|
// enable RAMTROM parameter storage
|
||||||
|
#define HAL_WITH_RAMTRON 1
|
||||||
|
|
||||||
|
// enable FAT filesystem
|
||||||
|
#define HAL_OS_FATFS_IO 1
|
||||||
|
|
||||||
#endif // CONFIG_HAL_BOARD_SUBTYPE
|
#endif // CONFIG_HAL_BOARD_SUBTYPE
|
||||||
|
|
||||||
#define HAL_STORAGE_SIZE_AVAILABLE HAL_STORAGE_SIZE
|
#define HAL_STORAGE_SIZE_AVAILABLE HAL_STORAGE_SIZE
|
||||||
|
Loading…
Reference in New Issue
Block a user