mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-08 17:42:43 +00:00
1. Created new shell module: shell_help. 2. Simplified command handlers with new shell print macros. 3. Removed help functions from command handlers. Signed-off-by: Jakub Rzeszutko <jakub.rzeszutko@nordicsemi.no>
60 lines
839 B
CMake
60 lines
839 B
CMake
zephyr_include_directories_ifdef(CONFIG_CONSOLE_SHELL
|
|
${ZEPHYR_BASE}/include/drivers
|
|
)
|
|
|
|
zephyr_sources_ifdef(
|
|
CONFIG_CONSOLE_SHELL
|
|
shell_service.c
|
|
legacy_shell.c
|
|
)
|
|
|
|
add_subdirectory(modules)
|
|
|
|
zephyr_sources_ifdef(
|
|
CONFIG_SHELL
|
|
shell.c
|
|
shell_fprintf.c
|
|
shell_utils.c
|
|
shell_ops.c
|
|
)
|
|
|
|
zephyr_sources_ifdef(
|
|
CONFIG_SHELL_BACKEND_SERIAL
|
|
shell_uart.c
|
|
)
|
|
|
|
zephyr_sources_ifdef(
|
|
CONFIG_SHELL_BACKEND_DUMMY
|
|
shell_dummy.c
|
|
)
|
|
|
|
zephyr_sources_ifdef(
|
|
CONFIG_SHELL_BACKEND_RTT
|
|
shell_rtt.c
|
|
)
|
|
|
|
zephyr_sources_ifdef(
|
|
CONFIG_SHELL_HELP
|
|
shell_help.c
|
|
)
|
|
|
|
zephyr_sources_ifdef(
|
|
CONFIG_SHELL_CMDS
|
|
shell_cmds.c
|
|
)
|
|
|
|
zephyr_sources_ifdef(
|
|
CONFIG_SHELL_HISTORY
|
|
shell_history.c
|
|
)
|
|
|
|
zephyr_sources_ifdef(
|
|
CONFIG_SHELL_LOG_BACKEND
|
|
shell_log_backend.c
|
|
)
|
|
|
|
zephyr_sources_ifdef(
|
|
CONFIG_SHELL_WILDCARD
|
|
shell_wildcard.c
|
|
)
|