From 59625217d32d3377d7442b09a6518e48a9bee6da Mon Sep 17 00:00:00 2001 From: patacongo Date: Thu, 13 Nov 2008 21:13:53 +0000 Subject: Added CONFIG_USERMAIN_STACKSIZE git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@1227 7fd9a85b-ad96-42d3-883c-3090e2eb8679 --- nuttx/configs/ntosd-dm320/nettest/defconfig | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'nuttx/configs/ntosd-dm320/nettest/defconfig') diff --git a/nuttx/configs/ntosd-dm320/nettest/defconfig b/nuttx/configs/ntosd-dm320/nettest/defconfig index f6f0b199b9..5a4a760ccd 100644 --- a/nuttx/configs/ntosd-dm320/nettest/defconfig +++ b/nuttx/configs/ntosd-dm320/nettest/defconfig @@ -485,7 +485,13 @@ CONFIG_DM9X_ETRANS=n # CONFIG_CUSTOM_STACK - The up_ implementation will handle # all stack operations outside of the nuttx model. # CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# 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 @@ -495,6 +501,7 @@ CONFIG_BOOT_FROM_FLASH=n CONFIG_CUSTOM_STACK=n CONFIG_STACK_POINTER= CONFIG_IDLETHREAD_STACKSIZE=4096 +CONFIG_USERMAIN_STACKSIZE=4096 CONFIG_PTHREAD_STACK_MIN=256 CONFIG_PTHREAD_STACK_DEFAULT=4096 CONFIG_HEAP_BASE= -- cgit v1.2.3