mirror of https://github.com/ArduPilot/ardupilot
AP_HAL: added AP_HAL_LINUX define
This commit is contained in:
parent
4ba044c441
commit
296417a228
|
@ -16,6 +16,7 @@
|
|||
#define HAL_BOARD_SMACCM 4 // unused
|
||||
#define HAL_BOARD_PX4 5
|
||||
#define HAL_BOARD_FLYMAPLE 6
|
||||
#define HAL_BOARD_LINUX 7
|
||||
#define HAL_BOARD_EMPTY 99
|
||||
|
||||
/*
|
||||
|
@ -39,6 +40,9 @@
|
|||
#elif CONFIG_HAL_BOARD == HAL_BOARD_PX4
|
||||
#define AP_HAL_BOARD_DRIVER AP_HAL_PX4
|
||||
#define HAL_BOARD_NAME "PX4"
|
||||
#elif CONFIG_HAL_BOARD == HAL_BOARD_LINUX
|
||||
#define AP_HAL_BOARD_DRIVER AP_HAL_Linux
|
||||
#define HAL_BOARD_NAME "Linux"
|
||||
#elif CONFIG_HAL_BOARD == HAL_BOARD_EMPTY
|
||||
#define AP_HAL_BOARD_DRIVER AP_HAL_Empty
|
||||
#define HAL_BOARD_NAME "EMPTY"
|
||||
|
|
Loading…
Reference in New Issue