apps/system/sysinfo: Ken Petit reportst that the sysinfo command's stack size is marginal. Stack size is now configurable with a default of 1024 bytes

This commit is contained in:
Gregory Nutt 2013-10-14 07:32:20 -06:00
parent c084faf159
commit d35b83668c
2 changed files with 10 additions and 3 deletions

View File

@ -10,4 +10,10 @@ config SYSTEM_SYSINFO
Enable support for the NSH sysinfo command.
if SYSTEM_SYSINFO
config SYSTEM_SYSINFO_STACKSIZE
int "NSHS sysinfo stack size"
default 1024
endif

View File

@ -46,12 +46,13 @@ ifeq ($(WINTOOL),y)
INCDIROPT = -w
endif
# Hello Application
# TODO: appname can be automatically extracted from the directory name
# NSH sysinfo command
CONFIG_SYSTEM_SYSINFO_STACKSIZE ?= 1024
APPNAME = sysinfo
PRIORITY = SCHED_PRIORITY_DEFAULT
STACKSIZE = 768
STACKSIZE = $(CONFIG_SYSTEM_SYSINFO_STACKSIZE)
ASRCS =
CSRCS = sysinfo.c