waf: enable CANARD asserts in SITL

This commit is contained in:
Andrew Tridgell 2023-07-19 18:51:27 +10:00
parent 3629037177
commit 029070cb23

View File

@ -649,7 +649,8 @@ class sitl(Board):
cfg.define('HAL_NUM_CAN_IFACES', 2) cfg.define('HAL_NUM_CAN_IFACES', 2)
env.DEFINES.update(CANARD_MULTI_IFACE=1, env.DEFINES.update(CANARD_MULTI_IFACE=1,
CANARD_IFACE_ALL = 0x3, CANARD_IFACE_ALL = 0x3,
CANARD_ENABLE_CANFD = 1) CANARD_ENABLE_CANFD = 1,
CANARD_ENABLE_ASSERTS = 1)
env.CXXFLAGS += [ env.CXXFLAGS += [
'-Werror=float-equal', '-Werror=float-equal',