From 2eb0a9fc4f0eb53ab87426578929d549f57237d6 Mon Sep 17 00:00:00 2001 From: patacongo Date: Thu, 2 Aug 2012 00:42:46 +0000 Subject: [PATCH] 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 --- Documentation/NuttxPortingGuide.html | 16 ++++++++++++++-- Documentation/README.html | 4 +++- 2 files changed, 17 insertions(+), 3 deletions(-) diff --git a/Documentation/NuttxPortingGuide.html b/Documentation/NuttxPortingGuide.html index c4a6c90a765..21212a38634 100644 --- a/Documentation/NuttxPortingGuide.html +++ b/Documentation/NuttxPortingGuide.html @@ -4063,7 +4063,6 @@ build CONFIG_SIG_SIGWORK: The signal number that will be used to wake-up the worker thread. Default: 4 -
  • CONFIG_SCHED_WAITPID: Enables the waitpid() API
  • @@ -4090,10 +4089,23 @@ build
  • CONFIG_SYSLOG: Enables general system logging support.
  • + CONFIG_SYSLOG_DEVPATH: The full path to the system logging device. + Default "/dev/ramlog" (RAMLOG) or "dev/ttyS1; (CHARDEV).

    - At present, the only system loggin device is a circular buffer in RAM. + At present, there are two system loggins devices available. If CONFIG_SYSLOG is selected, then these options are also available.

    +

    + First, any a generic character device that may be used as the SYSLOG. +

    +
  • + CONFIG_SYSLOG_CHAR: + Enable the generic character device for the SYSLOG. + NOTE: No more than one SYSLOG device should be configured. +

    + 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. +

  • CONFIG_RAMLOG: Enables the RAM logging feature
  • diff --git a/Documentation/README.html b/Documentation/README.html index 00f85c25ad6..abb54ab603d 100644 --- a/Documentation/README.html +++ b/Documentation/README.html @@ -8,7 +8,7 @@

    NuttX README Files

    -

    Last Updated: July 4, 2012

    +

    Last Updated: August 1, 2012

    @@ -219,6 +219,8 @@ | | | `-
    README.txt | | |- sercomm/ | | | `- README.txt + | | |- syslog/ + | | | `- README.txt | | `- README.txt | |- fs/ | | |- mmap/