CONFIG_CAN_MAX_FILTER

Maximum number of concurrent active filters

Maximum number of concurrent active RX filters

Maximum number of concurrent active filters

Type: int

Help

Defines the array size of the callback/msgq pointers. Must be at least the size of concurrent reads.

Help

Defines maximum number of concurrent active RX filters

Help

Defines the array size of the filters. Must be at least the size of concurrent reads.

Direct dependencies

(CAN_STM32 && CAN) || (CAN_MCUX_FLEXCAN && CAN) || (CAN_LOOPBACK && CAN)

(Includes any dependencies from ifs and menus.)

Defaults

  • 5

  • 5

  • 16

Kconfig definitions

At <Zephyr>/drivers/can/Kconfig.stm32:15

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:32<Zephyr>/drivers/Kconfig:80<Zephyr>/drivers/can/Kconfig:60

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

config CAN_MAX_FILTER
    int "Maximum number of concurrent active filters"
    range 1 56
    default 5
    depends on CAN_STM32 && CAN
    help
      Defines the array size of the callback/msgq pointers.
      Must be at least the size of concurrent reads.

At <Zephyr>/drivers/can/Kconfig.mcux:12

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:32<Zephyr>/drivers/Kconfig:80<Zephyr>/drivers/can/Kconfig:61

Menu path: (Top) → Device Drivers → CAN Drivers → MCUX FlexCAN driver

config CAN_MAX_FILTER
    int "Maximum number of concurrent active RX filters"
    range 1 15 if SOC_SERIES_KINETIS_KE1XF || SOC_SERIES_KINETIS_K6X
    range 1 64 if SOC_SERIES_IMX_RT
    default 5
    depends on CAN_MCUX_FLEXCAN && CAN
    help
      Defines maximum number of concurrent active RX filters

At <Zephyr>/drivers/can/Kconfig.loopback:19

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:32<Zephyr>/drivers/Kconfig:80<Zephyr>/drivers/can/Kconfig:63

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

config CAN_MAX_FILTER
    int "Maximum number of concurrent active filters"
    range 1 1024
    default 16
    depends on CAN_LOOPBACK && CAN
    help
      Defines the array size of the filters.
      Must be at least the size of concurrent reads.

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