shell: added SHELL_AUTOSTART configuration option
In some applications, there is a need to don't start the shell by default, but run it later on some special condition. When SHELL_AUTOSTART is set to n, the shell is not started after boot but can be enabled later from the application code. Signed-off-by: Wojciech Slenska <wsl@trackunit.com>
This commit is contained in:
parent
1675d49b4c
commit
4b2fffc7f9
2 changed files with 11 additions and 4 deletions
|
@ -245,6 +245,11 @@ config SHELL_LOG_FORMAT_TIMESTAMP
|
|||
help
|
||||
Enable timestamp formatting.
|
||||
|
||||
config SHELL_AUTOSTART
|
||||
bool "Auto-start shell at boot"
|
||||
default y
|
||||
help
|
||||
If enabled, shell will be automatically started.
|
||||
|
||||
source "subsys/shell/modules/Kconfig"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue