diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-02-12 20:27:49 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-02-12 20:27:49 +0000 |
commit | a8d12f6d37d46732011e008ac8252c4a3183e182 (patch) | |
tree | 8eb364c1a43cd3a1bffca707aa107a0397f51927 /nuttx/configs | |
parent | e4f5a605d7c328e342146cec55cf233a976fadd4 (diff) | |
download | px4-nuttx-a8d12f6d37d46732011e008ac8252c4a3183e182.tar.gz px4-nuttx-a8d12f6d37d46732011e008ac8252c4a3183e182.tar.bz2 px4-nuttx-a8d12f6d37d46732011e008ac8252c4a3183e182.zip |
Fix a small RAM log bug (the RAM log still does not work)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4385 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs')
-rw-r--r-- | nuttx/configs/stm3240g-eval/nsh/defconfig | 32 | ||||
-rw-r--r-- | nuttx/configs/stm3240g-eval/nsh2/defconfig | 4 |
2 files changed, 34 insertions, 2 deletions
diff --git a/nuttx/configs/stm3240g-eval/nsh/defconfig b/nuttx/configs/stm3240g-eval/nsh/defconfig index 3aee571a4..712d25458 100644 --- a/nuttx/configs/stm3240g-eval/nsh/defconfig +++ b/nuttx/configs/stm3240g-eval/nsh/defconfig @@ -527,6 +527,38 @@ CONFIG_SCHED_WAITPID=y CONFIG_SCHED_ATEXIT=n # +# System Logging +# +# CONFIG_SYSLOG - Enables the System Logging feature. +# 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 +# + +CONFIG_SYSLOG=n +CONFIG_RAMLOG=n +CONFIG_RAMLOG_CONSOLE=n +CONFIG_RAMLOG_SYSLOG=n +#CONFIG_RAMLOG_NPOLLWAITERS +#CONFIG_RAMLOG_CONSOLE_BUFSIZE + +# # Settings for NXFLAT # # CONFIG_NXFLAT. Enable support for the NXFLAT binary format. diff --git a/nuttx/configs/stm3240g-eval/nsh2/defconfig b/nuttx/configs/stm3240g-eval/nsh2/defconfig index bdcf5c888..3afb83151 100644 --- a/nuttx/configs/stm3240g-eval/nsh2/defconfig +++ b/nuttx/configs/stm3240g-eval/nsh2/defconfig @@ -553,8 +553,8 @@ CONFIG_SCHED_ATEXIT=n CONFIG_SYSLOG=y CONFIG_RAMLOG=y -CONFIG_RAMLOG_CONSOLE=y -CONFIG_RAMLOG_SYSLOG=y= +CONFIG_RAMLOG_CONSOLE=n +CONFIG_RAMLOG_SYSLOG=y #CONFIG_RAMLOG_NPOLLWAITERS #CONFIG_RAMLOG_CONSOLE_BUFSIZE |