:orphan: .. title:: CONFIG_MINIMAL_LIBC_OPTIMIZE_STRING_FOR_SIZE .. kconfig:: CONFIG_MINIMAL_LIBC_OPTIMIZE_STRING_FOR_SIZE CONFIG_MINIMAL_LIBC_OPTIMIZE_STRING_FOR_SIZE ############################################ *Use size optimized string functions* Type: ``bool`` Help ==== .. code-block:: none 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 =================== \ :kconfig:`SOC_ESP32C3 ` || \ :kconfig:`SOC_ESP32 ` || \ :kconfig:`SOC_ESP32S2 ` || \ :kconfig:`SOC_ESP32C3 ` || \ :kconfig:`SOC_ESP32 ` || \ :kconfig:`SOC_ESP32S2 ` || \ :kconfig:`MINIMAL_LIBC ` *(Includes any dependencies from ifs and menus.)* Defaults ======== - n - n - n - n - n - n - y if \ :kconfig:`SIZE_OPTIMIZATIONS ` Kconfig definitions =================== At ``/riscv/esp32c3/Kconfig.defconfig:35`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:25`` → ``/kconfig/Kconfig.soc.defconfig:1`` Menu path: (Top) .. code-block:: kconfig config MINIMAL_LIBC_OPTIMIZE_STRING_FOR_SIZE bool default n depends on SOC_ESP32C3 ---- At ``/xtensa/esp32/Kconfig.defconfig:17`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:25`` → ``/kconfig/Kconfig.soc.defconfig:1`` Menu path: (Top) .. code-block:: kconfig config MINIMAL_LIBC_OPTIMIZE_STRING_FOR_SIZE bool default n depends on SOC_ESP32 ---- At ``/xtensa/esp32s2/Kconfig.defconfig:32`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:25`` → ``/kconfig/Kconfig.soc.defconfig:1`` Menu path: (Top) .. code-block:: kconfig config MINIMAL_LIBC_OPTIMIZE_STRING_FOR_SIZE bool default n depends on SOC_ESP32S2 ---- At ``/riscv/esp32c3/Kconfig.defconfig:35`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:27`` Menu path: (Top) .. code-block:: kconfig config MINIMAL_LIBC_OPTIMIZE_STRING_FOR_SIZE bool default n depends on SOC_ESP32C3 ---- At ``/xtensa/esp32/Kconfig.defconfig:17`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:27`` Menu path: (Top) .. code-block:: kconfig config MINIMAL_LIBC_OPTIMIZE_STRING_FOR_SIZE bool default n depends on SOC_ESP32 ---- At ``/xtensa/esp32s2/Kconfig.defconfig:32`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:27`` Menu path: (Top) .. code-block:: kconfig config MINIMAL_LIBC_OPTIMIZE_STRING_FOR_SIZE bool default n depends on SOC_ESP32S2 ---- At ``/libc/Kconfig:153`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:43`` → ``/Kconfig:4`` Menu path: (Top) → C Library .. code-block:: kconfig 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.)*