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_BOOT_DELAY

Boot delay in milliseconds

Type: int

Help

This option delays bootup for the specified amount of
milliseconds. This is used to allow serial ports to get ready
before starting to print information on them during boot, as
some systems might boot to fast for a receiving endpoint to
detect the new USB serial bus, enumerate it and get ready to
receive before it actually gets data. A similar effect can be
achieved by waiting for DCD on the serial port--however, not
all serial ports have DCD.

Default

  • 0

Kconfig definition

At kernel/Kconfig:318

Included via Kconfig:8Kconfig.zephyr:38

Menu path: (Top) → General Kernel Options → Kernel Debugging and Metrics

config BOOT_DELAY
    int "Boot delay in milliseconds"
    default 0
    help
      This option delays bootup for the specified amount of
      milliseconds. This is used to allow serial ports to get ready
      before starting to print information on them during boot, as
      some systems might boot to fast for a receiving endpoint to
      detect the new USB serial bus, enumerate it and get ready to
      receive before it actually gets data. A similar effect can be
      achieved by waiting for DCD on the serial port--however, not
      all serial ports have DCD.

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