File tree Expand file tree Collapse file tree 5 files changed +778
-0
lines changed Expand file tree Collapse file tree 5 files changed +778
-0
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ zephyr_library_sources_ifdef(CONFIG_CAN_ESP32_TWAI can_esp32_twai.c)
17
17
zephyr_library_sources_ifdef (CONFIG_CAN_FAKE can_fake.c )
18
18
zephyr_library_sources_ifdef (CONFIG_CAN_KVASER_PCI can_kvaser_pci.c )
19
19
zephyr_library_sources_ifdef (CONFIG_CAN_LOOPBACK can_loopback.c )
20
+ zephyr_library_sources_ifdef (CONFIG_CAN_MAX32 can_max32.c )
20
21
zephyr_library_sources_ifdef (CONFIG_CAN_MCAN can_mcan.c )
21
22
zephyr_library_sources_ifdef (CONFIG_CAN_MCP2515 can_mcp2515.c )
22
23
zephyr_library_sources_ifdef (CONFIG_CAN_MCP251XFD can_mcp251xfd.c )
Original file line number Diff line number Diff line change @@ -131,6 +131,7 @@ source "drivers/can/Kconfig.xmc4xxx"
131
131
source "drivers/can/Kconfig.nrf"
132
132
source "drivers/can/Kconfig.renesas_ra"
133
133
source "drivers/can/Kconfig.renesas_rz"
134
+ source "drivers/can/Kconfig.max32"
134
135
135
136
source "drivers/can/transceiver/Kconfig"
136
137
Original file line number Diff line number Diff line change
1
+ # Copyright (c) 2024 Analog Devices, Inc.
2
+ # SPDX-License-Identifier: Apache-2.0
3
+
4
+ config CAN_MAX32
5
+ bool "ADI MAX32 CAN Driver"
6
+ default y
7
+ depends on DT_HAS_ADI_MAX32_CAN_ENABLED
8
+ help
9
+ Enable ADI MAX32 CAN Driver
10
+
11
+ if CAN_MAX32
12
+
13
+ config CAN_MAX_FILTER
14
+ int "Maximum number of concurrent active filters"
15
+ default 5
16
+ range 1 32
17
+ help
18
+ Maximum number of filters supported by the can_add_rx_callback() API call.
19
+
20
+ endif # CAN_MAX32
You can’t perform that action at this time.
0 commit comments