Tools: waf: build rally and fencepoint protocols in on SITL

so we continue to autotest them
This commit is contained in:
Peter Barker 2024-11-15 11:58:21 +11:00 committed by Peter Barker
parent 355c499a24
commit 7ee9a337e1
1 changed files with 6 additions and 0 deletions

View File

@ -696,6 +696,12 @@ class sitl(Board):
cfg.define('AP_NOTIFY_LP5562_BUS', 2) cfg.define('AP_NOTIFY_LP5562_BUS', 2)
cfg.define('AP_NOTIFY_LP5562_ADDR', 0x30) 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: try:
env.CXXFLAGS.remove('-DHAL_NAVEKF2_AVAILABLE=0') env.CXXFLAGS.remove('-DHAL_NAVEKF2_AVAILABLE=0')
except ValueError: except ValueError: