Skip to content

Commit 6104345

Browse files
shiv-tyagipeterbarker
authored andcommitted
Tools: add AP_PERIPH_IMU_ENABLED as a build option
1 parent c9734f1 commit 6104345

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
@@ -151,6 +151,7 @@ def config_option(self):
151151
Feature('AP_Periph', 'PERIPH_MAG', 'AP_PERIPH_MAG_ENABLED', 'Emit DroneCAN MagneticFieldStrength Messages ', 0, None), # noqa
152152
Feature('AP_Periph', 'PERIPH_BARO', 'AP_PERIPH_BARO_ENABLED', 'Emit DroneCAN StaticTemperature and StaticPressure Messages for AP_Baro Sensors', 0, None), # noqa
153153
Feature('AP_Periph', 'PERIPH_RANGEFINDER', 'AP_PERIPH_RANGEFINDER_ENABLED', 'Emit DroneCAN range_sensor_Measurement Messages ', 0, 'RANGEFINDER'), # noqa
154+
Feature('AP_Periph', 'PERIPH_IMU', 'AP_PERIPH_IMU_ENABLED', 'Emit DroneCAN ahrs_RawIMU Messages ', 0, None),
154155

155156
Feature('Camera', 'Camera', 'AP_CAMERA_ENABLED', 'Enable Camera trigger', 0, None),
156157
Feature('Camera', 'Camera_MAVLink', 'AP_CAMERA_MAVLINK_ENABLED', 'Enable MAVLink camera ', 0, 'Camera'),

Tools/scripts/extract_features.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,7 @@ def __init__(self, filename, nm="arm-none-eabi-nm", strings="strings"):
316316
('AP_PERIPH_MAG_ENABLED', r'AP_Periph_FW::can_mag_update'),
317317
('AP_PERIPH_BARO_ENABLED', r'AP_Periph_FW::can_baro_update'),
318318
('AP_PERIPH_RANGEFINDER_ENABLED', r'AP_Periph_FW::can_rangefinder_update'),
319+
('AP_PERIPH_IMU_ENABLED', r'AP_Periph_FW::can_imu_update'),
319320
]
320321

321322
def progress(self, msg):

0 commit comments

Comments
 (0)