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_POSIX_LINUX
7	bool "Native Linux SocketCAN Driver"
8	default y
9	depends on DT_HAS_ZEPHYR_NATIVE_POSIX_LINUX_CAN_ENABLED
10	help
11	  Enable native Linux SocketCAN Driver
12
13if CAN_NATIVE_POSIX_LINUX
14
15config CAN_NATIVE_POSIX_LINUX_RX_THREAD_PRIORITY
16	int "Priority for internal RX thread"
17	default 2
18	help
19	  Priority level of the internal thread which is run for
20	  handling of incoming packets.
21
22config CAN_MAX_FILTER
23	int "Maximum number of concurrent active filters"
24	default 5
25	range 1 32
26	help
27	  Defines the array size of the callback/msgq pointers.
28	  Must be at least the size of concurrent reads.
29
30endif # CAN_NATIVE_POSIX_LINUX
31