zephyr/subsys/shell/Kconfig.backends
Jakub Rzeszutko bc6da1c34a shell: Enable backends via Kconfig file
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>
2018-10-05 10:04:44 +02:00

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