summaryrefslogtreecommitdiff
path: root/nuttx/Documentation/NuttxPortingGuide.html
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-11-13 21:13:53 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-11-13 21:13:53 +0000
commit5b00da8a2750404b82cbb5a1a77ab611fb0eb530 (patch)
treec2707afd3fbcb5a875f6ec86286feac54ddc825c /nuttx/Documentation/NuttxPortingGuide.html
parenteef7fd41b4fa6afb8a2f34b57467622f0904cdb2 (diff)
downloadpx4-nuttx-5b00da8a2750404b82cbb5a1a77ab611fb0eb530.tar.gz
px4-nuttx-5b00da8a2750404b82cbb5a1a77ab611fb0eb530.tar.bz2
px4-nuttx-5b00da8a2750404b82cbb5a1a77ab611fb0eb530.zip
Added CONFIG_USERMAIN_STACKSIZE
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1227 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/Documentation/NuttxPortingGuide.html')
-rw-r--r--nuttx/Documentation/NuttxPortingGuide.html10
1 files changed, 9 insertions, 1 deletions
diff --git a/nuttx/Documentation/NuttxPortingGuide.html b/nuttx/Documentation/NuttxPortingGuide.html
index dfee32212..03b40d117 100644
--- a/nuttx/Documentation/NuttxPortingGuide.html
+++ b/nuttx/Documentation/NuttxPortingGuide.html
@@ -1761,7 +1761,15 @@ The system can be re-made subsequently by just typing <code>make</code>.
<code>CONFIG_STACK_POINTER</code>: The initial stack pointer
</li>
<li>
- <code>CONFIG_IDLETHREAD_STACKSIZE</code>: The size of the initial stack
+ <code>CONFIG_IDLETHREAD_STACKSIZE</code>: 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.
+ </li>
+ <li>
+ <code>CONFIG_USERMAIN_STACKSIZE</code>: The size of the stack to allocate
+ for the main user thread that begins at the user_start() entry point.
</li>
<li>
<code>CONFIG_PTHREAD_STACK_MIN</code>: Minimum pthread stack size