blob: f97671bf613d508d92b8c3c4a2cb87dd22f9e792 [file] [log] [blame]
# MCUX CAN configuration options
# Copyright (c) 2019 Vestas Wind Systems A/S
# SPDX-License-Identifier: Apache-2.0
config CAN_MCUX_FLEXCAN
bool "NXP FlexCAN driver"
default y
depends on DT_HAS_NXP_FLEXCAN_ENABLED
depends on CLOCK_CONTROL
select PINCTRL
help
Enable support for the NXP FlexCAN driver.
if CAN_MCUX_FLEXCAN
config CAN_MCUX_FLEXCAN_FD
bool # hidden
default y
depends on DT_HAS_NXP_FLEXCAN_FD_ENABLED && CAN_FD_MODE
help
Enable support for CAN-FD capable NXP FlexCAN devices.
config CAN_MAX_FILTER
int "Maximum number of concurrent active RX filters"
default 5
range 1 15 if SOC_SERIES_KINETIS_KE1XF || SOC_SERIES_KINETIS_K6X
range 1 13 if SOC_SERIES_IMX_RT && CAN_MCUX_FLEXCAN_FD
range 1 63 if SOC_SERIES_IMX_RT
help
Defines maximum number of concurrent active RX filters
endif # CAN_MCUX_FLEXCAN
config CAN_MCUX_MCAN
bool "MCUX MCAN driver"
default y
depends on DT_HAS_NXP_LPC_MCAN_ENABLED
depends on CLOCK_CONTROL
select CAN_MCAN
select PINCTRL
help
Enable support for mcux mcan driver.