1# MCP2515 CAN configuration options 2 3# Copyright (c) 2018 Karsten Koenig 4# SPDX-License-Identifier: Apache-2.0 5 6config CAN_MCP2515 7 bool "MCP2515 CAN Driver" 8 default y 9 depends on DT_HAS_MICROCHIP_MCP2515_ENABLED 10 select SPI 11 help 12 Enable MCP2515 CAN Driver 13 14if CAN_MCP2515 15 16config CAN_MCP2515_INT_THREAD_STACK_SIZE 17 int "Stack size for interrupt handler" 18 default 1024 19 help 20 Size of the stack used for internal thread which is ran for 21 interrupt handling and incoming packets. 22 23config CAN_MCP2515_INT_THREAD_PRIO 24 int "Priority for interrupt handler" 25 default 2 26 help 27 Priority level of the internal thread which is ran for 28 interrupt handling and incoming packets. 29 30config CAN_MAX_FILTER 31 int "Maximum number of concurrent active filters" 32 default 5 33 range 1 32 34 help 35 Defines the array size of the callback/msgq pointers. 36 Must be at least the size of concurrent reads. 37 38endif # CAN_MCP2515 39