CONFIG_NEWLIB_LIBC_MIN_REQUIRED_HEAP_SIZE

Newlib minimum required heap size

Type: int

Help

Specifies the amount of memory space that must be available for the
newlib heap. An assertion failure message will be displayed during
initialization if the memory space available for the newlib heap is
smaller than this value.

Direct dependencies

NEWLIB_LIBC

(Includes any dependencies from ifs and menus.)

Defaults

Kconfig definition

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

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

Menu path: (Top) → C Library

config NEWLIB_LIBC_MIN_REQUIRED_HEAP_SIZE
    int "Newlib minimum required heap size"
    default 2048 if NEWLIB_LIBC_NANO
    default 8192 if !NEWLIB_LIBC_NANO
    depends on NEWLIB_LIBC
    help
      Specifies the amount of memory space that must be available for the
      newlib heap. An assertion failure message will be displayed during
      initialization if the memory space available for the newlib heap is
      smaller than this value.

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