Browse Source

Plane: disable HIL on px4-v2

this saves enough flash for px4-v2 to fit again
mission-4.1.18
Andrew Tridgell 7 years ago
parent
commit
27e4953ad8
  1. 1
      ArduPlane/Plane.h
  2. 8
      ArduPlane/config.h
  3. 1
      ArduPlane/make.inc
  4. 1
      ArduPlane/wscript

1
ArduPlane/Plane.h

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

8
ArduPlane/config.h

@ -332,7 +332,13 @@
# define RESET_SWITCH_CHAN_PWM 1750 # define RESET_SWITCH_CHAN_PWM 1750
#endif #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 // Parachute release

1
ArduPlane/make.inc

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

1
ArduPlane/wscript

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

Loading…
Cancel
Save