summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-03-06 17:47:07 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-03-06 17:47:07 -0600
commit6d5fc053bfffeba6cd2b2b9b133b1828e2f7df12 (patch)
tree857ce7eae1f68e21c19b08fac08d9998eb8ef5ee
parent46a62d58378d64244c864cdc819397c770296f61 (diff)
downloadnuttx-6d5fc053bfffeba6cd2b2b9b133b1828e2f7df12.tar.gz
nuttx-6d5fc053bfffeba6cd2b2b9b133b1828e2f7df12.tar.bz2
nuttx-6d5fc053bfffeba6cd2b2b9b133b1828e2f7df12.zip
Update NuttShell.html per recommendations from Max Kriegleder
-rw-r--r--nuttx/ChangeLog6
-rw-r--r--nuttx/Documentation/NuttShell.html6
2 files changed, 9 insertions, 3 deletions
diff --git a/nuttx/ChangeLog b/nuttx/ChangeLog
index 8aacbb0b2..6ef755bde 100644
--- a/nuttx/ChangeLog
+++ b/nuttx/ChangeLog
@@ -6942,5 +6942,7 @@
winbuild) with the latest Kconfig files (2014-3-6).
* configs/viewtool-stm32f107: Refresh all configurations with the
latest Kconfig files (2014-3-6).
- * configs/16z, mikroe-stm32f4, olimex-lpc1766stk, sim, and
- stm32f429i-disco: Refresh all configurations (2014-3-6).
+ * configs/16z, mikroe-stm32f4, olimex-lpc1766stk, px4fmu-v2_upstream,
+ sim, and stm32f429i-disco: Refresh all configurations (2014-3-6).
+ * Documentation/NuttShell.html: Update per recommendations from Max\
+ Kriegleder (2014-3-6).
diff --git a/nuttx/Documentation/NuttShell.html b/nuttx/Documentation/NuttShell.html
index 21facc51a..893189096 100644
--- a/nuttx/Documentation/NuttShell.html
+++ b/nuttx/Documentation/NuttShell.html
@@ -4021,7 +4021,7 @@ mount -t vfat /dev/ram1 /tmp
<p>
<b>Modifying the ROMFS Image</b>.
- The contents of the <code>/etc</code> directory are retained in the file <code>apps/nshlib/nsh_romfsimg.h</code> OR, if <code>CONFIG_NSH_ARCHROMFS</code> is defined, <code>include/arch/board/rcs.template</code>.
+ The contents of the <code>/etc</code> directory are retained in the file <code>apps/nshlib/nsh_romfsimg.h</code> OR, if <code>CONFIG_NSH_ARCHROMFS</code> is defined, <code>include/arch/board/nsh_romfsimg.h</code>.
In order to modify the start-up behavior, there are three things to study:
</p>
@@ -4065,6 +4065,10 @@ mount -t vfat /dev/ram1 /tmp
<code><b>rcS.template</b></code>.
The file <code>apps/nshlib/rcS.template</code> contains the general form of the <code>rcS</code> file; configured values are plugged into this template file to produce the final <code>rcS</code> file.
</p>
+ <p>
+ To generate a custom <code>rcS</code> file a copy of <code>rcS.template</code> needs to be placed at <code>tools/</code> and changed according to the desired start-up behaviour.
+ Running <code>tools/mkromfsimg.h</code> creates <code>nsh_romfsimg.h</code> which needs to be copied to <code>apps/nhslib</code> OR if <code>CONFIG_NSH_ARCHROMFS</code> is defined to <code>configs/&lt;board&gt;/include</code>.
+ </p>
</ol>
<p>