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_MCP2515

MCP2515 CAN Driver

Type: bool

Help

Enable MCP2515 CAN Driver

Direct dependencies

(CAN && SHIELD_DFROBOT_CAN_BUS_V2_0) || (CAN && SHIELD_DFROBOT_CAN_BUS_V2_0) || (SPI && CAN)

(Includes any dependencies from ifs and menus.)

Defaults

  • y

  • y

Symbols selected by this symbol

Kconfig definitions

At boards/shields/dfrobot_can_bus_v2_0/Kconfig.defconfig:11

Included via Kconfig:8Kconfig.zephyr:20

Menu path: (Top)

config CAN_MCP2515
    bool
    default y
    depends on CAN && SHIELD_DFROBOT_CAN_BUS_V2_0

At boards/shields/dfrobot_can_bus_v2_0/Kconfig.defconfig:11

Included via Kconfig:8Kconfig.zephyr:22

Menu path: (Top)

config CAN_MCP2515
    bool
    default y
    depends on CAN && SHIELD_DFROBOT_CAN_BUS_V2_0

At drivers/can/Kconfig.mcp2515:6

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

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

config CAN_MCP2515
    bool "MCP2515 CAN Driver"
    select CAN_AUTO_BUS_OFF_RECOVERY
    depends on SPI && CAN
    help
      Enable MCP2515 CAN Driver

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