mirror of https://github.com/ArduPilot/ardupilot
Tools: waf: build rally and fencepoint protocols in on SITL
so we continue to autotest them
This commit is contained in:
parent
355c499a24
commit
7ee9a337e1
|
@ -696,6 +696,12 @@ class sitl(Board):
|
|||
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:
|
||||
|
|
Loading…
Reference in New Issue