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.
Direct dependencies¶
SOC_ESP32C3
|| SOC_ESP32
|| SOC_ESP32S2
|| SOC_ESP32C3
|| SOC_ESP32
|| SOC_ESP32S2
|| MINIMAL_LIBC
(Includes any dependencies from ifs and menus.)
Defaults¶
n
n
n
n
n
n
y if
SIZE_OPTIMIZATIONS
Kconfig definitions¶
At <Zephyr SoC>/riscv/esp32c3/Kconfig.defconfig:35
Included via Kconfig:8
→ Kconfig.zephyr:25
→ <BuildDir>/kconfig/Kconfig.soc.defconfig:1
Menu path: (Top)
config MINIMAL_LIBC_OPTIMIZE_STRING_FOR_SIZE
bool
default n
depends on SOC_ESP32C3
At <Zephyr SoC>/xtensa/esp32/Kconfig.defconfig:17
Included via Kconfig:8
→ Kconfig.zephyr:25
→ <BuildDir>/kconfig/Kconfig.soc.defconfig:1
Menu path: (Top)
config MINIMAL_LIBC_OPTIMIZE_STRING_FOR_SIZE
bool
default n
depends on SOC_ESP32
At <Zephyr SoC>/xtensa/esp32s2/Kconfig.defconfig:32
Included via Kconfig:8
→ Kconfig.zephyr:25
→ <BuildDir>/kconfig/Kconfig.soc.defconfig:1
Menu path: (Top)
config MINIMAL_LIBC_OPTIMIZE_STRING_FOR_SIZE
bool
default n
depends on SOC_ESP32S2
At <Zephyr SoC>/riscv/esp32c3/Kconfig.defconfig:35
Included via Kconfig:8
→ Kconfig.zephyr:27
Menu path: (Top)
config MINIMAL_LIBC_OPTIMIZE_STRING_FOR_SIZE
bool
default n
depends on SOC_ESP32C3
At <Zephyr SoC>/xtensa/esp32/Kconfig.defconfig:17
Included via Kconfig:8
→ Kconfig.zephyr:27
Menu path: (Top)
config MINIMAL_LIBC_OPTIMIZE_STRING_FOR_SIZE
bool
default n
depends on SOC_ESP32
At <Zephyr SoC>/xtensa/esp32s2/Kconfig.defconfig:32
Included via Kconfig:8
→ Kconfig.zephyr:27
Menu path: (Top)
config MINIMAL_LIBC_OPTIMIZE_STRING_FOR_SIZE
bool
default n
depends on SOC_ESP32S2
At <Zephyr Library>/libc/Kconfig:153
Included via Kconfig:8
→ Kconfig.zephyr:43
→ <Zephyr Library>/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.)