zephyr/subsys/shell/Kconfig
Paul Sokolovsky f6d8ab8289 subsys: console: Factor out fifo-based console input abstraction
Console subsystem is intended to be a layer between console drivers
and console clients, like e.g. shell. This change factors out code
from shell which dealed with individial console drivers and moves it
to console subsystem, under the name console_register_line_input().

To accommodate for this change, older console subsys Kconfig symbol
is changed from CONFIG_CONSOLE_PULL to CONFIG_CONSOLE_SUBSYS
(CONFIG_CONSOLE is already used by console drivers). This signifies
that console subsystem is intended to deal with all of console
aspects in Zephyr (existing and new), not just provide some "new"
functionality on top of raw console drivers, like it initially
started.

Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
2018-06-20 15:59:12 -04:00

39 lines
721 B
Plaintext

# Kconfig - Shell configuration options
#
# Copyright (c) 2014-2015 Wind River Systems, Inc.
# Copyright (c) 2016 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0
#
config CONSOLE_SHELL
bool
prompt "Enable console input handler [ Experimental ]"
default n
select CONSOLE_HANDLER
select CONSOLE_SUBSYS
help
Shell implementation based on CONSOLE_HANDLER.
if CONSOLE_SHELL
config CONSOLE_SHELL_STACKSIZE
int
prompt "Console handler shell stack size"
default 2000
help
Stack size for the console handler shell.
config CONSOLE_SHELL_MAX_CMD_QUEUED
int "Shell's command queue size"
default 3
help
Maximum size of the queue for input commands.
source "subsys/shell/modules/Kconfig"
endif