| # CAN loopback device configuration options |
| # Copyright (c) 2019 Alexander Wachter |
| # SPDX-License-Identifier: Apache-2.0 |
| bool "Loopback CAN driver" |
| This is a dummy driver that can only loopback messages. |
| config CAN_LOOPBACK_DEV_NAME |
| string "CAN loopback device name" |
| "Device name for the loopback device" |
| int "Maximum number of concurrent active filters" |
| Defines the array size of the filters. |
| Must be at least the size of concurrent reads. |
| config CAN_LOOPBACK_TX_THREAD_STACK_SIZE |
| int "TX thread stack size" |
| Stack size of the TX thread. |
| The TX thread calls the callbacks of the receiver |
| config CAN_LOOPBACK_TX_THREAD_PRIORITY |
| Priority of the TX thread. |
| The TX thread calls the callbacks of the receiver |
| config CAN_LOOPBACK_TX_MSGQ_SIZE |
| int "TX message queue size" |
| Number of TX frames that can be buffered. |
| The send functions puts frame int this queue and TX thread takes the |
| messages from this msgq and calls the respective receiver if the |