| # STM32 CAN configuration options |
| # Copyright (c) 2020 Alexander Wachter |
| # SPDX-License-Identifier: Apache-2.0 |
| DT_COMPAT_STM32_FDCAN := st,stm32-fdcan |
| bool "STM32 FDCAN driver" |
| default $(dt_compat_enabled,$(DT_COMPAT_STM32_FDCAN)) |
| config CAN_MAX_STD_ID_FILTER |
| int "Maximum number of std ID filters" |
| Defines the maximum number of filters with standard ID (11-bit) |
| config CAN_MAX_EXT_ID_FILTER |
| int "Maximum number of ext ID filters" |
| Defines the maximum number of filters with extended ID (29-bit) |
| config CAN_STM32_CLOCK_DIVISOR |
| The APB clock is divided by this value (stored in CKDIV register) |
| before it is fed to the CAN core. |
| Note that the the divisor affects all CAN controllers. |
| Allowed values: 1 or 2 * n, where n <= 15. |