zephyr/lib/libc
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
..
minimal libc: minimal: mwdt: define __INT*_C() and __UINT*_C() 2021-05-25 12:55:48 -05:00
newlib lib: newlib: Add minimum required heap size config 2021-06-02 08:50:45 -05:00
CMakeLists.txt license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
Kconfig lib: newlib: Add minimum required heap size config 2021-06-02 08:50:45 -05:00