zephyr/drivers/can
Kumar Gala 6defabebad drivers: can: Fix building with socket_can_generic.h
socket_can_generic.h makes some assumptions that are not always valid
for various drivers with regards to numbering.  To clean this up we
add defines for SOCKET_CAN_NAME_0 and SOCKET_CAN_NAME_2 in addition to
SOCKET_CAN_NAME_1.

We also move struct socket_can_context into the drivers themselves
since they know best how many CAN interfaces are getting supported and
what naming/number convention they'd have.

Additionally, this also exposes a few other build issues with the
can_mcux_flexcan driver that get fixed.

Finally, we remove the platform_allow from samples/net/sockets/can
since it is no longer needed.

Fixes #31733

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2021-02-02 16:46:28 -05:00
..
CMakeLists.txt
Kconfig
Kconfig.loopback
Kconfig.mcp2515 drivers: can: mcp2515: Remove MCP2515 specifics 2021-01-10 16:06:47 -05:00
Kconfig.mcux
Kconfig.net
Kconfig.stm32
can_common.c drivers: can: rework zcan_frame and zcan_filter 2020-12-17 11:07:53 +01:00
can_handlers.c
can_loopback.c drivers: can: Fix building with socket_can_generic.h 2021-02-02 16:46:28 -05:00
can_loopback.h
can_mcp2515.c drivers: can: Fix building with socket_can_generic.h 2021-02-02 16:46:28 -05:00
can_mcp2515.h drivers: can: mcp2515: Remove MCP2515 specifics 2021-01-10 16:06:47 -05:00
can_mcux_flexcan.c drivers: can: Fix building with socket_can_generic.h 2021-02-02 16:46:28 -05:00
can_net.c drivers: can: rework zcan_frame and zcan_filter 2020-12-17 11:07:53 +01:00
can_shell.c drivers: can: rework zcan_frame and zcan_filter 2020-12-17 11:07:53 +01:00
can_stm32.c drivers: can: Fix building with socket_can_generic.h 2021-02-02 16:46:28 -05:00
can_stm32.h
socket_can_generic.h drivers: can: Fix building with socket_can_generic.h 2021-02-02 16:46:28 -05:00