1# Native Linux SocketCAN configuration options
2
3# Copyright (c) 2022 Martin Jäger <martin@libre.solar>
4# SPDX-License-Identifier: Apache-2.0
5
6config CAN_NATIVE_LINUX
7	bool "Native Linux SocketCAN Driver"
8	default y
9	depends on DT_HAS_ZEPHYR_NATIVE_LINUX_CAN_ENABLED
10	depends on ARCH_POSIX
11	help
12	  Enable native Linux SocketCAN Driver
13
14if CAN_NATIVE_LINUX
15
16config CAN_NATIVE_LINUX_RX_THREAD_PRIORITY
17	int "Priority for internal RX thread"
18	default 2
19	help
20	  Priority level of the internal thread which is run for
21	  handling of incoming packets.
22
23config CAN_MAX_FILTER
24	int "Maximum number of concurrent active filters"
25	default 5
26	range 1 32
27	help
28	  Defines the array size of the callback/msgq pointers.
29	  Must be at least the size of concurrent reads.
30
31endif # CAN_NATIVE_LINUX
32