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:
parent
c084faf159
commit
d35b83668c
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user