1# TCAN4x5x configuration options
2
3# Copyright (c) 2023 Vestas Wind Systems A/S
4# SPDX-License-Identifier: Apache-2.0
5
6config CAN_TCAN4X5X
7	bool "TI TCAN4x5x"
8	default y
9	depends on DT_HAS_TI_TCAN4X5X_ENABLED
10	select CAN_MCAN
11	select SPI
12	help
13	  Enable support for the Texas Instruments TCAN4x5x.
14
15if CAN_TCAN4X5X
16
17config CAN_TCAN4X5X_THREAD_STACK_SIZE
18	int "Stack size for the TCAN4x5x interrupt thread"
19	default 1024
20	help
21	  Size of the stack used for the thread handling interrupts and dispatching callbacks.
22
23config CAN_TCAN4X5X_THREAD_PRIO
24	int "Priority for the TCAN4x5x interrupt thread"
25	default 0
26	help
27	  Priority level for the thread handling interrupts and dispatching callbacks.
28
29endif # CAN_TCAN4X5X
30