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 lib/libc/Kconfig:85

Included via Kconfig:8Kconfig.zephyr:42lib/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.)