CONFIG_NEWLIB_LIBC_MAX_MAPPED_REGION_SIZE¶
Maximum memory mapped for newlib heap
Type: int
Help¶
On MMU-based systems, indicates the maximum amount of memory which
will be used for the newlib malloc() heap. The actual amount of
memory used will be the minimum of this value and the amount of
free physical memory at kernel boot.
Default¶
1048576
Kconfig definition¶
At <Zephyr Library>/libc/Kconfig:67
Included via Kconfig:8
→ Kconfig.zephyr:43
→ <Zephyr Library>/Kconfig:4
Menu path: (Top) → C Library
config NEWLIB_LIBC_MAX_MAPPED_REGION_SIZE
int "Maximum memory mapped for newlib heap"
default 1048576
depends on MMU && NEWLIB_LIBC
help
On MMU-based systems, indicates the maximum amount of memory which
will be used for the newlib malloc() heap. The actual amount of
memory used will be the minimum of this value and the amount of
free physical memory at kernel boot.
(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)