2012-04-06 23:49:35 +08:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
2015-06-28 22:08:57 +08:00
|
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
2012-04-06 23:49:35 +08:00
|
|
|
#
|
2016-07-08 20:32:58 +08:00
|
|
|
|
2020-02-15 21:38:35 +08:00
|
|
|
menuconfig PIPES
|
|
|
|
bool "FIFO and named pipe drivers"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
FIFO and named pipe drivers. Standard interfaces are declared
|
|
|
|
in include/unistd.h
|
|
|
|
|
2020-02-08 15:30:09 +08:00
|
|
|
if PIPES
|
|
|
|
|
2016-07-20 03:34:18 +08:00
|
|
|
config DEV_PIPE_MAXSIZE
|
|
|
|
int "Maximum pipe/FIFO size"
|
2022-02-06 01:01:21 +08:00
|
|
|
default 65535
|
2016-07-20 03:34:18 +08:00
|
|
|
---help---
|
|
|
|
Maximum configurable size of a pipe or FIFO at runtime.
|
|
|
|
|
2016-07-08 20:32:58 +08:00
|
|
|
config DEV_PIPE_SIZE
|
2016-07-20 03:34:18 +08:00
|
|
|
int "Default pipe size"
|
2016-08-06 22:07:30 +08:00
|
|
|
default 1024 if !DEFAULT_SMALL
|
|
|
|
default 256 if DEFAULT_SMALL
|
2016-07-20 03:34:18 +08:00
|
|
|
---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"
|
2016-08-06 22:07:30 +08:00
|
|
|
default 1024 if !DEFAULT_SMALL
|
|
|
|
default 256 if DEFAULT_SMALL
|
2016-07-08 20:32:58 +08:00
|
|
|
---help---
|
2016-07-20 03:34:18 +08:00
|
|
|
Sets the default size of the FIFO ringbuffer in bytes. A value of
|
|
|
|
zero disables FIFO support.
|
2020-02-08 15:30:09 +08:00
|
|
|
|
2022-02-06 01:10:30 +08:00
|
|
|
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.
|
|
|
|
|
2020-02-08 15:30:09 +08:00
|
|
|
endif # PIPES
|