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.
|
Enable support for the NSH sysinfo command.
|
||||||
|
|
||||||
if SYSTEM_SYSINFO
|
if SYSTEM_SYSINFO
|
||||||
|
|
||||||
|
config SYSTEM_SYSINFO_STACKSIZE
|
||||||
|
int "NSHS sysinfo stack size"
|
||||||
|
default 1024
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
@ -46,12 +46,13 @@ ifeq ($(WINTOOL),y)
|
|||||||
INCDIROPT = -w
|
INCDIROPT = -w
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Hello Application
|
# NSH sysinfo command
|
||||||
# TODO: appname can be automatically extracted from the directory name
|
|
||||||
|
CONFIG_SYSTEM_SYSINFO_STACKSIZE ?= 1024
|
||||||
|
|
||||||
APPNAME = sysinfo
|
APPNAME = sysinfo
|
||||||
PRIORITY = SCHED_PRIORITY_DEFAULT
|
PRIORITY = SCHED_PRIORITY_DEFAULT
|
||||||
STACKSIZE = 768
|
STACKSIZE = $(CONFIG_SYSTEM_SYSINFO_STACKSIZE)
|
||||||
|
|
||||||
ASRCS =
|
ASRCS =
|
||||||
CSRCS = sysinfo.c
|
CSRCS = sysinfo.c
|
||||||
|
Loading…
Reference in New Issue
Block a user