1# Private config options to the ISO-TP sample
2
3# Copyright (c) 2023 Vestas Wind Systems A/S
4# SPDX-License-Identifier: Apache-2.0
5
6mainmenu "ISO-TP sample"
7
8config SAMPLE_LOOPBACK_MODE
9	bool "Use CAN loopback mode"
10	help
11	  Set the CAN controller to loopback mode. This allows testing without a second board.
12
13config SAMPLE_RX_THREAD_STACK_SIZE
14	int "RX threads stack size"
15	default 1024
16	help
17	  Stack size (in bytes) used for the RX threads.
18
19config SAMPLE_RX_THREAD_PRIORITY
20	int "RX threads priority"
21	default 2
22	help
23	  Priority used for the RX threads.
24
25config SAMPLE_CAN_FD_MODE
26	bool "Use CAN FD"
27	select CAN_FD_MODE
28
29config ISOTP_RX_BUF_COUNT
30	default 4 if SAMPLE_CAN_FD_MODE
31	default 2
32
33source "Kconfig.zephyr"
34