c869bc5348
Since 7a046358d9
the top-level COPYING
file has been deleted and replaced by DISCLAIMER, LICENSE, and NOTICE
files. However, some references to the old COPYING file remained in
Kconfig help text and documentation.
Documentation/contributing/coding_style.rst:
Documentation/introduction/about.rst:
boards/arm/lpc17xx_40xx/olimex-lpc1766stk/README.txt:
boards/arm/sam34/arduino-due/README.txt:
boards/arm/sam34/sam4l-xplained/README.txt:
boards/arm/sama5/giant-board/README.md:
boards/arm/sama5/sama5d2-xult/README.txt:
boards/arm/sama5/sama5d4-ek/README.txt:
boards/arm/samd2l2/samd20-xplained/README.txt:
boards/arm/samd2l2/samd21-xplained/README.txt:
boards/arm/samd2l2/saml21-xplained/README.txt:
boards/arm/stm32/hymini-stm32v/README.txt:
boards/arm/stm32/stm3210e-eval/README.txt:
fs/fat/Kconfig:
libs/libc/string/Kconfig:
* Updates stale references to the old top-level COPYING file to
either LICENSE or NOTICE (or both), as appropriate in each
instance.
93 lines
2.8 KiB
Plaintext
93 lines
2.8 KiB
Plaintext
#
|
|
# For a description of the syntax of this configuration file,
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
|
#
|
|
|
|
menu "errno Decode Support"
|
|
|
|
config LIBC_STRERROR
|
|
bool "Enable strerror"
|
|
default n
|
|
---help---
|
|
strerror() is useful because it decodes 'errno' values into a human readable
|
|
strings. But it can also require a lot of memory. If this option is not
|
|
selected, strerror() will still exist in the build but it will not decode error
|
|
values. This option should be used by other logic to decide if it should use
|
|
strerror() or not. For example, the NSH application will not use strerror()
|
|
if this option is not selected; perror() will not use strerror() is this option
|
|
is not selected (see also NSH_STRERROR).
|
|
|
|
config LIBC_STRERROR_SHORT
|
|
bool "Use short error descriptions in strerror()"
|
|
default n
|
|
depends on LIBC_STRERROR
|
|
---help---
|
|
If this option is selected, then strerror() will use a shortened string when
|
|
it decodes the error. Specifically, strerror() is simply use the string that
|
|
is the common name for the error. For example, the 'errno' value of 2 will
|
|
produce the string "No such file or directory" is LIBC_STRERROR_SHORT
|
|
is not defined but the string "ENOENT" is LIBC_STRERROR_SHORT is defined.
|
|
|
|
config LIBC_PERROR_STDOUT
|
|
bool "perror() to stdout"
|
|
default n
|
|
---help---
|
|
POSIX requires that perror() provide its output on stderr. This option may
|
|
be defined, however, to provide perror() output that is serialized with
|
|
other stdout messages.
|
|
|
|
endmenu # errno Decode Support
|
|
|
|
menu "memcpy/memset Options"
|
|
|
|
config MEMCPY_VIK
|
|
bool "Vik memcpy()"
|
|
default n
|
|
depends on !LIBC_ARCH_MEMCPY
|
|
---help---
|
|
Select this option to use the optimized memcpy() function by Daniel Vik.
|
|
Select this option for improved performance at the expense of increased
|
|
size. See licensing information in the top-level LICENSE file.
|
|
|
|
if MEMCPY_VIK
|
|
|
|
config MEMCPY_PRE_INC_PTRS
|
|
bool "Pre-increment pointers"
|
|
default n
|
|
---help---
|
|
Use pre-increment of pointers. Default is post increment of pointers.
|
|
|
|
config MEMCPY_INDEXED_COPY
|
|
bool "Array indexing"
|
|
default y
|
|
---help---
|
|
Copying data using array indexing. Using this option, disables the
|
|
MEMCPY_PRE_INC_PTRS option.
|
|
|
|
config MEMCPY_64BIT
|
|
bool "64-bit memcpy()"
|
|
default n
|
|
---help---
|
|
Compiles memcpy() for architectures that support 64-bit operations
|
|
efficiently.
|
|
|
|
endif # MEMCPY_VIK
|
|
|
|
config MEMSET_OPTSPEED
|
|
bool "Optimize memset() for speed"
|
|
default n
|
|
depends on !LIBC_ARCH_MEMSET
|
|
---help---
|
|
Select this option to use a version of memcpy() optimized for speed.
|
|
Default: memcpy() is optimized for size.
|
|
|
|
config MEMSET_64BIT
|
|
bool "64-bit memset()"
|
|
default n
|
|
depends on MEMSET_OPTSPEED
|
|
---help---
|
|
Compiles memset() for architectures that support 64-bit operations
|
|
efficiently.
|
|
|
|
endmenu # memcpy/memset Options
|