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:
Xiang Xiao
2020-08-13 18:17:29 +08:00
committed by liuguo09
parent 154d6bc556
commit b0797263ca
612 changed files with 420 additions and 993 deletions
+1 -1
View File
@@ -124,7 +124,7 @@ Command Depends on Configuration Can Be Disabl
``shutdown`` ``CONFIG_BOARDCTL_POWEROFF`` \|\| ``CONFIG_NSH_DISABLE_SHUTDOWN``
``CONFIG_BOARD_RESET``
``sleep`` . ``CONFIG_NSH_DISABLE_SLEEP``
``source`` ``CONFIG_NFILE_STREAMS > 0`` && ``CONFIG_NSH_DISABLE_SOURCE``
``source`` ``CONFIG_FILE_STREAM`` && ``CONFIG_NSH_DISABLE_SOURCE``
! ``CONFIG_NSH_DISABLESCRIPT``
``telnetd`` ``CONFIG_NSH_TELNET`` ``CONFIG_NSH_DISABLE_TELNETD``
``test`` ! ``CONFIG_NSH_DISABLESCRIPT`` ``CONFIG_NSH_DISABLE_TEST``