zephyr/subsys/shell/modules/Kconfig
Yong Cong Sin 83212147b2 shell: kernel_service: reorg the commands
Split the `kernel_service.c` into multiple subcommand files,
each file would register with the main `kernel` cmd based on
the dependencies in Kconfig/CMakeLists.txt.

This greatly reduces the number of precompiler directives.

Signed-off-by: Yong Cong Sin <ycsin@meta.com>
Signed-off-by: Yong Cong Sin <yongcong.sin@gmail.com>
2024-09-17 20:12:33 -04:00

26 lines
606 B
Text

# Shell configuration options
# Copyright (c) 2016 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
config DEVICE_SHELL
bool "Device shell"
default y if !SHELL_MINIMAL
help
This shell provides access to basic device data.
config DATE_SHELL
bool "Date shell"
depends on POSIX_TIMERS
default y if !SHELL_MINIMAL
help
This shell provides access to date and time based on Unix time.
config DEVMEM_SHELL
bool "Devmem shell"
default y if !SHELL_MINIMAL
select POSIX_C_LIB_EXT
help
This shell command provides read/write access to physical memory.
rsource "kernel_service/Kconfig"