drivers: can: add support for the NXP Kinetis FlexCAN controller
Add MCUX driver shim for the NXP Kinetis FlexCAN CAN bus controller. Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
This commit is contained in:
parent
dded1d076a
commit
652fdfe3a1
7 changed files with 677 additions and 5 deletions
|
@ -49,6 +49,11 @@ config HAS_MCUX_ENET
|
|||
help
|
||||
Set if the ethernet (ENET) module is present in the SoC.
|
||||
|
||||
config HAS_MCUX_FLEXCAN
|
||||
bool
|
||||
help
|
||||
Set if the FlexCAN module is presents in the SoC.
|
||||
|
||||
config HAS_MCUX_FTFX
|
||||
bool
|
||||
help
|
||||
|
|
|
@ -28,3 +28,7 @@ zephyr_sources_ifdef(CONFIG_UART_MCUX_LPUART fsl_lpuart.c)
|
|||
zephyr_sources_ifdef(CONFIG_COUNTER_MCUX_RTC fsl_rtc.c)
|
||||
zephyr_sources_ifdef(CONFIG_RTC_MCUX fsl_rtc.c)
|
||||
zephyr_sources_ifdef(CONFIG_WDT_MCUX_WDOG fsl_wdog.c)
|
||||
zephyr_sources_ifdef(CONFIG_CAN_MCUX_FLEXCAN fsl_flexcan.c)
|
||||
if(NOT CONFIG_ASSERT OR CONFIG_FORCE_NO_ASSERT)
|
||||
zephyr_compile_definitions(NDEBUG) # squelch fsl_flexcan.c warning
|
||||
endif()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue