mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 06:42:32 +08:00
sched/mqueue: Reduce the initial memory consumption
Change the preallocated message and descriptor from 32/24 to 4. The total size is reduce from 1892 to 532 Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> Change-Id: I79d199465daef678986868f773876289859f42fc
This commit is contained in:
committed by
Alin Jerpelea
parent
854276285c
commit
154852acb5
@@ -26,7 +26,6 @@ CONFIG_NFILE_STREAMS=8
|
||||
CONFIG_NSH_BUILTIN_APPS=y
|
||||
CONFIG_NSH_FILEIOSIZE=512
|
||||
CONFIG_NSH_READLINE=y
|
||||
CONFIG_PREALLOC_MQ_MSGS=4
|
||||
CONFIG_PREALLOC_TIMERS=4
|
||||
CONFIG_PREALLOC_WDOGS=16
|
||||
CONFIG_PTHREAD_STACK_DEFAULT=1536
|
||||
|
||||
Reference in New Issue
Block a user