diff --git a/libraries/AP_HAL_ChibiOS/hwdef/scripts/chibios_hwdef.py b/libraries/AP_HAL_ChibiOS/hwdef/scripts/chibios_hwdef.py index bba02f8315..8d6ec23f37 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/scripts/chibios_hwdef.py +++ b/libraries/AP_HAL_ChibiOS/hwdef/scripts/chibios_hwdef.py @@ -2916,6 +2916,8 @@ def add_apperiph_defaults(f): #define AP_RANGEFINDER_HC_SR04_ENABLED 0 #define AP_RANGEFINDER_PWM_ENABLED 0 +// no CAN manager in AP_Periph: +#define HAL_CANMANAGER_ENABLED 0 ''') def add_bootloader_defaults(f):