Added functionality to enable active shell backends via Kconfig file. When there will be more backends implemented user will have an option to select only required ones. It is no longer needed to select SERIAL in prj.conf. Fixes #10190 Signed-off-by: Jakub Rzeszutko <jakub.rzeszutko@nordicsemi.no>
26 lines
414 B
Plaintext
26 lines
414 B
Plaintext
# Kconfig.backends - Shell badckends configuration options
|
|
|
|
#
|
|
# Copyright (c) 2018 Nordic Semiconductor ASA
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
menuconfig SHELL_BACKENDS
|
|
bool "Enable shell backends"
|
|
default y
|
|
help
|
|
Enable shell backends.
|
|
|
|
if SHELL_BACKENDS
|
|
|
|
config SHELL_BACKEND_SERIAL
|
|
bool "Enable serial backends."
|
|
default y
|
|
select SERIAL
|
|
help
|
|
Enable serial backends.
|
|
|
|
endif # SHELL_BACKENDS
|
|
|