Skip to content

Commit cf7b01d

Browse files
committed
Tools: add AP_SCRIPTING_ENABLED to custom build server
1 parent d806dd8 commit cf7b01d

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

Tools/scripts/build_options.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,7 @@ def __init__(self,
279279
Feature('Other', 'ADVANCED_FAILSAFE', 'AP_ADVANCEDFAILSAFE_ENABLED', 'Enable Advanced Failsafe features', 0, None),
280280
Feature('Other', 'SDCARD_FORMATTING', 'AP_FILESYSTEM_FORMAT_ENABLED', 'Enable formatting of microSD cards', 0, None),
281281
Feature('Other', 'BOOTLOADER_FLASHING', 'AP_BOOTLOADER_FLASHING_ENABLED', 'Enable Bootloader flashing', 0, None),
282+
Feature('Other', 'SCRIPTING', 'AP_SCRIPTING_ENABLED', 'Enable LUA Scripting', 0, None),
282283

283284
Feature('Developer', 'KILL_IMU', 'AP_INERTIALSENSOR_KILL_IMU_ENABLED', 'Allow IMUs to be disabled at runtime', 0, None),
284285

Tools/scripts/extract_features.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,7 @@ def __init__(self, filename, nm="arm-none-eabi-nm"):
181181
('EK3_FEATURE_DRAG_FUSION', r'NavEKF3_core::FuseDragForces'),
182182

183183
('AP_RC_CHANNEL_AUX_FUNCTION_STRINGS_ENABLED', r'RC_Channel::lookuptable',),
184+
('AP_SCRIPTING_ENABLED', r'AP_Scripting::init',),
184185

185186
('AP_NOTIFY_TONEALARM_ENABLED', r'AP_ToneAlarm::init'),
186187
('AP_NOTIFY_MAVLINK_PLAY_TUNE_SUPPORT_ENABLED', r'AP_Notify::handle_play_tune'),

0 commit comments

Comments
 (0)