zephyr/lib/libc/newlib
Stephanos Ioannidis 182417f32f lib: newlib: Add minimum required heap size config
This commit adds a new `CONFIG_NEWLIB_MIN_REQUIRED_HEAP_SIZE` config
that allows user to specify the minimum required heap size for the
newlib heap, and makes `malloc_prepare` validate that the memory space
available for the newlib heap is greater than this value.

The default minimum required heap size values were empiricially
determined, so as to allow the basic standard C functions such as
`printf` and `scanf` to work properly.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2021-06-02 08:50:45 -05:00
..
include
CMakeLists.txt cmake: newlib linking flags -lc and -lgcc circular dependency 2021-01-20 09:25:38 -05:00
libc-hooks.c lib: newlib: Add minimum required heap size config 2021-06-02 08:50:45 -05:00