Files
zephyr/drivers/can/Kconfig.native_linux
Henrik Brix Andersen 65eee6d3d9 drivers: can: increase default setting for software-limited RX filters
Increase the default number of software-limited CAN RX filters across the
drivers. Some of these were chosen quite conservative, requiring custom
configuration for even simple in-tree samples.

Users can reduce the number of available RX filters to reduce RAM footprint
as needed.

Signed-off-by: Henrik Brix Andersen <henrik@brixandersen.dk>
2025-12-09 14:54:02 -05:00

32 lines
799 B
Plaintext

# Native Linux SocketCAN configuration options
# Copyright (c) 2022 Martin Jäger <martin@libre.solar>
# SPDX-License-Identifier: Apache-2.0
config CAN_NATIVE_LINUX
bool "Native Linux SocketCAN Driver"
default y
depends on DT_HAS_ZEPHYR_NATIVE_LINUX_CAN_ENABLED
depends on ARCH_POSIX
help
Enable native Linux SocketCAN Driver
if CAN_NATIVE_LINUX
config CAN_NATIVE_LINUX_RX_THREAD_PRIORITY
int "Priority for internal RX thread"
default 2
help
Priority level of the internal thread which is run for
handling of incoming packets.
config CAN_NATIVE_LINUX_MAX_FILTERS
int "Maximum number of concurrent active filters"
default 16
range 1 32
help
Defines the array size of the callback/msgq pointers.
Must be at least the size of concurrent reads.
endif # CAN_NATIVE_LINUX