2021-02-12 03:07:04 +08:00
|
|
|
# STM32 CAN configuration options
|
2021-02-07 22:47:52 +08:00
|
|
|
|
|
|
|
# Copyright (c) 2020 Alexander Wachter
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2021-02-12 03:07:04 +08:00
|
|
|
config CAN_STM32FD
|
2021-02-07 22:47:52 +08:00
|
|
|
bool "STM32 FDCAN driver"
|
2022-07-21 17:24:20 +08:00
|
|
|
default y
|
|
|
|
depends on DT_HAS_ST_STM32_FDCAN_ENABLED
|
2021-02-07 22:47:52 +08:00
|
|
|
select CAN_MCAN
|
|
|
|
select USE_STM32_LL_RCC
|
|
|
|
|
|
|
|
if CAN_STM32FD
|
2021-02-12 03:07:04 +08:00
|
|
|
|
|
|
|
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.
|
|
|
|
|
2022-04-20 21:14:58 +08:00
|
|
|
endif # CAN_STM32FD
|