CONFIG_NEWLIB_LIBC_FLOAT_PRINTF

Build with newlib float printf

Build with newlib float printf

Type: bool

Help

Enable floating points in Newlib's snprintf. Must be enabled for correctly
formatting floating points in LwM2M resources.

Help

Build with floating point printf enabled. This will increase the size of
the image.

Direct dependencies

(PELION_SOURCES && PELION_CLIENT) || NEWLIB_LIBC

(Includes any dependencies from ifs and menus.)

Default

  • y

Symbols that imply this symbol

Kconfig definitions

At /home/runner/work/sdk-nrf/sdk-nrf/ncs/modules/lib/pelion-dm/zephyr/Kconfig.pal:74

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:23<Zephyr>/modules/Kconfig:6<BuildDir>/kconfig/Kconfig.modules:26/home/runner/work/sdk-nrf/sdk-nrf/ncs/modules/lib/pelion-dm/zephyr/Kconfig:32

Menu path: (Top) → Modules → pelion-dm (/home/runner/work/sdk-nrf/sdk-nrf/ncs/modules/lib/pelion-dm) → Pelion Device Management Client Library → Build Pelion client from sources → Platform Abstraction Layer options

config NEWLIB_LIBC_FLOAT_PRINTF
    bool "Build with newlib float printf"
    default y
    depends on PELION_SOURCES && PELION_CLIENT
    help
      Enable floating points in Newlib's snprintf. Must be enabled for correctly
      formatting floating points in LwM2M resources.

At <Zephyr>/lib/libc/Kconfig:79

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:33<Zephyr>/lib/Kconfig:4

Menu path: (Top) → C Library

config NEWLIB_LIBC_FLOAT_PRINTF
    bool "Build with newlib float printf"
    depends on NEWLIB_LIBC
    help
      Build with floating point printf enabled. This will increase the size of
      the image.

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