This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

CONFIG_CAN_MCAN

(No prompt – not directly user assignable.)

Type: bool

Help

Enable Bosch m_can driver.
This driver supports the Bosch m_can IP. This IP is built into the
STM32G4, STM32G0 and the Microchip SAM controllers with CAN-FD.

Direct dependencies

CAN

(Includes any dependencies from ifs and menus.)

Defaults

No defaults. Implicitly defaults to n.

Symbols selected by this symbol

Symbols that select this symbol

Kconfig definition

At drivers/can/Kconfig.mcan:6

Included via Kconfig:8Kconfig.zephyr:40drivers/Kconfig:80drivers/can/Kconfig:93

Menu path: (Top) → Device Drivers → CAN Drivers

config CAN_MCAN
    bool
    select CAN_HAS_CANFD
    select CAN_HAS_RX_TIMESTAMP
    depends on CAN
    help
      Enable Bosch m_can driver.
      This driver supports the Bosch m_can IP. This IP is built into the
      STM32G4, STM32G0 and the Microchip SAM controllers with CAN-FD.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)