From 743b1262a0a6cb536f4011e5b066aa077c43c343 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 24 Jan 2024 11:05:24 +1100 Subject: [PATCH] waf: removed old UAVCAN defines --- Tools/ardupilotwaf/chibios.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/Tools/ardupilotwaf/chibios.py b/Tools/ardupilotwaf/chibios.py index 4d33d62c2a..a14e3f9b8e 100644 --- a/Tools/ardupilotwaf/chibios.py +++ b/Tools/ardupilotwaf/chibios.py @@ -461,11 +461,6 @@ def setup_canmgr_build(cfg): 'CANARD_ALLOCATE_SEM=1' ] - if cfg.env.HAL_CANFD_SUPPORTED: - env.DEFINES += ['UAVCAN_SUPPORT_CANFD=1'] - else: - env.DEFINES += ['UAVCAN_SUPPORT_CANFD=0'] - cfg.get_board().with_can = True def setup_canperiph_build(cfg): @@ -475,11 +470,6 @@ def setup_canperiph_build(cfg): 'CANARD_ENABLE_DEADLINE=1', ] - if cfg.env.HAL_CANFD_SUPPORTED: - env.DEFINES += ['UAVCAN_SUPPORT_CANFD=1'] - else: - env.DEFINES += ['UAVCAN_SUPPORT_CANFD=0'] - cfg.get_board().with_can = True def load_env_vars(env):