summaryrefslogtreecommitdiff
path: root/nuttx/configs/olimex-lpc1766stk/ftpc/defconfig
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-06-04 20:13:03 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-06-04 20:13:03 +0000
commitb20e2a5a26d3c9bbbea0dbea71227085bb8a135a (patch)
treed37a43a33c528c0c8240263a2ad0d0ce50e4bc55 /nuttx/configs/olimex-lpc1766stk/ftpc/defconfig
parent77a8ce12ae20be575adaf975d881da56f4b3b6dc (diff)
downloadpx4-nuttx-b20e2a5a26d3c9bbbea0dbea71227085bb8a135a.tar.gz
px4-nuttx-b20e2a5a26d3c9bbbea0dbea71227085bb8a135a.tar.bz2
px4-nuttx-b20e2a5a26d3c9bbbea0dbea71227085bb8a135a.zip
Fix more FTP bugs
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3668 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/olimex-lpc1766stk/ftpc/defconfig')
-rwxr-xr-xnuttx/configs/olimex-lpc1766stk/ftpc/defconfig5
1 files changed, 3 insertions, 2 deletions
diff --git a/nuttx/configs/olimex-lpc1766stk/ftpc/defconfig b/nuttx/configs/olimex-lpc1766stk/ftpc/defconfig
index 53301f165..2ba0a0277 100755
--- a/nuttx/configs/olimex-lpc1766stk/ftpc/defconfig
+++ b/nuttx/configs/olimex-lpc1766stk/ftpc/defconfig
@@ -435,7 +435,8 @@ CONFIG_ARCH_BZERO=n
# CONFIG_NFILE_DESCRIPTORS - The maximum number of file
# descriptors (one for each open)
# CONFIG_NFILE_STREAMS - The maximum number of streams that
-# can be fopen'ed
+# can be fopen'ed or fdopend'ed. This needs to be pretty
+# large for ftpc because it uses two streams per socket.
# CONFIG_NAME_MAX - The maximum size of a file name.
# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate
# on fopen. (Only if CONFIG_NFILE_STREAMS > 0)
@@ -461,7 +462,7 @@ CONFIG_MAX_TASKS=16
CONFIG_MAX_TASK_ARGS=4
CONFIG_NPTHREAD_KEYS=4
CONFIG_NFILE_DESCRIPTORS=8
-CONFIG_NFILE_STREAMS=8
+CONFIG_NFILE_STREAMS=12
CONFIG_NAME_MAX=32
CONFIG_STDIO_BUFFER_SIZE=256
CONFIG_NUNGET_CHARS=2