The picolibc heap size configuration (`CONFIG_PICOLIBC_HEAP_SIZE`) is used to set the statically allocated malloc heap size when userspace is enabled. The current default heap size of 1048576 bytes (MMU) and 65536 bytes (MPU) is too large for most platforms that Zephyr supports and may result in the picolibc tests being filtered out due to the increased memory footprint of the compiled image (i.e. SRAM overflow). This commit updates the default picolibc heap size to a more reasonable 16384 bytes for MMU platforms and 1024 bytes for MPU platforms. Signed-off-by: Stephanos Ioannidis <stephanos.ioannidis@nordicsemi.no> |
||
|---|---|---|
| .. | ||
| libc | ||
| open-amp | ||
| os | ||
| posix | ||
| smf | ||
| util | ||
| CMakeLists.txt | ||
| Kconfig | ||