- 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.
Direct dependencies¶
MMU
&& NEWLIB_LIBC
(Includes any dependencies from ifs and menus.)
Default¶
1048576
Kconfig definition¶
At lib/libc/Kconfig:55
Included via Kconfig:8
→ Kconfig.zephyr:33
→ lib/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.)