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.
Defaults¶
- 2048 if - NEWLIB_LIBC_NANO
- 8192 if ! - NEWLIB_LIBC_NANO
Kconfig definition¶
At <Zephyr Library>/libc/Kconfig:77
Included via Kconfig:8 → Kconfig.zephyr:43 → <Zephyr Library>/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.)