mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
Plane: disable HIL on px4-v2
this saves enough flash for px4-v2 to fit again
This commit is contained in:
parent
1ace5ac534
commit
27e4953ad8
@ -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
|
||||||
|
@ -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,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
|
||||||
|
@ -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…
Reference in New Issue
Block a user