zephyr/lib/libc
Michael Hope 5d55730cf6 libc: minimal: add size optimized string functions
The current implementations of memcpy and memset are optimized for
performance and use a word based loop before the byte based loop.

Add a config option that skips the word based loop. This saves 120
bytes on the Cortex-M0+ which is worthwhile on small apps like a
bootloader.

Enable by default if SIZE_OPTIMIZATIONS is set.

Signed-off-by: Michael Hope <mlhx@google.com>
2021-07-06 07:40:38 -04:00
..
minimal libc: minimal: add size optimized string functions 2021-07-06 07:40:38 -04:00
newlib lib: newlib: Add minimum required heap size config 2021-06-02 08:50:45 -05:00
CMakeLists.txt
Kconfig libc: minimal: add size optimized string functions 2021-07-06 07:40:38 -04:00