aboutsummaryrefslogtreecommitdiff
path: root/nuttx/Documentation
diff options
context:
space:
mode:
authorpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2012-08-02 00:42:46 +0000
committerpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2012-08-02 00:42:46 +0000
commit6913926a9621d7aa92c89a44d7946290d299dcde (patch)
treef5f5fb874369d5379c1bdd728e0789c499e7ce81 /nuttx/Documentation
parent20324504d5997b2ddad85ec3bfa91544c09edd2a (diff)
downloadpx4-firmware-6913926a9621d7aa92c89a44d7946290d299dcde.tar.gz
px4-firmware-6913926a9621d7aa92c89a44d7946290d299dcde.tar.bz2
px4-firmware-6913926a9621d7aa92c89a44d7946290d299dcde.zip
Move RAMLOG driver to drivers/syslog; Add ability to output debug information to any character device or file
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4996 7fd9a85b-ad96-42d3-883c-3090e2eb8679
Diffstat (limited to 'nuttx/Documentation')
-rw-r--r--nuttx/Documentation/NuttxPortingGuide.html16
-rw-r--r--nuttx/Documentation/README.html4
2 files changed, 17 insertions, 3 deletions
diff --git a/nuttx/Documentation/NuttxPortingGuide.html b/nuttx/Documentation/NuttxPortingGuide.html
index c4a6c90a7..21212a386 100644
--- a/nuttx/Documentation/NuttxPortingGuide.html
+++ b/nuttx/Documentation/NuttxPortingGuide.html
@@ -4063,7 +4063,6 @@ build
<code>CONFIG_SIG_SIGWORK</code>: The signal number that will be used to wake-up
the worker thread. Default: 4
</li>
-
<li>
<code>CONFIG_SCHED_WAITPID</code>: Enables the <a href="NuttxUserGuide.html#waitpid"><code>waitpid()</code><a> API
</li>
@@ -4090,10 +4089,23 @@ build
<li>
<code>CONFIG_SYSLOG</code>: Enables general system logging support.
</li>
+ <code>CONFIG_SYSLOG_DEVPATH</code>: The full path to the system logging device.
+ Default <code>&quot;/dev/ramlog&quot;</code> (RAMLOG) or <code>&quot;dev/ttyS1;</code> (CHARDEV).
<p>
- At present, the only system loggin device is a circular buffer in RAM.
+ At present, there are two system loggins devices available.
If <code>CONFIG_SYSLOG</code> is selected, then these options are also available.
</p>
+ <p>
+ First, any a generic character device that may be used as the SYSLOG.
+ </p>
+ <li>
+ <code>CONFIG_SYSLOG_CHAR</code>:
+ Enable the generic character device for the SYSLOG.
+ NOTE: No more than one SYSLOG device should be configured.
+ <p>
+ Alternatively, a circular buffer in RAM can be used as the SYSLOGing device.
+ The contents of this RAM buffer can be dumped using the NSH dmesg command.
+ </p>
<li>
<code>CONFIG_RAMLOG</code>: Enables the RAM logging feature
</li>
diff --git a/nuttx/Documentation/README.html b/nuttx/Documentation/README.html
index 00f85c25a..abb54ab60 100644
--- a/nuttx/Documentation/README.html
+++ b/nuttx/Documentation/README.html
@@ -8,7 +8,7 @@
<tr align="center" bgcolor="#e4e4e4">
<td>
<h1><big><font color="#3c34ec"><i>NuttX README Files</i></font></big></h1>
- <p>Last Updated: July 4, 2012</p>
+ <p>Last Updated: August 1, 2012</p>
</td>
</tr>
</table>
@@ -219,6 +219,8 @@
| | | `- <a href="http://nuttx.svn.sourceforge.net/viewvc/nuttx/trunk/nuttx/drivers/lcd/README.txt?view=log"><b><i>README.txt</i></b></a>
| | |- sercomm/
| | | `- <a href="http://nuttx.svn.sourceforge.net/viewvc/nuttx/trunk/nuttx/drivers/sercomm/README.txt?view=log">README.txt</a>
+ | | |- syslog/
+ | | | `- <a href="http://nuttx.svn.sourceforge.net/viewvc/nuttx/trunk/nuttx/drivers/syslog/README.txt?view=log">README.txt</a>
| | `- <a href="http://nuttx.svn.sourceforge.net/viewvc/nuttx/trunk/nuttx/drivers/README.txt?view=log"><b><i>README.txt</i></b></a>
| |- fs/
| | |- mmap/