AP_HAL: added AP_HAL_LINUX define

This commit is contained in:
Andrew Tridgell 2013-09-22 16:03:28 +10:00
parent 4ba044c441
commit 296417a228
1 changed files with 4 additions and 0 deletions

View File

@ -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"