mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 15:58:59 +08:00
libc/stdio: Allocate file_struct dynamically
1.Reduce the default size of task_group_s(~512B each task) 2.Scale better between simple and complex application Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> Change-Id: Ia872137504fddcf64d89c48d6f0593d76d582710
This commit is contained in:
+4
-4
@@ -1036,11 +1036,11 @@ config NFILE_DESCRIPTORS
|
||||
---help---
|
||||
The maximum number of file descriptors per task (one for each open)
|
||||
|
||||
config NFILE_STREAMS
|
||||
int "Maximum number of FILE streams"
|
||||
default 16
|
||||
config FILE_STREAM
|
||||
bool "Enable FILE stream"
|
||||
default y
|
||||
---help---
|
||||
The maximum number of streams that can be fopen'ed
|
||||
Enable the standard buffered input/output support
|
||||
|
||||
config NAME_MAX
|
||||
int "Maximum size of a file name"
|
||||
|
||||
Reference in New Issue
Block a user