Skip to content

Commit

Permalink
Tools: Add AP_MOUNT_AUTO_RETRACT_ENABLED to build_options.py
Browse files Browse the repository at this point in the history
And extract_features.py
  • Loading branch information
j-laidlaw authored and nexton-winjeel committed Jan 31, 2025
1 parent c9128b2 commit 69627f9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Tools/scripts/build_options.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@ def config_option(self):
Feature('Gimbal', 'TOPOTEK', 'HAL_MOUNT_TOPOTEK_ENABLED', 'Enable Topotek gimbal', 0, "MOUNT"),
Feature('Gimbal', 'XACTI', 'HAL_MOUNT_XACTI_ENABLED', 'Enable Xacti gimbal', 0, "MOUNT,DroneCAN"),
Feature('Gimbal', 'VIEWPRO', 'HAL_MOUNT_VIEWPRO_ENABLED', 'Enable Viewpro gimbal', 0, "MOUNT"),
Feature('Gimbal', 'AutoRetract', 'AP_MOUNT_AUTO_RETRACT_ENABLED', 'Enable auto deploy/retract', 0, "MOUNT"),

Feature('VTOL Frame', 'QUAD', 'AP_MOTORS_FRAME_QUAD_ENABLED', 'QUADS(BI,TRI also)', 1, None),
Feature('VTOL Frame', 'HEXA', 'AP_MOTORS_FRAME_HEXA_ENABLED', 'HEXA', 0, None),
Expand Down
1 change: 1 addition & 0 deletions Tools/scripts/extract_features.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ def __init__(self, filename, nm="arm-none-eabi-nm", strings="strings"):
('HAL_SOLO_GIMBAL_ENABLED', 'AP_Mount_SoloGimbal::init',),
('HAL_MOUNT_STORM32SERIAL_ENABLED', 'AP_Mount_SToRM32_serial::update',),
('HAL_MOUNT_STORM32MAVLINK_ENABLED', 'AP_Mount_SToRM32::update',),
('AP_MOUNT_AUTO_RETRACT_ENABLED', 'AP_Mount_Backend::do_auto_deploy_retract',),

('HAL_SPEKTRUM_TELEM_ENABLED', r'AP::spektrum_telem',),
('HAL_{type}_TELEM_ENABLED', r'AP_(?P<type>.*)_Telem::init',),
Expand Down

0 comments on commit 69627f9

Please sign in to comment.