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 if’s and menus.)

Defaults

Kconfig definition

At subsys/debug/Kconfig:73

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

Menu path: (top menu) → Debugging Options

config PRINTK_BUFFER_SIZE
    int
    prompt "printk() buffer size" if PRINTK && USERSPACE
    default 32 if PRINTK && USERSPACE
    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.

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