nuttx/libs/libc/machine/arm/armv7-m/Kconfig
Xiang Xiao 4c3232a229 libc/machine: Fix ARMV[7|8]M_STRING_FUNCTION typo error in Kconfig
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-08-30 12:28:41 +03:00

77 lines
1.9 KiB
Plaintext

#
# For a description of the syntax of this configuration file,
# see the file kconfig-language.txt in the NuttX tools repository.
#
if ARCH_ARMV7M
config ARMV7M_STRING_FUNCTION
bool "Enable optimized ARMv7M specific string function"
default n
depends on ARCH_TOOLCHAIN_GNU
select ARMV7M_MEMCHR
select ARMV7M_MEMCPY
select ARMV7M_MEMSET
select ARMV7M_MEMMOVE
select ARMV7M_STRCMP
select ARMV7M_STRCPY
select ARMV7M_STRLEN
config ARMV7M_MEMCHR
bool "Enable optimized memchr() for ARMv7-M"
default n
select LIBC_ARCH_MEMCHR
depends on ARCH_TOOLCHAIN_GNU
---help---
Enable optimized ARMv7-M specific memchr() library function
config ARMV7M_MEMCPY
bool "Enable optimized memcpy() for ARMv7-M"
default n
select LIBC_ARCH_MEMCPY
depends on ARCH_TOOLCHAIN_GNU
---help---
Enable optimized ARMv7-M specific memcpy() library function
config ARMV7M_MEMSET
bool "Enable optimized memset() for ARMv7-M"
default n
select LIBC_ARCH_MEMSET
depends on ARCH_TOOLCHAIN_GNU
---help---
Enable optimized ARMv7-M specific memset() library function
config ARMV7M_MEMMOVE
bool "Enable optimized memmove() for ARMv7-M"
default n
select LIBC_ARCH_MEMMOVE
depends on ARCH_TOOLCHAIN_GNU
---help---
Enable optimized ARMv7-M specific memmove() library function
config ARMV7M_STRCMP
bool "Enable optimized strcmp() for ARMv7-M"
default n
select LIBC_ARCH_STRCMP
depends on ARCH_TOOLCHAIN_GNU
---help---
Enable optimized ARMv7-M specific strcmp() library function
config ARMV7M_STRCPY
bool "Enable optimized strcpy() for ARMv7-M"
default n
select LIBC_ARCH_STRCPY
depends on ARCH_TOOLCHAIN_GNU
---help---
Enable optimized ARMv7-M specific strcpy() library function
config ARMV7M_STRLEN
bool "Enable optimized strlen() for ARMv7-M"
default n
select LIBC_ARCH_STRLEN
depends on ARCH_TOOLCHAIN_GNU
---help---
Enable optimized ARMv7-M specific strlen() library function
endif