mirror of
https://github.com/Dasharo/zephyr.git
synced 2026-03-06 14:57:20 -08:00
Enable the common malloc implementation when using picolibc. Support existing Picolibc configurations by respecting existing PICOLIBC_HEAP_SIZE settings. When PICOLIBC_HEAP_SIZE is set to a value other than -2, then *always* set COMMON_LIBC_MALLOC_ARENA_SIZE to that value. Signed-off-by: Keith Packard <keithp@keithp.com>