Plane: disable HIL on px4-v2

this saves enough flash for px4-v2 to fit again
This commit is contained in:
Andrew Tridgell 2018-03-03 13:13:40 +11:00
parent 1ace5ac534
commit 27e4953ad8
4 changed files with 7 additions and 4 deletions

View File

@ -31,7 +31,6 @@
#include <AP_HAL/AP_HAL.h>
#include <AP_Common/AP_Common.h>
#include <AP_Menu/AP_Menu.h>
#include <AP_Param/AP_Param.h>
#include <StorageManager/StorageManager.h>
#include <AP_GPS/AP_GPS.h> // ArduPilot GPS library

View File

@ -332,7 +332,13 @@
# define RESET_SWITCH_CHAN_PWM 1750
#endif
#define HIL_SUPPORT ENABLED
#ifndef HIL_SUPPORT
#if HAL_MINIMIZE_FEATURES
# define HIL_SUPPORT DISABLED
#else
# define HIL_SUPPORT ENABLED
#endif
#endif
//////////////////////////////////////////////////////////////////////////////
// Parachute release

View File

@ -1,5 +1,4 @@
LIBRARIES += AP_Common
LIBRARIES += AP_Menu
LIBRARIES += AP_Param
LIBRARIES += StorageManager
LIBRARIES += AP_GPS

View File

@ -14,7 +14,6 @@ def build(bld):
'AP_Arming',
'AP_Camera',
'AP_L1_Control',
'AP_Menu',
'AP_Navigation',
'AP_Parachute',
'AP_RCMapper',