CONFIG_MINIMAL_LIBC_MALLOC

Enable minimal libc malloc implementation

Type: bool

Help

Enable the minimal libc’s implementation of malloc, free, and realloc. Disable if you wish to provide your own implementations of these functions.

Direct dependencies

MINIMAL_LIBC

(Includes any dependencies from ifs and menus.)

Default

  • y

Kconfig definition

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

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

Menu path: (Top) → C Library

config MINIMAL_LIBC_MALLOC
    bool "Enable minimal libc malloc implementation"
    default y
    depends on MINIMAL_LIBC
    help
      Enable the minimal libc's implementation of malloc, free, and realloc.
      Disable if you wish to provide your own implementations of these functions.

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