Kconfig 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. # Shell configuration options
  2. # Copyright (c) 2016 Intel Corporation
  3. # SPDX-License-Identifier: Apache-2.0
  4. config KERNEL_SHELL
  5. bool "Enable kernel shell"
  6. default y if !SHELL_MINIMAL
  7. imply INIT_STACKS
  8. imply THREAD_MONITOR
  9. imply THREAD_NAME
  10. imply THREAD_STACK_INFO
  11. help
  12. This shell provides access to basic kernel data like version, uptime
  13. and other useful information.
  14. config KERNEL_SHELL_REBOOT_DELAY
  15. int "Delay between reception of shell reboot command and reboot (ms)"
  16. depends on KERNEL_SHELL
  17. depends on REBOOT
  18. default 0
  19. help
  20. This delay allows time for the shell to successfully echo the reboot
  21. command input before the reboot abruptly terminates it. This can help
  22. external systems that interact with the shell and require the reboot
  23. command's echo to successfully complete to synchronise with the
  24. device.
  25. config DEVICE_SHELL
  26. bool "Enable device shell"
  27. default y if !SHELL_MINIMAL
  28. help
  29. This shell provides access to basic device data.
  30. config DATE_SHELL
  31. bool "Enable date shell"
  32. depends on POSIX_CLOCK
  33. default y if !SHELL_MINIMAL
  34. help
  35. This shell provides access to date and time based on Unix time.
  36. config DEVMEM_SHELL
  37. bool "Enable devmem shell"
  38. default y if !SHELL_MINIMAL
  39. help
  40. This shell command provides read/write access to physical memory.