1# Copyright (c) 2022 Henrik Brix Andersen <henrik@brixandersen.dk> 2# SPDX-License-Identifier: Apache-2.0 3 4menu "Controller Area Network babbling node sample" 5 6config SAMPLE_CAN_BABBLING_CAN_ID 7 hex "CAN ID" 8 default 0x010 9 range 0x000 0x7ff if !SAMPLE_CAN_BABBLING_EXT_ID 10 range 0x00000000 0x1fffffff if SAMPLE_CAN_BABBLING_EXT_ID 11 help 12 Babbling node CAN ID. 13 14config SAMPLE_CAN_BABBLING_EXT_ID 15 bool "Use Extended (29-bit) CAN ID" 16 help 17 Babling node sends extended (29-bit) CAN ID frames. 18 19config SAMPLE_CAN_BABBLING_RTR 20 bool "Send Remote Transmit Request (RTR) frames" 21 help 22 Babbling node sends Remote Transmission Request (RTR) frames. 23 24config SAMPLE_CAN_BABBLING_FD_MODE 25 bool "Send CAN FD format frames" 26 select CAN_FD_MODE 27 help 28 Babbling node sends CAN FD format frames. 29 30config SAMPLE_CAN_BABBLING_TX_QUEUE_SIZE 31 int "Maximum number of CAN frames to enqueue" 32 default 3 33 range 1 3 34 help 35 Maximum number of CAN frames to enqueue for transmission. 36 37endmenu 38 39source "Kconfig.zephyr" 40