zephyr/drivers/can/Kconfig
Alexander Wachter 75f3e17b45 drivers: can: Add CAN shell
Implement a CAN shell. With this shell you can send messages,
attach and tetach filters.
Messages that match the attached filters are printed to the shell.

Signed-off-by: Alexander Wachter <alexander.wachter@student.tugraz.at>
2019-07-29 10:27:54 +03:00

61 lines
1.1 KiB
Plaintext

# Kconfig - CAN configuration options
#
# Copyright (c) 2018 Alexander Wachter
#
# SPDX-License-Identifier: Apache-2.0
#
#
# CAN options
#
menuconfig CAN
bool "CAN Drivers"
help
Enable CAN Driver Configuration
if CAN
module = CAN
module-str = CAN
source "subsys/logging/Kconfig.template.log_config"
config CAN_SHELL
bool "Enable CAN Shell"
depends on SHELL
help
Enable CAN Shell for testing.
config CAN_INIT_PRIORITY
int "CAN driver init priority"
default 80
help
CAN device driver initialization priority.
Do not mess with it unless you know what you are doing.
Note that the priority needs to be lower than the net stack
so that it can start before the networking sub-system.
config CAN_WORKQ_FRAMES_BUF_CNT
int "Work queue buffer frame count"
default 4
range 1 65534
help
Number of frames in the buffer of a zcan_work.
config CAN_0
bool "Enable CAN 0"
help
Enable CAN controller 0
config CAN_1
bool "Enable CAN 1"
help
Enable CAN controller 1
source "drivers/can/Kconfig.stm32"
source "drivers/can/Kconfig.mcux"
source "drivers/can/Kconfig.mcp2515"
source "drivers/can/Kconfig.loopback"
endif # CAN