diff --git a/Tools/ardupilotwaf/boards.py b/Tools/ardupilotwaf/boards.py index 98005453a6..3491fb7920 100644 --- a/Tools/ardupilotwaf/boards.py +++ b/Tools/ardupilotwaf/boards.py @@ -649,7 +649,8 @@ class sitl(Board): cfg.define('HAL_NUM_CAN_IFACES', 2) env.DEFINES.update(CANARD_MULTI_IFACE=1, CANARD_IFACE_ALL = 0x3, - CANARD_ENABLE_CANFD = 1) + CANARD_ENABLE_CANFD = 1, + CANARD_ENABLE_ASSERTS = 1) env.CXXFLAGS += [ '-Werror=float-equal',