This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

CONFIG_CBPRINTF_FP_SUPPORT

Enable floating point formatting in cbprintf

Type: bool

Help

Build the cbprintf utility function with support for floating
point format specifiers.  Selecting this increases stack size
requirements slightly, but increases code size significantly.

Direct dependencies

CBPRINTF_COMPLETE

(Includes any dependencies from ifs and menus.)

Default

Symbols that select this symbol

Kconfig definition

At lib/os/Kconfig.cbprintf:63

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

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

config CBPRINTF_FP_SUPPORT
    bool "Enable floating point formatting in cbprintf"
    default y if FPU
    depends on CBPRINTF_COMPLETE
    help
      Build the cbprintf utility function with support for floating
      point format specifiers.  Selecting this increases stack size
      requirements slightly, but increases code size significantly.

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