CONFIG_KERNEL_SHELL_REBOOT_DELAY

Delay between reception of shell reboot command and reboot (ms)

Type: int

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.

Direct dependencies

KERNEL_SHELL && REBOOT && SHELL

(Includes any dependencies from ifs and menus.)

Default

  • 0

Kconfig definition

At <Zephyr>/subsys/shell/modules/Kconfig:17

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:44<Zephyr>/subsys/Kconfig:45<Zephyr>/subsys/shell/Kconfig:237

Menu path: (Top) → Sub Systems and OS Services → Shell → Enable kernel shell

config KERNEL_SHELL_REBOOT_DELAY
    int "Delay between reception of shell reboot command and reboot (ms)"
    default 0
    depends on KERNEL_SHELL && REBOOT && SHELL
    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.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)