Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libc/picolibc: Only enable malloc when required
When malloc is included in the build, the heap initialization code will be pulled in even if the application doesn't actually use malloc. This increases the size of executables by a few hundred bytes and delays system startup. Select COMMON_LIBC_MALLOC only when applications indicate that they require malloc by setting REQUIRES_MALLOC. Signed-off-by: Keith Packard <[email protected]>
- Loading branch information