2018-05-03 16:48:02 +08:00
|
|
|
# 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
|
|
|
|
|
2018-09-18 01:13:20 +08:00
|
|
|
module = CAN
|
|
|
|
module-str = CAN
|
|
|
|
source "subsys/logging/Kconfig.template.log_config"
|
2018-05-03 16:48:02 +08:00
|
|
|
|
|
|
|
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_1
|
|
|
|
bool "Enable CAN 1"
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
Enable CAN controller 1
|
|
|
|
|
2018-05-03 16:59:12 +08:00
|
|
|
source "drivers/can/Kconfig.stm32"
|
2018-05-03 16:48:02 +08:00
|
|
|
|
|
|
|
endif # CAN
|