CONFIG_MINIMAL_LIBC_OPTIMIZE_STRING_FOR_SIZE¶
Use size optimized string functions
Type: bool
Help¶
Enable smaller but potentially slower implementations of memcpy and
memset. On the Cortex-M0+ this reduces the total code size by 120 bytes.
Default¶
y if
SIZE_OPTIMIZATIONS
Kconfig definition¶
At <Zephyr>/lib/libc/Kconfig:141
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:41
→ <Zephyr>/lib/Kconfig:4
Menu path: (Top) → C Library
config MINIMAL_LIBC_OPTIMIZE_STRING_FOR_SIZE
bool "Use size optimized string functions"
default y if SIZE_OPTIMIZATIONS
depends on MINIMAL_LIBC
help
Enable smaller but potentially slower implementations of memcpy and
memset. On the Cortex-M0+ this reduces the total code size by 120 bytes.
(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)