zephyr/lib/libc/minimal
Christopher Friedt d0629e3c4e libc: malloc: log an error when malloc is called and arena size is 0
Previously, if the arena size was zero, malloc would always fail.
However, the log message was only visible if debug messages were
enabled. Logging an error will hopefully make it more obvious that
CONFIG_MINIMAL_LIBC_MALLOC_ARENA_SIZE should be >= if the minimal
libc and malloc are both used.

Fixes #26720

Signed-off-by: Christopher Friedt <chrisfriedt@gmail.com>
2020-07-20 12:48:33 +02:00
..
include lib/libc/min: Introduce simple math.h 2019-09-27 04:30:07 -07:00
source libc: malloc: log an error when malloc is called and arena size is 0 2020-07-20 12:48:33 +02:00
CMakeLists.txt libc: minimal: Add headers as system includes 2019-08-08 14:31:35 +02:00