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 <Zephyr>/subsys/debug/Kconfig:178

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:34<Zephyr>/subsys/Kconfig:16

Menu path: (Top) → Sub Systems and OS Services → 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.)