summaryrefslogtreecommitdiff
path: root/nuttx/configs/README.txt
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-02-11 14:20:40 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-02-11 14:20:40 +0000
commit75e67f05d4b97efc32d95b478ec1c1f959992a4b (patch)
tree8cf471347f767130a152b249bafd7de1a6017757 /nuttx/configs/README.txt
parent4a62de545bf87610c2415218e144ddef4dd0e75c (diff)
downloadpx4-nuttx-75e67f05d4b97efc32d95b478ec1c1f959992a4b.tar.gz
px4-nuttx-75e67f05d4b97efc32d95b478ec1c1f959992a4b.tar.bz2
px4-nuttx-75e67f05d4b97efc32d95b478ec1c1f959992a4b.zip
Add logic to re-direct debug output to a sysloggin device
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4381 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/README.txt')
-rw-r--r--nuttx/configs/README.txt26
1 files changed, 26 insertions, 0 deletions
diff --git a/nuttx/configs/README.txt b/nuttx/configs/README.txt
index a69c51e7e..81473b73b 100644
--- a/nuttx/configs/README.txt
+++ b/nuttx/configs/README.txt
@@ -357,6 +357,32 @@ defconfig -- This is a configuration file similar to the Linux
CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up
the worker thread. Default: 4
+ System Logging:
+ CONFIG_SYSLOG enables general system logging support.
+
+ At present, the only system loggin device is a circular buffer in RAM.
+ If CONFIG_SYSLOG is selected, then these options are also available.
+
+ CONFIG_RAMLOG - Enables the RAM logging feature
+ CONFIG_RAMLOG_CONSOLE - Use the RAM logging device as a system console.
+ If this feature is enabled (along with CONFIG_DEV_CONSOLE), then all
+ console output will be re-directed to a circular buffer in RAM. This
+ is useful, for example, if the only console is a Telnet console. Then
+ in that case, console output from non-Telnet threads will go to the
+ circular buffer and can be viewed using the NSH 'dmesg' command.
+ CONFIG_RAMLOG_SYSLOG - Use the RAM logging device for the syslogging
+ interface. If this feature is enabled (along with CONFIG_SYSLOG),
+ then all debug output (only) will be re-directed to the circular
+ buffer in RAM. This RAM log can be view from NSH using the 'dmesg'
+ command.
+ CONFIG_RAMLOG_NPOLLWAITERS - The number of threads than can be waiting
+ for this driver on poll(). Default: 4
+
+ If CONFIG_RAMLOG_CONSOLE or CONFIG_RAMLOG_SYSLOG is selected, then the
+ following may also be provided:
+
+ CONFIG_RAMLOG_CONSOLE_BUFSIZE - Size of the console RAM log. Default: 1024
+
Kernel build options:
CONFIG_NUTTX_KERNEL - Builds NuttX as a separately compiled kernel.
CONFIG_SYS_RESERVED - Reserved system call values for use