Rover: ported to Linux

This commit is contained in:
Andrew Tridgell 2013-09-28 21:48:00 +10:00
parent 3665bec26d
commit 9679faae3b
2 changed files with 6 additions and 0 deletions

View File

@ -98,6 +98,7 @@
#include <AP_HAL_AVR_SITL.h>
#include <AP_HAL_PX4.h>
#include <AP_HAL_FLYMAPLE.h>
#include <AP_HAL_Linux.h>
#include <AP_HAL_Empty.h>
#include "compat.h"

View File

@ -82,6 +82,11 @@
# define CONFIG_COMPASS AP_COMPASS_HMC5843
# define BATTERY_PIN_1 20
# define CURRENT_PIN_1 19
#elif CONFIG_HAL_BOARD == HAL_BOARD_LINUX
# define CONFIG_INS_TYPE CONFIG_INS_HIL
# define CONFIG_COMPASS AP_COMPASS_HMC5843
# define BATTERY_PIN_1 -1
# define CURRENT_PIN_1 -1
#endif
//////////////////////////////////////////////////////////////////////////////