2017-02-10 16:32:55 +01:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
|
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
|
|
|
#
|
|
|
|
|
|
|
|
comment "Non-standard Library Support"
|
|
|
|
|
2021-08-01 09:27:08 +02:00
|
|
|
config LIBC_CRC64_FAST
|
2017-02-10 16:32:55 +01:00
|
|
|
bool "Fast CRC64"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Enable the CRC64 lookup table to compute the CRC64 faster.
|
|
|
|
|
2024-09-06 15:41:33 +02:00
|
|
|
config LIBC_CRC32_SLOW
|
|
|
|
bool "CRC32 not use table to decrease rodata size"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Optional disable the CRC32 lookup table to decrease rodata usage.
|
|
|
|
|
2021-08-01 09:27:08 +02:00
|
|
|
config LIBC_KBDCODEC
|
2017-02-10 16:32:55 +01:00
|
|
|
bool "Keyboard CODEC"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
In NuttX, a keyboard/keypad driver is simply a character driver that
|
|
|
|
may have an (optional) encoding/decoding layer on the data returned
|
|
|
|
by the character driver. A keyboard may return simple text data
|
2018-07-09 02:24:45 +02:00
|
|
|
(alphabetic, numeric, and punctuation) or control characters
|
2017-02-10 16:32:55 +01:00
|
|
|
(enter, control-C, etc.). However, in addition, most keyboards
|
|
|
|
support actions that cannot be represented as text data. Such
|
|
|
|
actions include things like cursor controls (home, up arrow,
|
|
|
|
page down, etc.), editing functions (insert, delete, etc.), volume
|
|
|
|
controls, (mute, volume up, etc.) and other special functions.
|
|
|
|
Some special encoding may be required to multiplex these two classes
|
|
|
|
of data.
|
|
|
|
|
|
|
|
This option enables the functions that implement the encoding and
|
|
|
|
decoding of keyboard data. These are the interfaces prototyped in
|
|
|
|
include/nuttx/input/kbd_codec.h. While not correctly a part of
|
|
|
|
the C library, it is included here because the decoding side of this
|
|
|
|
interface must be accessible by end user programs.
|
|
|
|
|
2021-08-01 09:27:08 +02:00
|
|
|
config LIBC_SLCDCODEC
|
2017-02-10 16:32:55 +01:00
|
|
|
bool "Segment LCD CODEC"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
In NuttX, a character-oriented, segment LCD (SLCD) driver is simply
|
|
|
|
a character device that may have an (optional) encoding/decoding
|
|
|
|
layer on the data provided to the SLCD driver. The application may
|
2018-07-09 02:24:45 +02:00
|
|
|
provide simple text data (alphabetic, numeric, and punctuation) or
|
2017-02-10 16:32:55 +01:00
|
|
|
control characters (enter, control-C, etc.). However, in addition,
|
|
|
|
most SLCDs support actions that cannot be represented as text data.
|
|
|
|
Such actions include things like cursor controls (home, up arrow,
|
|
|
|
page down, etc.) and other special functions (e.g., blinking). Some
|
|
|
|
special encoding may be required to multiplex these two classes of
|
|
|
|
data.
|
|
|
|
|
|
|
|
This option enables the functions that implement the encoding and
|
|
|
|
decoding of SLCD data. These are the interfaces prototyped in
|
|
|
|
include/nuttx/lcd/slcd_codec.h. While not correctly a part of the C
|
|
|
|
library, it is included here because the encoding side of this
|
|
|
|
interface must be accessible by end user programs.
|
2018-11-08 14:27:14 +01:00
|
|
|
|
2021-08-01 09:27:08 +02:00
|
|
|
config LIBC_ENVPATH
|
2018-11-08 14:27:14 +01:00
|
|
|
bool "Support PATH Environment Variable"
|
|
|
|
default n
|
|
|
|
depends on !DISABLE_ENVIRON
|
|
|
|
---help---
|
|
|
|
Use the contents of the common environment variable to locate executable
|
|
|
|
or library files. Default: n
|
2021-11-25 09:44:06 +01:00
|
|
|
|
2023-05-08 01:37:45 +02:00
|
|
|
config FDSAN
|
|
|
|
bool "Enable Fdsan"
|
|
|
|
default n
|
2023-05-18 11:54:34 +02:00
|
|
|
---help---
|
2023-05-08 01:37:45 +02:00
|
|
|
Enable the fdsan support
|
|
|
|
|
2023-06-05 09:43:05 +02:00
|
|
|
config FDCHECK
|
|
|
|
bool "Enable fdcheck"
|
|
|
|
default n
|
2023-06-15 23:14:52 +02:00
|
|
|
depends on SCHED_HAVE_PARENT
|
2023-06-20 15:25:59 +02:00
|
|
|
---help---
|
2023-06-05 09:43:05 +02:00
|
|
|
Enable the fdcheck support
|
|
|
|
|
2022-09-16 08:53:46 +02:00
|
|
|
config LIBC_FTOK_VFS_PATH
|
|
|
|
string "Relative path to ftok storage"
|
|
|
|
default "/var/ftok"
|
|
|
|
---help---
|
|
|
|
The relative path to where ftok will exist in the root namespace.
|
|
|
|
|
2024-03-22 17:02:59 +01:00
|
|
|
config LIBC_UNAME_DISABLE_TIMESTAMP
|
|
|
|
bool "Disable uname timestamp support"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Currently uname command will print the timestamp
|
|
|
|
when the binary was built, and it generates an issue
|
|
|
|
because two identical built binaries will have differents
|
|
|
|
hashes/CRC.
|
|
|
|
|
2023-06-11 18:03:55 +02:00
|
|
|
choice
|
|
|
|
prompt "Select memfd implementation"
|
|
|
|
|
|
|
|
config LIBC_MEMFD_SHMFS
|
|
|
|
bool "memfd base on shmfs"
|
|
|
|
depends on FS_SHMFS
|
|
|
|
|
|
|
|
config LIBC_MEMFD_TMPFS
|
|
|
|
bool "memfd base on tmpfs"
|
|
|
|
depends on FS_TMPFS
|
|
|
|
|
|
|
|
config LIBC_MEMFD_ERROR
|
|
|
|
bool "memfd return error"
|
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
2022-09-16 08:33:09 +02:00
|
|
|
config LIBC_MEM_FD_VFS_PATH
|
2022-08-07 18:17:41 +02:00
|
|
|
string "Relative path to memfd storage"
|
|
|
|
default "memfd"
|
2023-06-11 18:03:55 +02:00
|
|
|
depends on !LIBC_MEMFD_ERROR
|
2022-08-07 18:17:41 +02:00
|
|
|
---help---
|
|
|
|
The relative path to where memfd will exist in the tmpfs namespace.
|
2024-02-26 09:32:57 +01:00
|
|
|
|
|
|
|
config LIBC_MAX_PATHBUFFER
|
|
|
|
int "Maximum size of a temporary file path buffer array"
|
|
|
|
range 0 32
|
|
|
|
default 2
|
|
|
|
---help---
|
|
|
|
This value is the maximum size of the buffer that will hold the full
|
|
|
|
file path.
|
2024-08-20 08:14:22 +02:00
|
|
|
|
|
|
|
config LIBC_PATHBUFFER_MALLOC
|
|
|
|
bool "Enable malloc pathbuffer"
|
|
|
|
default y
|
|
|
|
---help---
|
|
|
|
Enable malloc path buffer from the heap when pathbuffer is insufficient.
|