CONFIG_CBPRINTF_LIBC_SUBSTS

Generate C-library compatible functions using cbprintf

Type: bool

Help

If selected wrappers are generated for various C library functions using the cbprintf formatter underneath. The wrappers use the C library function name with a cb suffix; e.g. printfcb() or vsnprintfcb().

When used with CBPRINTF_NANO this increases the implementation code size by a small amount.

Defaults

No defaults. Implicitly defaults to n.

Symbols that select this symbol

Kconfig definition

At <Zephyr>/lib/os/Kconfig.cbprintf:108

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:33<Zephyr>/lib/Kconfig:16<Zephyr>/lib/os/Kconfig:63

Menu path: (Top) → Additional libraries → OS Support Library

config CBPRINTF_LIBC_SUBSTS
    bool "Generate C-library compatible functions using cbprintf"
    help
      If selected wrappers are generated for various C library functions
      using the cbprintf formatter underneath.  The wrappers use the C
      library function name with a cb suffix; e.g. printfcb() or
      vsnprintfcb().

      When used with CBPRINTF_NANO this increases the implementation code
      size by a small amount.

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