mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 16:50:55 +08:00
Rename CONFIG_DEBUG_VERBOSE to CONFIG_DEBUG_INFO
This commit is contained in:
+8
-8
@@ -71,7 +71,7 @@
|
||||
* handlers.
|
||||
*
|
||||
* [a-z]vdbg() -- Identical to [a-z]dbg() except that it also requires that
|
||||
* CONFIG_DEBUG_VERBOSE be defined. This is intended for general debug
|
||||
* CONFIG_DEBUG_INFO be defined. This is intended for general debug
|
||||
* output that you would normally want to suppress.
|
||||
*
|
||||
* [a-z]lldbg() -- Identical to [a-z]dbg() except this is uses special
|
||||
@@ -86,7 +86,7 @@
|
||||
* example, only [a-z]lldbg() should be used in interrupt handlers.
|
||||
*
|
||||
* [a-z]llvdbg() -- Identical to [a-z]lldbg() except that it also requires that
|
||||
* CONFIG_DEBUG_VERBOSE be defined. This is intended for general debug
|
||||
* CONFIG_DEBUG_INFO be defined. This is intended for general debug
|
||||
* output that you would normally want to suppress.
|
||||
*/
|
||||
|
||||
@@ -126,7 +126,7 @@
|
||||
# define lldbg(x...)
|
||||
# endif
|
||||
|
||||
# ifdef CONFIG_DEBUG_VERBOSE
|
||||
# ifdef CONFIG_DEBUG_INFO
|
||||
# define vdbg(format, ...) \
|
||||
__arch_syslog(LOG_DEBUG, EXTRA_FMT format EXTRA_ARG, ##__VA_ARGS__)
|
||||
|
||||
@@ -137,10 +137,10 @@
|
||||
# define llvdbg(x...)
|
||||
# endif
|
||||
|
||||
# else /* CONFIG_DEBUG_VERBOSE */
|
||||
# else /* CONFIG_DEBUG_INFO */
|
||||
# define vdbg(x...)
|
||||
# define llvdbg(x...)
|
||||
# endif /* CONFIG_DEBUG_VERBOSE */
|
||||
# endif /* CONFIG_DEBUG_INFO */
|
||||
|
||||
#else /* CONFIG_DEBUG */
|
||||
|
||||
@@ -341,7 +341,7 @@
|
||||
# ifndef CONFIG_ARCH_LOWPUTC
|
||||
# define lldbg (void)
|
||||
# endif
|
||||
# ifndef CONFIG_DEBUG_VERBOSE
|
||||
# ifndef CONFIG_DEBUG_INFO
|
||||
# define vdbg (void)
|
||||
# define llvdbg (void)
|
||||
# else
|
||||
@@ -544,7 +544,7 @@
|
||||
|
||||
#ifdef CONFIG_DEBUG
|
||||
# define dbgdumpbuffer(m,b,n) lib_dumpbuffer(m,b,n)
|
||||
# ifdef CONFIG_DEBUG_VERBOSE
|
||||
# ifdef CONFIG_DEBUG_INFO
|
||||
# define vdbgdumpbuffer(m,b,n) lib_dumpbuffer(m,b,n)
|
||||
# else
|
||||
# define vdbgdumpbuffer(m,b,n)
|
||||
@@ -691,7 +691,7 @@ int dbg(const char *format, ...);
|
||||
int lldbg(const char *format, ...);
|
||||
# endif
|
||||
|
||||
# ifdef CONFIG_DEBUG_VERBOSE
|
||||
# ifdef CONFIG_DEBUG_INFO
|
||||
int vdbg(const char *format, ...);
|
||||
|
||||
# ifdef CONFIG_ARCH_LOWPUTC
|
||||
|
||||
@@ -73,7 +73,7 @@
|
||||
* When SPI_SELECT is called with devid=SPIDEV_MUX.
|
||||
*
|
||||
* Other settings that effect the driver:
|
||||
* CONFIG_DEBUG_SPI -- With CONFIG_DEBUG and CONFIG_DEBUG_VERBOSE,
|
||||
* CONFIG_DEBUG_SPI -- With CONFIG_DEBUG and CONFIG_DEBUG_INFO,
|
||||
* this will enable debug output from the PGA117 driver.
|
||||
*/
|
||||
|
||||
|
||||
@@ -68,7 +68,7 @@
|
||||
/* Configuration ************************************************************/
|
||||
/* CONFIG_AUDIO - Enables Audio driver support
|
||||
* CONFIG_DEBUG_AUDIO - If enabled (with CONFIG_DEBUG and, optionally,
|
||||
* CONFIG_DEBUG_VERBOSE), this will generate output that can be used to
|
||||
* CONFIG_DEBUG_INFO), this will generate output that can be used to
|
||||
* debug Audio drivers.
|
||||
*/
|
||||
|
||||
|
||||
+1
-1
@@ -73,7 +73,7 @@
|
||||
* motor. If the hardware will support a fixed pulse count, then this
|
||||
* configuration should be set to enable the capability.
|
||||
* CONFIG_DEBUG_PWM - If enabled (with CONFIG_DEBUG and, optionally,
|
||||
* CONFIG_DEBUG_VERBOSE), this will generate output that can be use dto
|
||||
* CONFIG_DEBUG_INFO), this will generate output that can be use dto
|
||||
* debug the PWM driver.
|
||||
*/
|
||||
|
||||
|
||||
@@ -70,13 +70,13 @@
|
||||
*/
|
||||
|
||||
#ifndef CONFIG_DEBUG
|
||||
# undef CONFIG_DEBUG_VERBOSE
|
||||
# undef CONFIG_DEBUG_INFO
|
||||
# undef CONFIG_DEBUG_SPI
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_DEBUG_SPI
|
||||
# define spidbg lldbg
|
||||
# ifdef CONFIG_DEBUG_VERBOSE
|
||||
# ifdef CONFIG_DEBUG_INFO
|
||||
# define spivdbg lldbg
|
||||
# else
|
||||
# define spivdbg(x...)
|
||||
|
||||
@@ -57,13 +57,13 @@
|
||||
*/
|
||||
|
||||
#ifndef CONFIG_DEBUG
|
||||
# undef CONFIG_DEBUG_VERBOSE
|
||||
# undef CONFIG_DEBUG_INFO
|
||||
# undef CONFIG_DEBUG_SPI
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_DEBUG_SPI
|
||||
# define spidbg lldbg
|
||||
# ifdef CONFIG_DEBUG_VERBOSE
|
||||
# ifdef CONFIG_DEBUG_INFO
|
||||
# define spivdbg lldbg
|
||||
# else
|
||||
# define spivdbg(x...)
|
||||
|
||||
@@ -50,7 +50,7 @@
|
||||
|
||||
#ifndef CONFIG_DEBUG
|
||||
# undef CONFIG_DEBUG_USB
|
||||
# undef CONFIG_DEBUG_VERBOSE
|
||||
# undef CONFIG_DEBUG_INFO
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_USBHOST_TRACE
|
||||
@@ -61,7 +61,7 @@
|
||||
|
||||
#if defined(CONFIG_USBHOST_TRACE) || defined(CONFIG_DEBUG_USB)
|
||||
# define HAVE_USBHOST_TRACE 1
|
||||
# if defined(CONFIG_USBHOST_TRACE_VERBOSE) || defined(CONFIG_DEBUG_VERBOSE)
|
||||
# if defined(CONFIG_USBHOST_TRACE_VERBOSE) || defined(CONFIG_DEBUG_INFO)
|
||||
# define HAVE_USBHOST_TRACE_VERBOSE 1
|
||||
# endif
|
||||
#endif
|
||||
@@ -116,7 +116,7 @@ extern "C"
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef CONFIG_DEBUG
|
||||
# undef CONFIG_DEBUG_VERBOSE
|
||||
# undef CONFIG_DEBUG_INFO
|
||||
# undef CONFIG_DEBUG_USB
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user