Skip to content

Commit

Permalink
Tools: waf: build rally and fencepoint protocols in on SITL
Browse files Browse the repository at this point in the history
so we continue to autotest them
  • Loading branch information
peterbarker committed Nov 17, 2024
1 parent 355c499 commit 7ee9a33
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Tools/ardupilotwaf/boards.py
Original file line number Diff line number Diff line change
Expand Up @@ -696,6 +696,12 @@ def configure_env(self, cfg, env):
cfg.define('AP_NOTIFY_LP5562_BUS', 2)
cfg.define('AP_NOTIFY_LP5562_ADDR', 0x30)

# turn on fencepoint and rallypoint protocols so they're still tested:
env.CXXFLAGS.extend([
'-DAP_MAVLINK_RALLY_POINT_PROTOCOL_ENABLED=HAL_GCS_ENABLED&&HAL_RALLY_ENABLED',
'-DAC_POLYFENCE_FENCE_POINT_PROTOCOL_SUPPORT=HAL_GCS_ENABLED&&AP_FENCE_ENABLED'
])

try:
env.CXXFLAGS.remove('-DHAL_NAVEKF2_AVAILABLE=0')
except ValueError:
Expand Down

0 comments on commit 7ee9a33

Please sign in to comment.