This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

CONFIG_REBOOT

Reboot functionality

Type: bool

Help

Enable the sys_reboot() API. Enabling this can drag in other subsystems
needed to perform a "safe" reboot (e.g. SYSTEM_CLOCK_DISABLE, to stop the
system clock before issuing a reset).

Defaults

No defaults. Implicitly defaults to n.

Symbols selected by this symbol

Kconfig definition

At lib/os/Kconfig:73

Included via Kconfig:8Kconfig.zephyr:43lib/Kconfig:10

Menu path: (Top) → Additional libraries → OS Support Library

config REBOOT
    bool "Reboot functionality"
    select SYSTEM_CLOCK_DISABLE
    help
      Enable the sys_reboot() API. Enabling this can drag in other subsystems
      needed to perform a "safe" reboot (e.g. SYSTEM_CLOCK_DISABLE, to stop the
      system clock before issuing a reset).

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