This is the documentation for the latest (master) 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_NEWLIB_LIBC

Newlib C library

Type: bool

Help

Build with newlib library. The newlib library is expected to be part of the SDK in this case.

Direct dependencies

!NATIVE_APPLICATION && <choice LIBC_IMPLEMENTATION: C Library Implementation>

(Includes any dependencies from ifs and menus.)

Kconfig definition

At lib/libc/Kconfig:27

Included via Kconfig:8Kconfig.zephyr:33lib/Kconfig:4

Menu path: (Top) → C Library → C Library Implementation

config NEWLIB_LIBC
    bool "Newlib C library"
    depends on !NATIVE_APPLICATION && <choice LIBC_IMPLEMENTATION: C Library Implementation>
    help
      Build with newlib library. The newlib library is expected to be
      part of the SDK in this case.

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