mirror of https://github.com/ArduPilot/ardupilot
AP_HAL: added generic ChibiOS board type
This commit is contained in:
parent
455c0e25e1
commit
64bda71da5
|
@ -71,6 +71,7 @@
|
|||
#define HAL_BOARD_SUBTYPE_CHIBIOS_MINIPIX 5006
|
||||
#define HAL_BOARD_SUBTYPE_CHIBIOS_CRAZYFLIE2 5007
|
||||
#define HAL_BOARD_SUBTYPE_CHIBIOS_OMNIBUSF7V2 5008
|
||||
#define HAL_BOARD_SUBTYPE_CHIBIOS_GENERIC 5009
|
||||
|
||||
/* InertialSensor driver types */
|
||||
#define HAL_INS_NONE 0
|
||||
|
|
|
@ -71,3 +71,7 @@
|
|||
#define HAL_COMPASS_LIS3MDL_NAME "lis3mdl"
|
||||
|
||||
|
||||
#ifndef CONFIG_HAL_BOARD_SUBTYPE
|
||||
// allow for generic boards
|
||||
#define CONFIG_HAL_BOARD_SUBTYPE HAL_BOARD_SUBTYPE_CHIBIOS_GENERIC
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue