drivers: can: stm32: fdcan: rename driver to match reference manuals

Rename the STM32 FDCAN driver Kconfig symbol and implementation file to
match the naming used in the ST reference manuals.

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
This commit is contained in:
Henrik Brix Andersen 2023-08-15 10:52:20 +02:00 committed by Carles Cufí
commit 8410e9ab85
3 changed files with 8 additions and 8 deletions

View file

@ -14,7 +14,7 @@ zephyr_library_sources_ifdef(CONFIG_CAN_MCUX_FLEXCAN can_mcux_flexcan.c)
zephyr_library_sources_ifdef(CONFIG_CAN_SAM can_sam.c) zephyr_library_sources_ifdef(CONFIG_CAN_SAM can_sam.c)
zephyr_library_sources_ifdef(CONFIG_CAN_SAM0 can_sam0.c) zephyr_library_sources_ifdef(CONFIG_CAN_SAM0 can_sam0.c)
zephyr_library_sources_ifdef(CONFIG_CAN_STM32_BXCAN can_stm32_bxcan.c) zephyr_library_sources_ifdef(CONFIG_CAN_STM32_BXCAN can_stm32_bxcan.c)
zephyr_library_sources_ifdef(CONFIG_CAN_STM32FD can_stm32fd.c) zephyr_library_sources_ifdef(CONFIG_CAN_STM32_FDCAN can_stm32_fdcan.c)
zephyr_library_sources_ifdef(CONFIG_CAN_STM32H7 can_stm32h7.c) zephyr_library_sources_ifdef(CONFIG_CAN_STM32H7 can_stm32h7.c)
zephyr_library_sources_ifdef(CONFIG_CAN_RCAR can_rcar.c) zephyr_library_sources_ifdef(CONFIG_CAN_RCAR can_rcar.c)

View file

@ -46,29 +46,29 @@ config CAN_MAX_EXT_ID_FILTER
endif # CAN_STM32_BXCAN endif # CAN_STM32_BXCAN
config CAN_STM32FD config CAN_STM32_FDCAN
bool "STM32 FDCAN driver" bool "STM32 FDCAN driver"
default y default y
depends on DT_HAS_ST_STM32_FDCAN_ENABLED depends on DT_HAS_ST_STM32_FDCAN_ENABLED
select CAN_MCAN select CAN_MCAN
select USE_STM32_LL_RCC select USE_STM32_LL_RCC
if CAN_STM32FD if CAN_STM32_FDCAN
config CAN_MAX_STD_ID_FILTER config CAN_MAX_STD_ID_FILTER
int "Maximum number of std ID filters" int "Maximum number of standard (11-bit) ID filters"
default 28 default 28
range 0 28 range 0 28
help help
Defines the maximum number of filters with standard ID (11-bit) Defines the maximum number of filters with standard ID (11-bit)
that can be attached. that can be added by the application.
config CAN_MAX_EXT_ID_FILTER config CAN_MAX_EXT_ID_FILTER
int "Maximum number of ext ID filters" int "Maximum number of extended (29-bit) ID filters"
default 8 default 8
range 0 8 range 0 8
help help
Defines the maximum number of filters with extended ID (29-bit) Defines the maximum number of filters with extended ID (29-bit)
that can be attached. that can be added by the application.
endif # CAN_STM32FD endif # CAN_STM32_FDCAN