CONFIG_NEWLIB_LIBC_ALIGNED_HEAP_SIZE
Newlib aligned heap size
Type: int
Help
If user mode is enabled, and MPU hardware has requirements that
regions be sized to a power of two and aligned to their size,
and user mode threads need to access this heap, then this is necessary
to properly define an MPU region for the heap.
If this is left at 0, then remaining system RAM will be used for this
area and it may not be possible to program it as an MPU region.
Direct dependencies
MPU_REQUIRES_POWER_OF_TWO_ALIGNMENT
&& USERSPACE
&& NEWLIB_LIBC
(Includes any dependencies from ifs and menus.)
Default
0
Kconfig definition
At <Zephyr>/lib/libc/Kconfig:87
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:43
→ <Zephyr>/lib/Kconfig:4
Menu path: (Top) → C Library
config NEWLIB_LIBC_ALIGNED_HEAP_SIZE
int "Newlib aligned heap size"
default 0
depends on MPU_REQUIRES_POWER_OF_TWO_ALIGNMENT && USERSPACE && NEWLIB_LIBC
help
If user mode is enabled, and MPU hardware has requirements that
regions be sized to a power of two and aligned to their size,
and user mode threads need to access this heap, then this is necessary
to properly define an MPU region for the heap.
If this is left at 0, then remaining system RAM will be used for this
area and it may not be possible to program it as an MPU region.
(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)