zephyr/subsys/shell
Jakub Rzeszutko 04de43b1a1 shell: Fix shell init procedure when configured as inactive on startup
The previous behavior of the CONFIG_SHELL_AUTOSTART option, where setting
it to 'n' disabled shell interaction at startup but kept the logger
active as a shell backend, was inconsistent.
Now, when CONFIG_SHELL_AUTOSTART is set to 'n', both the shell and the
logger are inactive at startup. Calling the shell_start function will
activate them and print any pending logs. This change ensures a more
consistent and logical behavior regarding shell and logger activity at
startup.

Additionally, now when the shell_stop function is called, both the shell
and the logger are halted. This enhancement ensures that stopping
the shell also effectively stops the associated logger.

Signed-off-by: Jakub Rzeszutko <jakub.rzeszutko@verkada.com>
2024-01-21 16:01:36 +01:00
..
backends shell: telnet: Don't close the connection on ENOBUFS error 2024-01-17 09:54:15 +01:00
modules posix: Fix name collision with __bswap 2024-01-10 18:13:44 +00:00
CMakeLists.txt lib: getopt: rework and extend getopt library 2022-01-06 21:26:59 +01:00
Kconfig shell: make ascii filtering optional 2023-08-29 19:22:16 +03:00
Kconfig.template.shell_log_queue_size shell: shell_log_backend: take buffer size from config 2022-11-22 13:05:29 +09:00
Kconfig.template.shell_log_queue_timeout license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
shell.c shell: Fix shell init procedure when configured as inactive on startup 2024-01-21 16:01:36 +01:00
shell_cmds.c shell: fix shell instance name typo 2023-12-05 10:44:56 -05:00
shell_fprintf.c shell: fix MISRA 5.7 violations on struct shell 2023-04-14 12:21:08 +02:00
shell_help.c shell: Add a space after colon 2024-01-05 14:43:21 -05:00
shell_help.h shell: fix MISRA 5.7 violations on struct shell 2023-04-14 12:21:08 +02:00
shell_history.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
shell_log_backend.c shell: fix a memory corruption coverity issue 2023-10-13 13:11:28 +03:00
shell_ops.c shell: Fix scrolling long commands in history 2023-09-13 16:26:02 +02:00
shell_ops.h shell: Fix shell init procedure when configured as inactive on startup 2024-01-21 16:01:36 +01:00
shell_utils.c shell: correct z_shell_spaces_trim when len equal to zero 2023-12-12 15:02:58 +01:00
shell_utils.h shell: fix MISRA 5.7 violations on struct shell 2023-04-14 12:21:08 +02:00
shell_vt100.h shell: rework vt100 commands storage 2021-09-28 20:02:01 -04:00
shell_wildcard.c shell: fix MISRA 5.7 violations on struct shell 2023-04-14 12:21:08 +02:00
shell_wildcard.h shell: fix MISRA 5.7 violations on struct shell 2023-04-14 12:21:08 +02:00