Skip to content
Commit f0216a26 authored by Keith Packard's avatar Keith Packard Committed by Carles Cufí
Browse files

libc/picolibc: Place malloc heap in noinit section if possible



When the heap is of a fixed size and there isn't a special malloc partition
in use, place the heap in uninitialized memory so that the application
doesn't spend time at startup erasing it. Picolibc malloc always clears
memory before returning it to applications, so this change will not be
visible to applications.

Signed-off-by: default avatarKeith Packard <keithp@keithp.com>
parent fd1cd21a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment