Add loopback mode config to the sample so that the code can be tested without an actual CAN network, but wit a single board. Signed-off-by: Alexander Wachter <alexander@wachter.cloud>
15 lines
353 B
Text
15 lines
353 B
Text
# Private config options for can sample app
|
|
|
|
# Copyright (c) 2018 Alexander Wachter
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
mainmenu "SocketCAN sample application"
|
|
|
|
config SAMPLE_SOCKETCAN_LOOPBACK_MODE
|
|
bool "Loopback mode"
|
|
default y
|
|
help
|
|
Set the controller to loopback mode.
|
|
This allows testing without a second board.
|
|
|
|
source "Kconfig.zephyr"
|