CONFIG_PRINTK

Send printk() to console

Type: bool

Help

This option directs printk() debugging output to the supported console device, rather than suppressing the generation of printk() output entirely. Output is sent immediately, without any mutual exclusion or buffering.

Direct dependencies

CONSOLE_HAS_DRIVER

(Includes any dependencies from if’s and menus.)

Defaults

Symbols that select this symbol

Kconfig definition

At subsys/debug/Kconfig:63

Included via Kconfig:10Kconfig.zephyr:35subsys/Kconfig:12

Menu path: (top menu) → Debugging Options

config PRINTK
    bool
    prompt "Send printk() to console" if CONSOLE_HAS_DRIVER
    default "y" if CONSOLE_HAS_DRIVER
    depends on CONSOLE_HAS_DRIVER
    help
      This option directs printk() debugging output to the supported
      console device, rather than suppressing the generation
      of printk() output entirely. Output is sent immediately, without
      any mutual exclusion or buffering.

(Definitions include propagated dependencies, including from if’s and menus.)