CONFIG_MINIMAL_LIBC_MALLOC_ARENA_SIZE

Size of the minimal libc malloc arena

Type: int

Help

Indicate the size of the memory arena used for minimal libc’s malloc() implementation. This size value must be compatible with a sys_mem_pool definition with nmax of 1 and minsz of 16.

Direct dependencies

!NEWLIB_LIBC && !NATIVE_APPLICATION

(Includes any dependencies from ifs and menus.)

Defaults

  • 0

Kconfig definition

At lib/libc/Kconfig:68

Included via Kconfig:10Kconfig.zephyr:42lib/Kconfig:7

Menu path: (Top) → C Library

config MINIMAL_LIBC_MALLOC_ARENA_SIZE
    int "Size of the minimal libc malloc arena"
    default 0
    depends on !NEWLIB_LIBC && !NATIVE_APPLICATION
    help
      Indicate the size of the memory arena used for minimal libc's
      malloc() implementation. This size value must be compatible with
      a sys_mem_pool definition with nmax of 1 and minsz of 16.

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