The latest development version of this page may be more current than this released 2.7.5 version.

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 lib/os/Kconfig.cbprintf:108

Included via Kconfig:8Kconfig.zephyr:43lib/Kconfig:10lib/os/Kconfig:81

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.)