mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-22 07:44:03 -04:00
Tools: allow CrashCatcher to be disabled via hwdef
This commit is contained in:
parent
9a24a3f61d
commit
a1726f9b92
@ -282,6 +282,7 @@ BUILD_OPTIONS = [
|
||||
Feature('Other', 'SCRIPTING', 'AP_SCRIPTING_ENABLED', 'Enable LUA Scripting', 0, None),
|
||||
|
||||
Feature('Developer', 'KILL_IMU', 'AP_INERTIALSENSOR_KILL_IMU_ENABLED', 'Allow IMUs to be disabled at runtime', 0, None),
|
||||
Feature('Developer', 'CRASHCATCHER', 'AP_CRASHDUMP_ENABLED', 'Enable CrashCatcher', 0, None),
|
||||
|
||||
Feature('GPS Drivers', 'UBLOX', 'AP_GPS_UBLOX_ENABLED', 'Enable u-blox GPS', 1, None),
|
||||
Feature('GPS Drivers', 'SBP2', 'AP_GPS_SBP2_ENABLED', 'Enable SBP2 GPS', 0, 'SBP'),
|
||||
|
@ -193,6 +193,7 @@ class ExtractFeatures(object):
|
||||
('AP_FILESYSTEM_FORMAT_ENABLED', r'AP_Filesystem::format'),
|
||||
|
||||
('AP_INERTIALSENSOR_KILL_IMU_ENABLED', r'AP_InertialSensor::kill_imu'),
|
||||
('AP_CRASHDUMP_ENABLED', 'CrashCatcher_DumpMemory'),
|
||||
]
|
||||
|
||||
def progress(self, msg):
|
||||
|
Loading…
Reference in New Issue
Block a user