nuttx/drivers/pipes/Kconfig
Xiang Xiao 01a234bfb1 pipe: Add DEV_PIPE_VFS_PATH to specify the pipe location
and put into /var/pipe by default like other pseudo device

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-02-05 23:37:44 +01:00

44 lines
1.0 KiB
Plaintext

#
# For a description of the syntax of this configuration file,
# see the file kconfig-language.txt in the NuttX tools repository.
#
menuconfig PIPES
bool "FIFO and named pipe drivers"
default n
---help---
FIFO and named pipe drivers. Standard interfaces are declared
in include/unistd.h
if PIPES
config DEV_PIPE_MAXSIZE
int "Maximum pipe/FIFO size"
default 65535
---help---
Maximum configurable size of a pipe or FIFO at runtime.
config DEV_PIPE_SIZE
int "Default pipe size"
default 1024 if !DEFAULT_SMALL
default 256 if DEFAULT_SMALL
---help---
Sets the default size of the pipe ringbuffer in bytes. A value of
zero disables pipe support.
config DEV_FIFO_SIZE
int "Default FIFO size"
default 1024 if !DEFAULT_SMALL
default 256 if DEFAULT_SMALL
---help---
Sets the default size of the FIFO ringbuffer in bytes. A value of
zero disables FIFO support.
config DEV_PIPE_VFS_PATH
string "Path to the pipe device"
default "/var/pipe"
---help---
The path to where pipe device will exist in the VFS namespace.
endif # PIPES