blob: beb3b1d0468d47c06e19d0341fce578316323750 [file] [log] [blame]
# STM32H7 FD-CAN configuration options
# Copyright (c) 2022 Blue Clover
# SPDX-License-Identifier: Apache-2.0
config CAN_STM32H7
bool "STM32H7 FDCAN driver"
default y
depends on DT_HAS_ST_STM32H7_FDCAN_ENABLED
select CAN_MCAN
select USE_STM32_LL_RCC
if CAN_STM32H7
config CAN_MAX_STD_ID_FILTER
int "Maximum number of std ID filters"
default 28
range 0 28
help
Defines the maximum number of filters with standard ID (11-bit)
that can be attached.
config CAN_MAX_EXT_ID_FILTER
int "Maximum number of ext ID filters"
default 8
range 0 8
help
Defines the maximum number of filters with extended ID (29-bit)
that can be attached.
endif #CAN_STM32H7