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

MINIMAL_LIBC_MALLOC && MINIMAL_LIBC

(Includes any dependencies from ifs and menus.)

Default

  • 0

Kconfig definition

At lib/libc/Kconfig:94

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

Menu path: (Top) → C Library → Enable minimal libc malloc implementation

config MINIMAL_LIBC_MALLOC_ARENA_SIZE
    int "Size of the minimal libc malloc arena"
    default 0
    depends on MINIMAL_LIBC_MALLOC && MINIMAL_LIBC
    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.)