summaryrefslogtreecommitdiff
path: root/nuttx/Documentation
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
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')
-rw-r--r--nuttx/Documentation/NuttX.html6
-rw-r--r--nuttx/Documentation/NuttxPortingGuide.html10
2 files changed, 14 insertions, 2 deletions
diff --git a/nuttx/Documentation/NuttX.html b/nuttx/Documentation/NuttX.html
index 9c8e006af..84ba8a6ef 100644
--- a/nuttx/Documentation/NuttX.html
+++ b/nuttx/Documentation/NuttX.html
@@ -8,7 +8,7 @@
<tr align="center" bgcolor="#e4e4e4">
<td>
<h1><big><font color="#3c34ec"><i>NuttX RTOS</i></font></big></h1>
- <p>Last Updated: November 11, 2008</p>
+ <p>Last Updated: November 13, 2008</p>
</td>
</tr>
</table>
@@ -1185,6 +1185,10 @@ nuttx-0.3.18 2008-xx-xx Gregory Nutt &lt;spudmonkey@racsa.co.cr&gt;
gcc 3.4.5 toolchain (which has very limit SH-1 support to begin with), or perhaps with the
CMON debugger. At any rate, I have exhausted all of the energy that I am willing to put
into this cool old processor for the time being.
+ * Renamed configuration item CONFIG_PROC_STACK_SIZE as CONFIG_IDLETHREAD_STACKSIZE: It now
+ only controls the size of the stack for the IDLE thread. Added CONFIG_USERMAIN_STACKSIZE:
+ This is the size of stack used with the user_start() thread is created. The two stacks
+ no longer have to be the same.
pascal-0.1.3 2008-xx-xx Gregory Nutt &lt;spudmonkey@racsa.co.cr&gt;
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