Automatically select CONFIG_GPIO when the GPIO-controlled CAN transceiver driver is enabled. Update board configurations to benefit from this. Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
23 lines
526 B
Plaintext
23 lines
526 B
Plaintext
# CAN transceiver configuration options
|
|
|
|
# Copyright (c) 2022 Vestas Wind Systems A/S
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
menu "CAN transceiver drivers"
|
|
|
|
config CAN_TRANSCEIVER_INIT_PRIORITY
|
|
int "CAN transceiver driver init priority"
|
|
default 45
|
|
help
|
|
CAN transceiver device driver initialization priority.
|
|
|
|
config CAN_TRANSCEIVER_GPIO
|
|
bool "GPIO controlled CAN transceiver"
|
|
default y
|
|
depends on DT_HAS_CAN_TRANSCEIVER_GPIO_ENABLED
|
|
select GPIO
|
|
help
|
|
Enable support for GPIO controlled CAN transceivers.
|
|
|
|
endmenu
|