2019-11-01 13:45:29 +01:00
|
|
|
# Shell configuration options
|
2016-12-23 14:06:46 -05:00
|
|
|
|
|
|
|
|
# Copyright (c) 2016 Intel Corporation
|
2017-01-18 17:01:01 -08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
2016-12-23 14:06:46 -05:00
|
|
|
|
|
|
|
|
config KERNEL_SHELL
|
2022-03-09 12:05:12 +01:00
|
|
|
bool "Kernel shell"
|
2021-02-26 07:50:11 -07:00
|
|
|
default y if !SHELL_MINIMAL
|
2020-05-29 06:35:05 -04:00
|
|
|
imply INIT_STACKS
|
|
|
|
|
imply THREAD_MONITOR
|
|
|
|
|
imply THREAD_NAME
|
|
|
|
|
imply THREAD_STACK_INFO
|
2016-12-23 14:06:46 -05:00
|
|
|
help
|
|
|
|
|
This shell provides access to basic kernel data like version, uptime
|
|
|
|
|
and other useful information.
|
2018-10-05 09:38:55 -05:00
|
|
|
|
2021-05-15 09:29:07 +10:00
|
|
|
config KERNEL_SHELL_REBOOT_DELAY
|
|
|
|
|
int "Delay between reception of shell reboot command and reboot (ms)"
|
|
|
|
|
depends on KERNEL_SHELL
|
|
|
|
|
depends on REBOOT
|
|
|
|
|
default 0
|
|
|
|
|
help
|
|
|
|
|
This delay allows time for the shell to successfully echo the reboot
|
|
|
|
|
command input before the reboot abruptly terminates it. This can help
|
|
|
|
|
external systems that interact with the shell and require the reboot
|
|
|
|
|
command's echo to successfully complete to synchronise with the
|
|
|
|
|
device.
|
|
|
|
|
|
2018-10-05 09:38:55 -05:00
|
|
|
config DEVICE_SHELL
|
2022-03-09 12:05:12 +01:00
|
|
|
bool "Device shell"
|
2021-02-26 07:50:11 -07:00
|
|
|
default y if !SHELL_MINIMAL
|
2018-10-05 09:38:55 -05:00
|
|
|
help
|
|
|
|
|
This shell provides access to basic device data.
|
2020-02-02 22:41:27 +11:00
|
|
|
|
|
|
|
|
config DATE_SHELL
|
2022-03-09 12:05:12 +01:00
|
|
|
bool "Date shell"
|
2020-02-02 22:41:27 +11:00
|
|
|
depends on POSIX_CLOCK
|
2021-02-26 07:50:11 -07:00
|
|
|
default y if !SHELL_MINIMAL
|
2020-02-02 22:41:27 +11:00
|
|
|
help
|
|
|
|
|
This shell provides access to date and time based on Unix time.
|
2021-07-01 14:35:56 +02:00
|
|
|
|
|
|
|
|
config DEVMEM_SHELL
|
2022-03-09 12:05:12 +01:00
|
|
|
bool "Devmem shell"
|
2021-07-01 14:35:56 +02:00
|
|
|
default y if !SHELL_MINIMAL
|
2022-12-02 07:11:43 -05:00
|
|
|
select GETOPT
|
2021-07-01 14:35:56 +02:00
|
|
|
help
|
|
|
|
|
This shell command provides read/write access to physical memory.
|