summaryrefslogtreecommitdiff
path: root/nuttx/configs/xtrs/nsh/defconfig
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/configs/xtrs/nsh/defconfig')
-rw-r--r--nuttx/configs/xtrs/nsh/defconfig9
1 files changed, 8 insertions, 1 deletions
diff --git a/nuttx/configs/xtrs/nsh/defconfig b/nuttx/configs/xtrs/nsh/defconfig
index f9167cc81..316413f4d 100644
--- a/nuttx/configs/xtrs/nsh/defconfig
+++ b/nuttx/configs/xtrs/nsh/defconfig
@@ -360,7 +360,13 @@ CONFIG_EXAMPLES_NSH_FATMOUNTPT=/tmp
# CONFIG_CUSTOM_STACK - The up_ implementation will handle
# all stack operations outside of the nuttx model.
# CONFIG_STACK_POINTER - The initial stack pointer
-# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack
+# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack.
+# This is the thread that (1) performs the inital boot of the system up
+# to the point where user_start() is spawned, and (2) there after is the
+# IDLE thread that executes only when there is no other thread ready to
+# run.
+# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate
+# for the main user thread that begins at the user_start() entry point.
# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size
# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size
# CONFIG_HEAP_BASE - The beginning of the heap
@@ -369,6 +375,7 @@ CONFIG_EXAMPLES_NSH_FATMOUNTPT=/tmp
CONFIG_BOOT_FROM_FLASH=n
CONFIG_CUSTOM_STACK=n
CONFIG_IDLETHREAD_STACKSIZE=1024
+CONFIG_USERMAIN_STACKSIZE=1024
CONFIG_PTHREAD_STACK_MIN=256
CONFIG_PTHREAD_STACK_DEFAULT=1024
CONFIG_HEAP_SIZE=