zephyr/lib/libc
Stephanos Ioannidis 175cc385c4 lib: picolibc: Use smaller default heap size
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>
2022-09-30 13:52:24 +00:00
..
arcmwdt lib: migrate includes to <zephyr/...> 2022-05-06 19:58:09 +02:00
armstdc lib: migrate includes to <zephyr/...> 2022-05-06 19:58:09 +02:00
minimal includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
newlib lib: libc: newlib: make sure retargetable locking is enabled in toolchain 2022-09-21 08:59:24 +00:00
picolibc lib: picolibc: Use smaller default heap size 2022-09-30 13:52:24 +00:00
CMakeLists.txt lib/libc: Add picolibc support (aarch32, aarch64 and RISC-V) [v21] 2022-06-22 13:15:55 +02:00
Kconfig teslibct: don't allow picolib tests for ARC MWDT toolchain 2022-08-16 08:23:22 +00:00