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:
@@ -6,6 +6,7 @@
|
||||
# modifications.
|
||||
#
|
||||
# CONFIG_DEV_CONSOLE is not set
|
||||
# CONFIG_FILE_STREAM is not set
|
||||
# CONFIG_STANDARD_SERIAL is not set
|
||||
CONFIG_ARCH="hc"
|
||||
CONFIG_ARCH_BOARD="demo9s12ne64"
|
||||
@@ -27,7 +28,6 @@ CONFIG_IDLETHREAD_STACKSIZE=256
|
||||
CONFIG_MAX_TASKS=8
|
||||
CONFIG_MOTOROLA_SREC=y
|
||||
CONFIG_NFILE_DESCRIPTORS=3
|
||||
CONFIG_NFILE_STREAMS=0
|
||||
CONFIG_NUNGET_CHARS=0
|
||||
CONFIG_PREALLOC_TIMERS=0
|
||||
CONFIG_PTHREAD_STACK_DEFAULT=256
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
# modifications.
|
||||
#
|
||||
# CONFIG_DEV_CONSOLE is not set
|
||||
# CONFIG_FILE_STREAM is not set
|
||||
# CONFIG_STANDARD_SERIAL is not set
|
||||
CONFIG_ARCH="hc"
|
||||
CONFIG_ARCH_BOARD="ne64badge"
|
||||
@@ -26,7 +27,6 @@ CONFIG_IDLETHREAD_STACKSIZE=256
|
||||
CONFIG_MAX_TASKS=8
|
||||
CONFIG_MOTOROLA_SREC=y
|
||||
CONFIG_NFILE_DESCRIPTORS=3
|
||||
CONFIG_NFILE_STREAMS=0
|
||||
CONFIG_NUNGET_CHARS=0
|
||||
CONFIG_PREALLOC_TIMERS=0
|
||||
CONFIG_PTHREAD_STACK_DEFAULT=256
|
||||
|
||||
Reference in New Issue
Block a user