diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/system/sysinfo/Kconfig | 6 | ||||
-rw-r--r-- | apps/system/sysinfo/Makefile | 7 |
2 files changed, 10 insertions, 3 deletions
diff --git a/apps/system/sysinfo/Kconfig b/apps/system/sysinfo/Kconfig index 1f106dc8a..3d9bc56de 100644 --- a/apps/system/sysinfo/Kconfig +++ b/apps/system/sysinfo/Kconfig @@ -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 + diff --git a/apps/system/sysinfo/Makefile b/apps/system/sysinfo/Makefile index eb788b01a..bbac0415b 100644 --- a/apps/system/sysinfo/Makefile +++ b/apps/system/sysinfo/Makefile @@ -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 |