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 <Zephyr>/kernel/Kconfig:320

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:30

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.)