CONFIG_LOG_PRINTK_MAX_STRING_LENGTH

Maximum string length supported by LOG_PRINTK

Type: int

Help

Array is allocated on the stack.

Direct dependencies

LOG_PRINTK && (!LOG_IMMEDIATE || USERSPACE) && !LOG_MODE_MINIMAL && !LOG_FRONTEND && !LOG_MODE_MINIMAL && LOG

(Includes any dependencies from ifs and menus.)

Default

  • 128

Kconfig definition

At <Zephyr>/subsys/logging/Kconfig.processing:13

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:44<Zephyr>/subsys/Kconfig:31<Zephyr>/subsys/logging/Kconfig:21

Menu path: (Top) → Sub Systems and OS Services → Logging → Processing → Process printk messages

config LOG_PRINTK_MAX_STRING_LENGTH
    int "Maximum string length supported by LOG_PRINTK"
    default 128
    depends on LOG_PRINTK && (!LOG_IMMEDIATE || USERSPACE) && !LOG_MODE_MINIMAL && !LOG_FRONTEND && !LOG_MODE_MINIMAL && LOG
    help
      Array is allocated on the stack.

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