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:317

Included via Kconfig:8Kconfig.zephyr:36

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