CONFIG_PRINTK_BUFFER_SIZE

printk() buffer size

Type: int

Help

If userspace is enabled, printk() calls are buffered so that we do not have to make a system call for every character emitted. Specify the size of this buffer.

Direct dependencies

PRINTK && USERSPACE

(Includes any dependencies from ifs and menus.)

Default

  • 32

Kconfig definition

At subsys/debug/Kconfig:123

Included via Kconfig:8Kconfig.zephyr:44subsys/Kconfig:12

Menu path: (Top) → Debugging Options → Send printk() to console

config PRINTK_BUFFER_SIZE
    int "printk() buffer size"
    default 32
    depends on PRINTK && USERSPACE
    help
      If userspace is enabled, printk() calls are buffered so that we do
      not have to make a system call for every character emitted. Specify
      the size of this buffer.

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