mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 08:36:24 +08:00
Move RAMLOG driver to drivers/syslog; Add ability to output debug information to any character device or file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4996 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -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>"/dev/ramlog"</code> (RAMLOG) or <code>"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>
|
||||
|
||||
Reference in New Issue
Block a user