Rename CONFIG_DEBUG_VERBOSE to CONFIG_DEBUG_INFO

This commit is contained in:
Gregory Nutt 2016-06-11 11:50:18 -06:00
parent 9c4b604074
commit 3a74a438d9
403 changed files with 716 additions and 717 deletions

View file

@ -137,7 +137,7 @@
Here is an example of USB trace output using <code>apps/examples/usbserial</code> for an LPC1768 platform with the following NuttX configuration settings:
</p>
<ul>
<li><code>CONFIG_DEBUG</code>, <code>CONFIG_DEBUG_VERBOSE</code>, <code>CONFIG_USB</code>
<li><code>CONFIG_DEBUG</code>, <code>CONFIG_DEBUG_INFO</code>, <code>CONFIG_USB</code>
<li><code>CONFIG_EXAMPLES_USBSERIAL_TRACEINIT</code>, <code>CONFIG_EXAMPLES_USBSERIAL_TRACECLASS</code>,
<code>CONFIG_EXAMPLES_USBSERIAL_TRACETRANSFERS</code>, <code>CONFIG_EXAMPLES_USBSERIAL_TRACECONTROLLER</code>,
<code>CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS</code>

15
Kconfig
View file

@ -411,16 +411,15 @@ config ARCH_HAVE_HEAPCHECK
if DEBUG
config DEBUG_VERBOSE
bool "Enable Debug Verbose Output"
comment "Debug SYSLOG Output Controls"
config CONFIG_DEBUG_INFO
bool "Enable Informational Debug Output"
default n
---help---
Enables verbose debug output (assuming debug features are enabled).
As a general rule, when DEBUG is enabled only errors will be
reported in the debug SYSLOG output. But if you also enable
DEBUG_VERBOSE, then very chatty (and often annoying) output will be
generated. This means there are two levels of debug output:
errors-only and everything.
Enables verbose "informational" debug output. If you enable
CONFIG_DEBUG_INFO, then very chatty (and often annoying) output
will be generated.
comment "Subsystem Debug Options"

View file

@ -45,9 +45,9 @@
#ifdef CONFIG_ARCH_STACKDUMP
# undef CONFIG_DEBUG
# undef CONFIG_DEBUG_VERBOSE
# undef CONFIG_DEBUG_INFO
# define CONFIG_DEBUG 1
# define CONFIG_DEBUG_VERBOSE 1
# define CONFIG_DEBUG_INFO 1
#endif
#include <stdarg.h>

View file

@ -45,9 +45,9 @@
#ifdef CONFIG_ARCH_STACKDUMP
# undef CONFIG_DEBUG
# undef CONFIG_DEBUG_VERBOSE
# undef CONFIG_DEBUG_INFO
# define CONFIG_DEBUG 1
# define CONFIG_DEBUG_VERBOSE 1
# define CONFIG_DEBUG_INFO 1
#endif
#include <stdint.h>

View file

@ -45,9 +45,9 @@
#ifdef CONFIG_ARCH_STACKDUMP
# undef CONFIG_DEBUG
# undef CONFIG_DEBUG_VERBOSE
# undef CONFIG_DEBUG_INFO
# define CONFIG_DEBUG 1
# define CONFIG_DEBUG_VERBOSE 1
# define CONFIG_DEBUG_INFO 1
#endif
#include <stdint.h>

View file

@ -45,9 +45,9 @@
#ifdef CONFIG_ARCH_STACKDUMP
# undef CONFIG_DEBUG
# undef CONFIG_DEBUG_VERBOSE
# undef CONFIG_DEBUG_INFO
# define CONFIG_DEBUG 1
# define CONFIG_DEBUG_VERBOSE 1
# define CONFIG_DEBUG_INFO 1
#endif
#include <stdint.h>

View file

@ -45,9 +45,9 @@
#ifdef CONFIG_ARCH_STACKDUMP
# undef CONFIG_DEBUG
# undef CONFIG_DEBUG_VERBOSE
# undef CONFIG_DEBUG_INFO
# define CONFIG_DEBUG 1
# define CONFIG_DEBUG_VERBOSE 1
# define CONFIG_DEBUG_INFO 1
#endif
#include <stdint.h>

View file

@ -45,9 +45,9 @@
#ifdef CONFIG_ARCH_STACKDUMP
# undef CONFIG_DEBUG
# undef CONFIG_DEBUG_VERBOSE
# undef CONFIG_DEBUG_INFO
# define CONFIG_DEBUG 1
# define CONFIG_DEBUG_VERBOSE 1
# define CONFIG_DEBUG_INFO 1
#endif
#include <stdint.h>

View file

@ -45,9 +45,9 @@
#ifdef CONFIG_ARCH_STACKDUMP
# undef CONFIG_DEBUG
# undef CONFIG_DEBUG_VERBOSE
# undef CONFIG_DEBUG_INFO
# define CONFIG_DEBUG 1
# define CONFIG_DEBUG_VERBOSE 1
# define CONFIG_DEBUG_INFO 1
#endif
#include <stdint.h>

View file

@ -45,9 +45,9 @@
#ifdef CONFIG_ARCH_STACKDUMP
# undef CONFIG_DEBUG
# undef CONFIG_DEBUG_VERBOSE
# undef CONFIG_DEBUG_INFO
# define CONFIG_DEBUG 1
# define CONFIG_DEBUG_VERBOSE 1
# define CONFIG_DEBUG_INFO 1
#endif
#include <stdint.h>

View file

@ -45,9 +45,9 @@
#ifdef CONFIG_ARCH_STACKDUMP
# undef CONFIG_DEBUG
# undef CONFIG_DEBUG_VERBOSE
# undef CONFIG_DEBUG_INFO
# define CONFIG_DEBUG 1
# define CONFIG_DEBUG_VERBOSE 1
# define CONFIG_DEBUG_INFO 1
#endif
#include <stdint.h>

View file

@ -45,9 +45,9 @@
#ifdef CONFIG_ARCH_STACKDUMP
# undef CONFIG_DEBUG
# undef CONFIG_DEBUG_VERBOSE
# undef CONFIG_DEBUG_INFO
# define CONFIG_DEBUG 1
# define CONFIG_DEBUG_VERBOSE 1
# define CONFIG_DEBUG_INFO 1
#endif
#include <stdint.h>

View file

@ -45,9 +45,9 @@
#ifdef CONFIG_ARCH_STACKDUMP
# undef CONFIG_DEBUG
# undef CONFIG_DEBUG_VERBOSE
# undef CONFIG_DEBUG_INFO
# define CONFIG_DEBUG 1
# define CONFIG_DEBUG_VERBOSE 1
# define CONFIG_DEBUG_INFO 1
#endif
#include <stdint.h>

View file

@ -45,9 +45,9 @@
#ifdef CONFIG_ARCH_STACKDUMP
# undef CONFIG_DEBUG
# undef CONFIG_DEBUG_VERBOSE
# undef CONFIG_DEBUG_INFO
# define CONFIG_DEBUG 1
# define CONFIG_DEBUG_VERBOSE 1
# define CONFIG_DEBUG_INFO 1
#endif
#include <stdint.h>

View file

@ -45,9 +45,9 @@
#ifdef CONFIG_ARCH_STACKDUMP
# undef CONFIG_DEBUG
# undef CONFIG_DEBUG_VERBOSE
# undef CONFIG_DEBUG_INFO
# define CONFIG_DEBUG 1
# define CONFIG_DEBUG_VERBOSE 1
# define CONFIG_DEBUG_INFO 1
#endif
#include <stdint.h>

View file

@ -45,9 +45,9 @@
#ifdef CONFIG_ARCH_STACKDUMP
# undef CONFIG_DEBUG
# undef CONFIG_DEBUG_VERBOSE
# undef CONFIG_DEBUG_INFO
# define CONFIG_DEBUG 1
# define CONFIG_DEBUG_VERBOSE 1
# define CONFIG_DEBUG_INFO 1
#endif
#include <stdint.h>

View file

@ -45,9 +45,9 @@
#ifdef CONFIG_ARCH_STACKDUMP
# undef CONFIG_DEBUG
# undef CONFIG_DEBUG_VERBOSE
# undef CONFIG_DEBUG_INFO
# define CONFIG_DEBUG 1
# define CONFIG_DEBUG_VERBOSE 1
# define CONFIG_DEBUG_INFO 1
#endif
#include <stdint.h>

View file

@ -45,9 +45,9 @@
#ifdef CONFIG_ARCH_STACKDUMP
# undef CONFIG_DEBUG
# undef CONFIG_DEBUG_VERBOSE
# undef CONFIG_DEBUG_INFO
# define CONFIG_DEBUG 1
# define CONFIG_DEBUG_VERBOSE 1
# define CONFIG_DEBUG_INFO 1
#endif
#include <stdint.h>

View file

@ -45,9 +45,9 @@
#ifdef CONFIG_ARCH_STACKDUMP
# undef CONFIG_DEBUG
# undef CONFIG_DEBUG_VERBOSE
# undef CONFIG_DEBUG_INFO
# define CONFIG_DEBUG 1
# define CONFIG_DEBUG_VERBOSE 1
# define CONFIG_DEBUG_INFO 1
#endif
#include <stdint.h>

View file

@ -413,7 +413,7 @@ static void c5471_macassign(struct c5471_driver_s *c5471);
#ifdef CONFIG_C5471_NET_DUMPBUFFER
static inline void c5471_dumpbuffer(const char *msg, const uint8_t *buffer, unsigned int nbytes)
{
/* CONFIG_DEBUG, CONFIG_DEBUG_VERBOSE, and CONFIG_DEBUG_NET have to be
/* CONFIG_DEBUG, CONFIG_DEBUG_INFO, and CONFIG_DEBUG_NET have to be
* defined or the following does nothing.
*/

View file

@ -716,7 +716,7 @@ endif /* defined(ADC_COUNT) && (ADC_COUNT > 0) */
#ifdef ADC_HAVE_TIMER
static void adc_tim_dumpregs(struct efm32_dev_s *priv, FAR const char *msg)
{
#if defined(CONFIG_DEBUG_ANALOG) && defined(CONFIG_DEBUG_VERBOSE)
#if defined(CONFIG_DEBUG_ANALOG) && defined(CONFIG_DEBUG_INFO)
avdbg("%s:\n", msg);
avdbg(" CR1: %04x CR2: %04x SMCR: %04x DIER: %04x\n",
tim_getreg(priv, EFM32_GTIM_CR1_OFFSET),

View file

@ -84,7 +84,7 @@
#ifdef CONFIG_DEBUG_PWM
# define pwmdbg dbg
# define pwmlldbg lldbg
# ifdef CONFIG_DEBUG_VERBOSE
# ifdef CONFIG_DEBUG_INFO
# define pwmvdbg vdbg
# define pwmllvdbg llvdbg
# define pwm_dumpgpio(p,m) efm32_dumpgpio(p,m)
@ -136,7 +136,7 @@ static uint32_t pwm_getreg(struct efm32_pwmtimer_s *priv, int offset);
static void pwm_putreg(struct efm32_pwmtimer_s *priv, int offset,
uint32_t value);
#if defined(CONFIG_DEBUG_PWM) && defined(CONFIG_DEBUG_VERBOSE)
#if defined(CONFIG_DEBUG_PWM) && defined(CONFIG_DEBUG_INFO)
static void pwm_dumpregs(struct efm32_pwmtimer_s *priv, FAR const char *msg);
#else
# define pwm_dumpregs(priv,msg)
@ -323,7 +323,7 @@ static void pwm_putreg(struct efm32_pwmtimer_s *priv, int offset, uint32_t value
*
****************************************************************************/
#if defined(CONFIG_DEBUG_PWM) && defined(CONFIG_DEBUG_VERBOSE)
#if defined(CONFIG_DEBUG_PWM) && defined(CONFIG_DEBUG_INFO)
static void pwm_dumpregs(struct efm32_pwmtimer_s *priv, FAR const char *msg)
{
/* TODO debug pwm_dumpregs */

View file

@ -51,13 +51,13 @@
/* Configuration ************************************************************/
#ifndef CONFIG_DEBUG
# undef CONFIG_DEBUG_VERBOSE
# undef CONFIG_DEBUG_INFO
# undef CONFIG_EFM32_RMU_DEBUG
#endif
#ifdef CONFIG_EFM32_RMU_DEBUG
# define rmudbg lldbg
# ifdef CONFIG_DEBUG_VERBOSE
# ifdef CONFIG_DEBUG_INFO
# define rmuvdbg lldbg
# else
# define rmuvdbg(x...)

View file

@ -95,13 +95,13 @@
/* Check if SPI debug is enabled */
#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...)

View file

@ -70,7 +70,7 @@
#ifdef CONFIG_DEBUG_TIMER
# define efm32_timerdbg dbg
# define efm32_timerlldbg lldbg
# ifdef CONFIG_DEBUG_VERBOSE
# ifdef CONFIG_DEBUG_INFO
# define efm32_timervdbg vdbg
# define efm32_timerllvdbg llvdbg
# define efm32_timer_dumpgpio(p,m) efm32_dumpgpio(p,m)
@ -137,7 +137,7 @@ void efm32_timer_dumpregs(uintptr_t base, FAR const char *msg)
for (i = 0; i < EFM32_TIMER_NCC; i++)
{
#if defined(CONFIG_DEBUG_TIMER) && defined(CONFIG_DEBUG_VERBOSE)
#if defined(CONFIG_DEBUG_TIMER) && defined(CONFIG_DEBUG_INFO)
uintptr_t base_cc = base + EFM32_TIMER_CC_OFFSET(i);
#endif
efm32_timervdbg("CC%d => CTRL: %04x CCV: %04x CCVP: %04x CCVB: %04x\n",

View file

@ -85,7 +85,7 @@
#ifdef CONFIG_DEBUG_PWM
# define pwmdbg dbg
# define pwmlldbg lldbg
# ifdef CONFIG_DEBUG_VERBOSE
# ifdef CONFIG_DEBUG_INFO
# define pwmvdbg vdbg
# define pwmllvdbg llvdbg
# define pwm_dumpgpio(p,m) kinetis_pindump(p,m)
@ -126,7 +126,7 @@ struct kinetis_pwmtimer_s
static uint32_t pwm_getreg(struct kinetis_pwmtimer_s *priv, int offset);
static void pwm_putreg(struct kinetis_pwmtimer_s *priv, int offset, uint32_t value);
#if defined(CONFIG_DEBUG_PWM) && defined(CONFIG_DEBUG_VERBOSE)
#if defined(CONFIG_DEBUG_PWM) && defined(CONFIG_DEBUG_INFO)
static void pwm_dumpregs(struct kinetis_pwmtimer_s *priv, FAR const char *msg);
#else
# define pwm_dumpregs(priv,msg)
@ -260,7 +260,7 @@ static void pwm_putreg(struct kinetis_pwmtimer_s *priv, int offset, uint32_t val
*
****************************************************************************/
#if defined(CONFIG_DEBUG_PWM) && defined(CONFIG_DEBUG_VERBOSE)
#if defined(CONFIG_DEBUG_PWM) && defined(CONFIG_DEBUG_INFO)
static void pwm_dumpregs(struct kinetis_pwmtimer_s *priv, FAR const char *msg)
{
int nchannels = (priv->tpmid == 0) ? 8 : 2;

View file

@ -89,7 +89,7 @@
# define CONFIG_KINETIS_SDHC_DMAPRIO DMA_CCR_PRIMED
#endif
#if !defined(CONFIG_DEBUG_FS) || !defined(CONFIG_DEBUG_VERBOSE)
#if !defined(CONFIG_DEBUG_FS) || !defined(CONFIG_DEBUG_INFO)
# undef CONFIG_SDIO_XFRDEBUG
#endif

View file

@ -370,7 +370,7 @@ const struct trace_msg_t g_usb_trace_strings_deverror[] =
# define CONFIG_KHCI_USBDEV_BDTDEBUG 1
# define regdbg lldbg
# ifdef CONFIG_DEBUG_VERBOSE
# ifdef CONFIG_DEBUG_INFO
# define regvdbg lldbg
# else
# define regvdbg(x...)
@ -390,7 +390,7 @@ const struct trace_msg_t g_usb_trace_strings_deverror[] =
#ifdef CONFIG_KHCI_USBDEV_BDTDEBUG
# define bdtdbg lldbg
# ifdef CONFIG_DEBUG_VERBOSE
# ifdef CONFIG_DEBUG_INFO
# define bdtvdbg lldbg
# else
# define bdtvdbg(x...)

View file

@ -82,7 +82,7 @@
#ifdef CONFIG_DEBUG_PWM
# define pwmdbg dbg
# define pwmlldbg lldbg
# ifdef CONFIG_DEBUG_VERBOSE
# ifdef CONFIG_DEBUG_INFO
# define pwmvdbg vdbg
# define pwmllvdbg llvdbg
# define pwm_dumpgpio(p,m) kl_dumpgpio(p,m)
@ -122,7 +122,7 @@ struct kl_pwmtimer_s
static uint32_t pwm_getreg(struct kl_pwmtimer_s *priv, int offset);
static void pwm_putreg(struct kl_pwmtimer_s *priv, int offset, uint32_t value);
#if defined(CONFIG_DEBUG_PWM) && defined(CONFIG_DEBUG_VERBOSE)
#if defined(CONFIG_DEBUG_PWM) && defined(CONFIG_DEBUG_INFO)
static void pwm_dumpregs(struct kl_pwmtimer_s *priv, FAR const char *msg);
#else
# define pwm_dumpregs(priv,msg)
@ -253,7 +253,7 @@ static void pwm_putreg(struct kl_pwmtimer_s *priv, int offset, uint32_t value)
*
****************************************************************************/
#if defined(CONFIG_DEBUG_PWM) && defined(CONFIG_DEBUG_VERBOSE)
#if defined(CONFIG_DEBUG_PWM) && defined(CONFIG_DEBUG_INFO)
static void pwm_dumpregs(struct kl_pwmtimer_s *priv, FAR const char *msg)
{
int nchannels = (priv->tpmid == 0) ? 6 : 2;

View file

@ -67,12 +67,12 @@
*
* CONFIG_DEBUG - Define to enable general debug features
* CONFIG_DEBUG_SPI - Define to enable basic SSP debug (needs CONFIG_DEBUG)
* CONFIG_DEBUG_VERBOSE - Define to enable verbose SSP debug
* CONFIG_DEBUG_INFO - Define to enable verbose SSP debug
*/
#ifdef CONFIG_DEBUG_SPI
# define spidbg lldbg
# ifdef CONFIG_DEBUG_VERBOSE
# ifdef CONFIG_DEBUG_INFO
# define spivdbg lldbg
# else
# define spivdbg(x...)

View file

@ -76,12 +76,12 @@
*
* CONFIG_DEBUG - Define to enable general debug features
* CONFIG_DEBUG_SPI - Define to enable basic SSP debug (needs CONFIG_DEBUG)
* CONFIG_DEBUG_VERBOSE - Define to enable verbose SSP debug
* CONFIG_DEBUG_INFO - Define to enable verbose SSP debug
*/
#ifdef CONFIG_DEBUG_SPI
# define spidbg lldbg
# ifdef CONFIG_DEBUG_VERBOSE
# ifdef CONFIG_DEBUG_INFO
# define spivdbg lldbg
# else
# define spivdbg(x...)

View file

@ -77,12 +77,12 @@
*
* CONFIG_DEBUG - Define to enable general debug features
* CONFIG_DEBUG_SPI - Define to enable basic SSP debug (needs CONFIG_DEBUG)
* CONFIG_DEBUG_VERBOSE - Define to enable verbose SSP debug
* CONFIG_DEBUG_INFO - Define to enable verbose SSP debug
*/
#ifdef CONFIG_DEBUG_SPI
# define sspdbg lldbg
# ifdef CONFIG_DEBUG_VERBOSE
# ifdef CONFIG_DEBUG_INFO
# define spivdbg lldbg
# else
# define spivdbg(x...)

View file

@ -91,7 +91,7 @@
#ifdef CONFIG_DEBUG_PWM
# define pwmdbg dbg
# define pwmlldbg lldbg
# ifdef CONFIG_DEBUG_VERBOSE
# ifdef CONFIG_DEBUG_INFO
# define pwmvdbg vdbg
# define pwmllvdbg llvdbg
# define pwm_dumpgpio(p,m) stm32_dumpgpio(p,m)
@ -133,7 +133,7 @@ struct lpc11_timer_s
static uint32_t timer_getreg(struct lpc11_timer_s *priv, int offset);
static void timer_putreg(struct lpc11_timer_s *priv, int offset, uint32_t value);
#if defined(CONFIG_DEBUG_PWM) && defined(CONFIG_DEBUG_VERBOSE)
#if defined(CONFIG_DEBUG_PWM) && defined(CONFIG_DEBUG_INFO)
static void timer_dumpregs(struct lpc11_timer_s *priv, FAR const char *msg);
#else
# define timer_dumpregs(priv,msg)
@ -242,7 +242,7 @@ static void timer_putreg(struct lpc11_timer_s *priv, int offset,
*
****************************************************************************/
#if defined(CONFIG_DEBUG_PWM) && defined(CONFIG_DEBUG_VERBOSE)
#if defined(CONFIG_DEBUG_PWM) && defined(CONFIG_DEBUG_INFO)
static void timer_dumpregs(struct lpc11_timer_s *priv, FAR const char *msg)
{
pwmdbg("%s:\n", msg);

View file

@ -90,7 +90,7 @@
#ifdef CONFIG_DEBUG_PWM
# define pwmdbg dbg
# define pwmlldbg lldbg
# ifdef CONFIG_DEBUG_VERBOSE
# ifdef CONFIG_DEBUG_INFO
# define pwmvdbg vdbg
# define pwmllvdbg llvdbg
# define pwm_dumpgpio(p,m) stm32_dumpgpio(p,m)
@ -132,7 +132,7 @@ struct lpc17_mcpwmtimer_s
static uint32_t mcpwm_getreg(struct lpc17_mcpwmtimer_s *priv, int offset);
static void mcpwm_putreg(struct lpc17_mcpwmtimer_s *priv, int offset, uint32_t value);
#if defined(CONFIG_DEBUG_PWM) && defined(CONFIG_DEBUG_VERBOSE)
#if defined(CONFIG_DEBUG_PWM) && defined(CONFIG_DEBUG_INFO)
static void mcpwm_dumpregs(struct lpc17_mcpwmtimer_s *priv, FAR const char *msg);
#else
# define mcpwm_dumpregs(priv,msg)
@ -242,7 +242,7 @@ static void mcpwm_putreg(struct lpc17_mcpwmtimer_s *priv, int offset, uint32_t v
*
****************************************************************************/
#if defined(CONFIG_DEBUG_PWM) && defined(CONFIG_DEBUG_VERBOSE)
#if defined(CONFIG_DEBUG_PWM) && defined(CONFIG_DEBUG_INFO)
static void mcpwm_dumpregs(FAR struct lpc17_mcpwmtimer_s *priv,
FAR const char *msg)
{

View file

@ -108,7 +108,7 @@
#ifdef CONFIG_DEBUG_PWM
# define pwmdbg dbg
# define pwmlldbg lldbg
# ifdef CONFIG_DEBUG_VERBOSE
# ifdef CONFIG_DEBUG_INFO
# define pwmvdbg vdbg
# define pwmllvdbg llvdbg
# define pwm_dumpgpio(p,m) stm32_dumpgpio(p,m)
@ -150,7 +150,7 @@ struct lpc17_pwmtimer_s
static uint32_t pwm_getreg(struct lpc17_pwmtimer_s *priv, int offset);
static void pwm_putreg(struct lpc17_pwmtimer_s *priv, int offset, uint32_t value);
#if defined(CONFIG_DEBUG_PWM) && defined(CONFIG_DEBUG_VERBOSE)
#if defined(CONFIG_DEBUG_PWM) && defined(CONFIG_DEBUG_INFO)
static void pwm_dumpregs(struct lpc17_pwmtimer_s *priv, FAR const char *msg);
#else
# define pwm_dumpregs(priv,msg)
@ -258,7 +258,7 @@ static void pwm_putreg(struct lpc17_pwmtimer_s *priv, int offset, uint32_t value
*
****************************************************************************/
#if defined(CONFIG_DEBUG_PWM) && defined(CONFIG_DEBUG_VERBOSE)
#if defined(CONFIG_DEBUG_PWM) && defined(CONFIG_DEBUG_INFO)
static void pwm_dumpregs(struct lpc17_pwmtimer_s *priv, FAR const char *msg)
{
pwmvdbg("%s:\n", msg);

View file

@ -94,7 +94,7 @@
* operate with only a single data line (the default is to use all
* 4 SD data lines).
* CONFIG_DEBUG_SDIO - Enables some very low-level debug output
* This also requires CONFIG_DEBUG_FS and CONFIG_DEBUG_VERBOSE
* This also requires CONFIG_DEBUG_FS and CONFIG_DEBUG_INFO
*/
#if defined(CONFIG_SDIO_DMA) && !defined(CONFIG_LPC17_GPDMA)

View file

@ -76,12 +76,12 @@
*
* CONFIG_DEBUG - Define to enable general debug features
* CONFIG_DEBUG_SPI - Define to enable basic SSP debug (needs CONFIG_DEBUG)
* CONFIG_DEBUG_VERBOSE - Define to enable verbose SSP debug
* CONFIG_DEBUG_INFO - Define to enable verbose SSP debug
*/
#ifdef CONFIG_DEBUG_SPI
# define spidbg lldbg
# ifdef CONFIG_DEBUG_VERBOSE
# ifdef CONFIG_DEBUG_INFO
# define spivdbg lldbg
# else
# define spivdbg(x...)

View file

@ -77,12 +77,12 @@
*
* CONFIG_DEBUG - Define to enable general debug features
* CONFIG_DEBUG_SPI - Define to enable basic SSP debug (needs CONFIG_DEBUG)
* CONFIG_DEBUG_VERBOSE - Define to enable verbose SSP debug
* CONFIG_DEBUG_INFO - Define to enable verbose SSP debug
*/
#ifdef CONFIG_DEBUG_SPI
# define sspdbg lldbg
# ifdef CONFIG_DEBUG_VERBOSE
# ifdef CONFIG_DEBUG_INFO
# define spivdbg lldbg
# else
# define spivdbg(x...)

View file

@ -91,7 +91,7 @@
#ifdef CONFIG_DEBUG_PWM
# define pwmdbg dbg
# define pwmlldbg lldbg
# ifdef CONFIG_DEBUG_VERBOSE
# ifdef CONFIG_DEBUG_INFO
# define pwmvdbg vdbg
# define pwmllvdbg llvdbg
# define pwm_dumpgpio(p,m) stm32_dumpgpio(p,m)
@ -133,7 +133,7 @@ struct lpc17_timer_s
static uint32_t timer_getreg(struct lpc17_timer_s *priv, int offset);
static void timer_putreg(struct lpc17_timer_s *priv, int offset, uint32_t value);
#if defined(CONFIG_DEBUG_PWM) && defined(CONFIG_DEBUG_VERBOSE)
#if defined(CONFIG_DEBUG_PWM) && defined(CONFIG_DEBUG_INFO)
static void timer_dumpregs(struct lpc17_timer_s *priv, FAR const char *msg);
#else
# define timer_dumpregs(priv,msg)
@ -242,7 +242,7 @@ static void timer_putreg(struct lpc17_timer_s *priv, int offset,
*
****************************************************************************/
#if defined(CONFIG_DEBUG_PWM) && defined(CONFIG_DEBUG_VERBOSE)
#if defined(CONFIG_DEBUG_PWM) && defined(CONFIG_DEBUG_INFO)
static void timer_dumpregs(struct lpc17_timer_s *priv, FAR const char *msg)
{
pwmdbg("%s:\n", msg);

View file

@ -80,7 +80,7 @@
#ifdef CONFIG_DEBUG_SPI
# define spidbg lldbg
# ifdef CONFIG_DEBUG_VERBOSE
# ifdef CONFIG_DEBUG_INFO
# define spivdbg lldbg
# else
# define spivdbg(x...)

View file

@ -125,7 +125,7 @@
/* Simplify DEBUG checks */
#ifndef CONFIG_DEBUG
# undef CONFIG_DEBUG_VERBOSE
# undef CONFIG_DEBUG_INFO
# undef CONFIG_DEBUG_USB
#endif
@ -4887,7 +4887,7 @@ FAR struct usbhost_connection_s *lpc31_ehci_initialize(int controller)
{
FAR struct usbhost_hubport_s *hport;
uint32_t regval;
#if defined(CONFIG_DEBUG_USB) && defined(CONFIG_DEBUG_VERBOSE)
#if defined(CONFIG_DEBUG_USB) && defined(CONFIG_DEBUG_INFO)
uint16_t regval16;
unsigned int nports;
#endif
@ -5140,7 +5140,7 @@ FAR struct usbhost_connection_s *lpc31_ehci_initialize(int controller)
lpc31_putreg(EHCI_INT_ALLINTS, &HCOR->usbsts);
#if defined(CONFIG_DEBUG_USB) && defined(CONFIG_DEBUG_VERBOSE)
#if defined(CONFIG_DEBUG_USB) && defined(CONFIG_DEBUG_INFO)
/* Show the EHCI version */
regval16 = lpc31_swap16(HCCR->hciversion);

View file

@ -117,7 +117,7 @@
/* Simplify DEBUG checks */
#ifndef CONFIG_DEBUG
# undef CONFIG_DEBUG_VERBOSE
# undef CONFIG_DEBUG_INFO
# undef CONFIG_DEBUG_USB
#endif
@ -4711,7 +4711,7 @@ FAR struct usbhost_connection_s *lpc43_ehci_initialize(int controller)
{
FAR struct usbhost_hubport_s *hport;
uint32_t regval;
#if defined(CONFIG_DEBUG_USB) && defined(CONFIG_DEBUG_VERBOSE)
#if defined(CONFIG_DEBUG_USB) && defined(CONFIG_DEBUG_INFO)
uint16_t regval16;
unsigned int nports;
#endif
@ -4948,7 +4948,7 @@ FAR struct usbhost_connection_s *lpc43_ehci_initialize(int controller)
lpc43_putreg(EHCI_INT_ALLINTS, &HCOR->usbsts);
#if defined(CONFIG_DEBUG_USB) && defined(CONFIG_DEBUG_VERBOSE)
#if defined(CONFIG_DEBUG_USB) && defined(CONFIG_DEBUG_INFO)
/* Show the EHCI version */
regval16 = lpc43_swap16(HCCR->hciversion);

View file

@ -68,13 +68,13 @@
#ifdef CONFIG_DEBUG_SPI
# define spidbg lldbg
# ifdef CONFIG_DEBUG_VERBOSE
# ifdef CONFIG_DEBUG_INFO
# define spivdbg lldbg
# else
# define spivdbg(x...)
# endif
#else
# undef CONFIG_DEBUG_VERBOSE
# undef CONFIG_DEBUG_INFO
# define spidbg(x...)
# define spivdbg(x...)
#endif

View file

@ -92,7 +92,7 @@
* from the SPI address space after each write.
* CONFIG_DEBUG_SPIFI_DUMP - Debug option to dump read/write buffers. You
* probably do not want to enable this unless you want to dig through a
* *lot* of debug output! Also required CONFIG_DEBUG, CONFIG_DEBUG_VERBOSE,
* *lot* of debug output! Also required CONFIG_DEBUG, CONFIG_DEBUG_INFO,
* and CONFIG_DEBUG_FS,
*/
@ -263,7 +263,7 @@
* enable this unless you want to dig through a *lot* of debug output!
*/
#if !defined(CONFIG_DEBUG) || !defined(CONFIG_DEBUG_VERBOSE) || !defined(CONFIG_DEBUG_FS)
#if !defined(CONFIG_DEBUG) || !defined(CONFIG_DEBUG_INFO) || !defined(CONFIG_DEBUG_FS)
# undef CONFIG_DEBUG_SPIFI_DUMP
#endif

View file

@ -1369,7 +1369,7 @@ config SAM34_HSMCI_WRPROOF
config SAM34_HSMCI_XFRDEBUG
bool "HSMCI transfer debug"
depends on DEBUG_FS && DEBUG_VERBOSE
depends on DEBUG_FS && CONFIG_DEBUG_INFO
default n
---help---
Enable special debug instrumentation analyze HSMCI data transfers.
@ -1377,11 +1377,11 @@ config SAM34_HSMCI_XFRDEBUG
registers at key points in the data transfer and then dumps all of
the registers at the end of the transfer. If DEBUG_DMA is also
enabled, then DMA register will be collected as well. Requires also
DEBUG_FS and DEBUG_VERBOSE.
DEBUG_FS and CONFIG_DEBUG_INFO.
config SAM34_HSMCI_CMDDEBUG
bool "HSMCI command debug"
depends on DEBUG_FS && DEBUG_VERBOSE
depends on DEBUG_FS && CONFIG_DEBUG_INFO
default n
---help---
Enable special debug instrumentation analyze HSMCI commands. This
@ -1389,7 +1389,7 @@ config SAM34_HSMCI_CMDDEBUG
key points in the data transfer and then dumps all of the registers
at the end of the transfer. If DEBUG_DMA is also enabled, then DMA
register will be collected as well. Requires also DEBUG_FS and
DEBUG_VERBOSE.
CONFIG_DEBUG_INFO.
endmenu # HSMCI device driver options
endif # SAM34_HSMCI

View file

@ -419,7 +419,7 @@ static int sam_ioctl(struct net_driver_s *dev, int cmd, long arg);
/* PHY Initialization */
#if defined(CONFIG_DEBUG_NET) && defined(CONFIG_DEBUG_VERBOSE)
#if defined(CONFIG_DEBUG_NET) && defined(CONFIG_DEBUG_INFO)
static void sam_phydump(struct sam_emac_s *priv);
#else
# define sam_phydump(priv)
@ -2588,7 +2588,7 @@ static int sam_ioctl(struct net_driver_s *dev, int cmd, long arg)
*
****************************************************************************/
#if defined(CONFIG_DEBUG_NET) && defined(CONFIG_DEBUG_VERBOSE)
#if defined(CONFIG_DEBUG_NET) && defined(CONFIG_DEBUG_INFO)
static void sam_phydump(struct sam_emac_s *priv)
{
uint32_t regval;

View file

@ -104,7 +104,7 @@
#define SAM34_HSMCI_PRIO NVIC_SYSH_PRIORITY_DEFAULT
#if !defined(CONFIG_DEBUG_FS) || !defined(CONFIG_DEBUG_VERBOSE)
#if !defined(CONFIG_DEBUG_FS) || !defined(CONFIG_DEBUG_INFO)
# undef CONFIG_SAM34_HSMCI_CMDDEBUG
# undef CONFIG_SAM34_HSMCI_XFRDEBUG
#endif

View file

@ -137,7 +137,7 @@
*/
#ifndef CONFIG_DEBUG
# undef CONFIG_DEBUG_VERBOSE
# undef CONFIG_DEBUG_INFO
# undef CONFIG_DEBUG_SPI
# undef CONFIG_SAM34_SPI_DMADEBUG
# undef CONFIG_SAM34_SPI_REGDEBUG
@ -149,7 +149,7 @@
#ifdef CONFIG_DEBUG_SPI
# define spidbg lldbg
# ifdef CONFIG_DEBUG_VERBOSE
# ifdef CONFIG_DEBUG_INFO
# define spivdbg lldbg
# else
# define spivdbg(x...)
@ -252,7 +252,7 @@ static inline void spi_putreg(struct sam_spidev_s *spi, uint32_t value,
unsigned int offset);
static inline struct sam_spidev_s *spi_device(struct sam_spics_s *spics);
#if defined(CONFIG_DEBUG_SPI) && defined(CONFIG_DEBUG_VERBOSE)
#if defined(CONFIG_DEBUG_SPI) && defined(CONFIG_DEBUG_INFO)
static void spi_dumpregs(struct sam_spidev_s *spi, const char *msg);
#else
# define spi_dumpregs(spi,msg)
@ -520,7 +520,7 @@ static inline void spi_putreg(struct sam_spidev_s *spi, uint32_t value,
*
****************************************************************************/
#if defined(CONFIG_DEBUG_SPI) && defined(CONFIG_DEBUG_VERBOSE)
#if defined(CONFIG_DEBUG_SPI) && defined(CONFIG_DEBUG_INFO)
static void spi_dumpregs(struct sam_spidev_s *spi, const char *msg)
{
spivdbg("%s:\n", msg);

View file

@ -2857,7 +2857,7 @@ config SAMA5_HSMCI_WRPROOF
config SAMA5_HSMCI_XFRDEBUG
bool "HSMCI transfer debug"
depends on DEBUG_FS && DEBUG_VERBOSE
depends on DEBUG_FS && CONFIG_DEBUG_INFO
default n
---help---
Enable special debug instrumentation analyze HSMCI data transfers.
@ -2865,11 +2865,11 @@ config SAMA5_HSMCI_XFRDEBUG
registers at key points in the data transfer and then dumps all of
the registers at the end of the transfer. If DEBUG_DMA is also
enabled, then DMA register will be collected as well. Requires also
DEBUG_FS and DEBUG_VERBOSE.
DEBUG_FS and CONFIG_DEBUG_INFO.
config SAMA5_HSMCI_CMDDEBUG
bool "HSMCI command debug"
depends on DEBUG_FS && DEBUG_VERBOSE
depends on DEBUG_FS && CONFIG_DEBUG_INFO
default n
---help---
Enable special debug instrumentation analyze HSMCI commands. This
@ -2877,7 +2877,7 @@ config SAMA5_HSMCI_CMDDEBUG
key points in the data transfer and then dumps all of the registers
at the end of the transfer. If DEBUG_DMA is also enabled, then DMA
register will be collected as well. Requires also DEBUG_FS and
DEBUG_VERBOSE.
CONFIG_DEBUG_INFO.
config SAMA5_HSMCI_REGDEBUG
bool "HSMCI Register level debug"
@ -3907,9 +3907,9 @@ config SAMA5_TC_DEBUG
default n
---help---
Output high level Timer/Counter device debug information.
Requires also DEBUG. If this option AND DEBUG_VERBOSE are
Requires also DEBUG. If this option AND CONFIG_DEBUG_INFO are
enabled, then the system will be overwhelmed the timer debug
output. If DEBUG_VERBOSE is disabled, then debug output will
output. If CONFIG_DEBUG_INFO is disabled, then debug output will
only indicate if/when timer-related errors occur. This
latter mode is completely usable.

View file

@ -130,7 +130,7 @@
/* Simplify DEBUG checks */
#ifndef CONFIG_DEBUG
# undef CONFIG_DEBUG_VERBOSE
# undef CONFIG_DEBUG_INFO
# undef CONFIG_DEBUG_USB
#endif
@ -4701,7 +4701,7 @@ FAR struct usbhost_connection_s *sam_ehci_initialize(int controller)
FAR struct usbhost_hubport_s *hport;
irqstate_t flags;
uint32_t regval;
#if defined(CONFIG_DEBUG_USB) && defined(CONFIG_DEBUG_VERBOSE)
#if defined(CONFIG_DEBUG_USB) && defined(CONFIG_DEBUG_INFO)
uint16_t regval16;
unsigned int nports;
#endif
@ -4952,7 +4952,7 @@ FAR struct usbhost_connection_s *sam_ehci_initialize(int controller)
sam_putreg(EHCI_INT_ALLINTS, &HCOR->usbsts);
#if defined(CONFIG_DEBUG_USB) && defined(CONFIG_DEBUG_VERBOSE)
#if defined(CONFIG_DEBUG_USB) && defined(CONFIG_DEBUG_INFO)
/* Show the EHCI version */
regval16 = sam_swap16(HCCR->hciversion);

View file

@ -390,7 +390,7 @@ static int sam_ioctl(struct net_driver_s *dev, int cmd, long arg);
/* PHY Initialization */
#if defined(CONFIG_DEBUG_NET) && defined(CONFIG_DEBUG_VERBOSE)
#if defined(CONFIG_DEBUG_NET) && defined(CONFIG_DEBUG_INFO)
static void sam_phydump(struct sam_emac_s *priv);
#else
# define sam_phydump(priv)
@ -2260,7 +2260,7 @@ static int sam_ioctl(struct net_driver_s *dev, int cmd, long arg)
*
****************************************************************************/
#if defined(CONFIG_DEBUG_NET) && defined(CONFIG_DEBUG_VERBOSE)
#if defined(CONFIG_DEBUG_NET) && defined(CONFIG_DEBUG_INFO)
static void sam_phydump(struct sam_emac_s *priv)
{
uint32_t regval;

View file

@ -536,7 +536,7 @@ static int sam_ioctl(struct net_driver_s *dev, int cmd, long arg);
/* PHY Initialization */
#if defined(CONFIG_DEBUG_NET) && defined(CONFIG_DEBUG_VERBOSE)
#if defined(CONFIG_DEBUG_NET) && defined(CONFIG_DEBUG_INFO)
static void sam_phydump(struct sam_emac_s *priv);
#else
# define sam_phydump(priv)
@ -3014,7 +3014,7 @@ static int sam_ioctl(struct net_driver_s *dev, int cmd, long arg)
*
****************************************************************************/
#if defined(CONFIG_DEBUG_NET) && defined(CONFIG_DEBUG_VERBOSE)
#if defined(CONFIG_DEBUG_NET) && defined(CONFIG_DEBUG_INFO)
static void sam_phydump(struct sam_emac_s *priv)
{
uint32_t regval;

View file

@ -315,7 +315,7 @@ static int sam_ioctl(struct net_driver_s *dev, int cmd, long arg);
/* PHY Initialization */
#if defined(CONFIG_DEBUG_NET) && defined(CONFIG_DEBUG_VERBOSE)
#if defined(CONFIG_DEBUG_NET) && defined(CONFIG_DEBUG_INFO)
static void sam_phydump(struct sam_gmac_s *priv);
#else
# define sam_phydump(priv)
@ -2211,7 +2211,7 @@ static int sam_ioctl(struct net_driver_s *dev, int cmd, long arg)
*
****************************************************************************/
#if defined(CONFIG_DEBUG_NET) && defined(CONFIG_DEBUG_VERBOSE)
#if defined(CONFIG_DEBUG_NET) && defined(CONFIG_DEBUG_INFO)
static void sam_phydump(struct sam_gmac_s *priv)
{
uint16_t phyval;

View file

@ -162,7 +162,7 @@
# error "This driver requires CONFIG_SDIO_BLOCKSETUP"
#endif
#if !defined(CONFIG_DEBUG_FS) || !defined(CONFIG_DEBUG_VERBOSE)
#if !defined(CONFIG_DEBUG_FS) || !defined(CONFIG_DEBUG_INFO)
# undef CONFIG_SAMA5_HSMCI_CMDDEBUG
# undef CONFIG_SAMA5_HSMCI_XFRDEBUG
#endif

View file

@ -1291,7 +1291,7 @@ static void sam_dmasetup(int lid, struct sam_dscr_s *dscr, uint8_t *buffer)
sam_putreg(g_layernext[lid], physdscr);
}
#if defined(CONFIG_DEBUG_GRAPHICS) && defined(CONFIG_DEBUG_VERBOSE)
#if defined(CONFIG_DEBUG_GRAPHICS) && defined(CONFIG_DEBUG_INFO)
/* Dump the DMA setup */
gvdbg("DMA descriptor: addr=%08x ctrl=%08x next=%08x\n",

View file

@ -403,7 +403,7 @@
#ifdef CONFIG_DEBUG_PWM
# define pwmdbg dbg
# define pwmlldbg lldbg
# ifdef CONFIG_DEBUG_VERBOSE
# ifdef CONFIG_DEBUG_INFO
# define pwmvdbg vdbg
# define pwmllvdbg llvdbg
# else
@ -480,7 +480,7 @@ static bool pwm_checkreg(FAR struct sam_pwm_s *chan, bool wr, uint32_t regval,
static uint32_t pwm_getreg(FAR struct sam_pwm_chan_s *chan, int offset);
static void pwm_putreg(FAR struct sam_pwm_chan_s *chan, int offset, uint32_t regval);
#if defined(CONFIG_DEBUG_PWM) && defined(CONFIG_DEBUG_VERBOSE)
#if defined(CONFIG_DEBUG_PWM) && defined(CONFIG_DEBUG_INFO)
static void pwm_dumpregs(FAR struct sam_pwm_chan_s *chan, FAR const char *msg);
#else
# define pwm_dumpregs(chan,msg)
@ -914,7 +914,7 @@ static void pwm_chan_putreg(struct sam_pwm_chan_s *chan, int offset,
*
****************************************************************************/
#if defined(CONFIG_DEBUG_PWM) && defined(CONFIG_DEBUG_VERBOSE)
#if defined(CONFIG_DEBUG_PWM) && defined(CONFIG_DEBUG_INFO)
static void pwm_dumpregs(struct sam_pwm_chan_s *chan, FAR const char *msg)
{
pwmvdbg("PWM: %s\n", msg);

View file

@ -130,7 +130,7 @@
*/
#ifndef CONFIG_DEBUG
# undef CONFIG_DEBUG_VERBOSE
# undef CONFIG_DEBUG_INFO
# undef CONFIG_DEBUG_SPI
# undef CONFIG_SAMA5_SPI_DMADEBUG
# undef CONFIG_SAMA5_SPI_REGDEBUG
@ -142,7 +142,7 @@
#ifdef CONFIG_DEBUG_SPI
# define spidbg lldbg
# ifdef CONFIG_DEBUG_VERBOSE
# ifdef CONFIG_DEBUG_INFO
# define spivdbg lldbg
# else
# define spivdbg(x...)
@ -243,7 +243,7 @@ static inline void spi_putreg(struct sam_spidev_s *spi, uint32_t value,
unsigned int offset);
static inline struct sam_spidev_s *spi_device(struct sam_spics_s *spics);
#if defined(CONFIG_DEBUG_SPI) && defined(CONFIG_DEBUG_VERBOSE)
#if defined(CONFIG_DEBUG_SPI) && defined(CONFIG_DEBUG_INFO)
static void spi_dumpregs(struct sam_spidev_s *spi, const char *msg);
#else
# define spi_dumpregs(spi,msg)
@ -509,7 +509,7 @@ static inline void spi_putreg(struct sam_spidev_s *spi, uint32_t value,
*
****************************************************************************/
#if defined(CONFIG_DEBUG_SPI) && defined(CONFIG_DEBUG_VERBOSE)
#if defined(CONFIG_DEBUG_SPI) && defined(CONFIG_DEBUG_INFO)
static void spi_dumpregs(struct sam_spidev_s *spi, const char *msg)
{
spivdbg("%s:\n", msg);

View file

@ -398,7 +398,7 @@
*/
#ifndef CONFIG_DEBUG
# undef CONFIG_DEBUG_VERBOSE
# undef CONFIG_DEBUG_INFO
# undef CONFIG_DEBUG_I2S
#endif
@ -416,7 +416,7 @@
#ifdef CONFIG_DEBUG_I2S
# define i2sdbg dbg
# define i2slldbg lldbg
# ifdef CONFIG_DEBUG_VERBOSE
# ifdef CONFIG_DEBUG_INFO
# define i2svdbg dbg
# define i2sllvdbg lldbg
# else
@ -539,7 +539,7 @@ static inline void ssc_putreg(struct sam_ssc_s *priv, unsigned int offset,
static inline uintptr_t ssc_physregaddr(struct sam_ssc_s *priv,
unsigned int offset);
#if defined(CONFIG_DEBUG_I2S) && defined(CONFIG_DEBUG_VERBOSE)
#if defined(CONFIG_DEBUG_I2S) && defined(CONFIG_DEBUG_INFO)
static void scc_dump_regs(struct sam_ssc_s *priv, const char *msg);
#else
# define scc_dump_regs(s,m)
@ -817,7 +817,7 @@ static inline uintptr_t ssc_physregaddr(struct sam_ssc_s *priv,
*
****************************************************************************/
#if defined(CONFIG_DEBUG_I2S) && defined(CONFIG_DEBUG_VERBOSE)
#if defined(CONFIG_DEBUG_I2S) && defined(CONFIG_DEBUG_INFO)
static void scc_dump_regs(struct sam_ssc_s *priv, const char *msg)
{
i2svdbg("SSC%d: %s\n", priv->sscno, msg);

View file

@ -103,7 +103,7 @@
* to transfer on byte. So these define a "long" timeout.
*/
#if defined(CONFIG_DEBUG_I2C) && defined(CONFIG_DEBUG_VERBOSE)
#if defined(CONFIG_DEBUG_I2C) && defined(CONFIG_DEBUG_INFO)
# define TWI_TIMEOUT_MSPB (50) /* 50 msec/byte */
#else
# define TWI_TIMEOUT_MSPB (5) /* 5 msec/byte */

View file

@ -85,14 +85,14 @@
*/
#ifndef CONFIG_DEBUG
# undef CONFIG_DEBUG_VERBOSE
# undef CONFIG_DEBUG_INFO
# undef CONFIG_DEBUG_SPI
# undef CONFIG_SAMDL_SPI_REGDEBUG
#endif
#ifdef CONFIG_DEBUG_SPI
# define spidbg lldbg
# ifdef CONFIG_DEBUG_VERBOSE
# ifdef CONFIG_DEBUG_INFO
# define spivdbg lldbg
# else
# define spivdbg(x...)
@ -175,7 +175,7 @@ static uint32_t spi_getreg32(struct sam_spidev_s *priv,
static void spi_putreg32(struct sam_spidev_s *priv, uint32_t regval,
unsigned int offset);
#if defined(CONFIG_DEBUG_SPI) && defined(CONFIG_DEBUG_VERBOSE)
#if defined(CONFIG_DEBUG_SPI) && defined(CONFIG_DEBUG_INFO)
static void spi_dumpregs(struct sam_spidev_s *priv, const char *msg);
#else
# define spi_dumpregs(priv,msg)
@ -739,7 +739,7 @@ static void spi_putreg32(struct sam_spidev_s *priv, uint32_t regval,
*
****************************************************************************/
#if defined(CONFIG_DEBUG_SPI) && defined(CONFIG_DEBUG_VERBOSE)
#if defined(CONFIG_DEBUG_SPI) && defined(CONFIG_DEBUG_INFO)
static void spi_dumpregs(struct sam_spidev_s *priv, const char *msg)
{
spivdbg("%s:\n", msg);

View file

@ -1555,9 +1555,9 @@ config SAMV7_TC_DEBUG
default n
---help---
Output high level Timer/Counter device debug information.
Requires also DEBUG. If this option AND DEBUG_VERBOSE are
Requires also DEBUG. If this option AND CONFIG_DEBUG_INFO are
enabled, then the system will be overwhelmed the timer debug
output. If DEBUG_VERBOSE is disabled, then debug output will
output. If CONFIG_DEBUG_INFO is disabled, then debug output will
only indicate if/when timer-related errors occur. This
latter mode is completely usable.
@ -1617,7 +1617,7 @@ config SAMV7_HSMCI_UNALIGNED
config SAMV7_HSMCI_XFRDEBUG
bool "HSMCI transfer debug"
depends on DEBUG_FS && DEBUG_VERBOSE
depends on DEBUG_FS && CONFIG_DEBUG_INFO
default n
---help---
Enable special debug instrumentation analyze HSMCI data transfers.
@ -1625,11 +1625,11 @@ config SAMV7_HSMCI_XFRDEBUG
registers at key points in the data transfer and then dumps all of
the registers at the end of the transfer. If DEBUG_DMA is also
enabled, then DMA register will be collected as well. Requires also
DEBUG_FS and DEBUG_VERBOSE.
DEBUG_FS and CONFIG_DEBUG_INFO.
config SAMV7_HSMCI_CMDDEBUG
bool "HSMCI command debug"
depends on DEBUG_FS && DEBUG_VERBOSE
depends on DEBUG_FS && CONFIG_DEBUG_INFO
default n
---help---
Enable special debug instrumentation analyze HSMCI commands. This
@ -1637,7 +1637,7 @@ config SAMV7_HSMCI_CMDDEBUG
key points in the data transfer and then dumps all of the registers
at the end of the transfer. If DEBUG_DMA is also enabled, then DMA
register will be collected as well. Requires also DEBUG_FS and
DEBUG_VERBOSE.
CONFIG_DEBUG_INFO.
config SAMV7_HSMCI_REGDEBUG
bool "HSMCI Register level debug"

View file

@ -639,7 +639,7 @@ static int sam_ioctl(struct net_driver_s *dev, int cmd, long arg);
/* PHY Initialization */
#if defined(CONFIG_DEBUG_NET) && defined(CONFIG_DEBUG_VERBOSE)
#if defined(CONFIG_DEBUG_NET) && defined(CONFIG_DEBUG_INFO)
static void sam_phydump(struct sam_emac_s *priv);
#else
# define sam_phydump(priv)
@ -3464,7 +3464,7 @@ static int sam_ioctl(struct net_driver_s *dev, int cmd, long arg)
*
****************************************************************************/
#if defined(CONFIG_DEBUG_NET) && defined(CONFIG_DEBUG_VERBOSE)
#if defined(CONFIG_DEBUG_NET) && defined(CONFIG_DEBUG_INFO)
static void sam_phydump(struct sam_emac_s *priv)
{
uint32_t regval;

View file

@ -98,7 +98,7 @@
# error "This driver requires CONFIG_SDIO_BLOCKSETUP"
#endif
#if !defined(CONFIG_DEBUG_FS) || !defined(CONFIG_DEBUG_VERBOSE)
#if !defined(CONFIG_DEBUG_FS) || !defined(CONFIG_DEBUG_INFO)
# undef CONFIG_SAMV7_HSMCI_CMDDEBUG
# undef CONFIG_SAMV7_HSMCI_XFRDEBUG
#endif

View file

@ -143,7 +143,7 @@
*/
#ifndef CONFIG_DEBUG
# undef CONFIG_DEBUG_VERBOSE
# undef CONFIG_DEBUG_INFO
# undef CONFIG_DEBUG_SPI
# undef CONFIG_SAMV7_QSPI_DMADEBUG
# undef CONFIG_SAMV7_QSPI_REGDEBUG
@ -155,7 +155,7 @@
#ifdef CONFIG_DEBUG_SPI
# define qspidbg lldbg
# ifdef CONFIG_DEBUG_VERBOSE
# ifdef CONFIG_DEBUG_INFO
# define qspivdbg lldbg
# else
# define qspivdbg(x...)
@ -243,7 +243,7 @@ static inline uint32_t qspi_getreg(struct sam_qspidev_s *priv,
static inline void qspi_putreg(struct sam_qspidev_s *priv, uint32_t value,
unsigned int offset);
#if defined(CONFIG_DEBUG_SPI) && defined(CONFIG_DEBUG_VERBOSE)
#if defined(CONFIG_DEBUG_SPI) && defined(CONFIG_DEBUG_INFO)
static void qspi_dumpregs(struct sam_qspidev_s *priv, const char *msg);
#else
# define qspi_dumpregs(priv,msg)
@ -474,7 +474,7 @@ static inline void qspi_putreg(struct sam_qspidev_s *priv, uint32_t value,
*
****************************************************************************/
#if defined(CONFIG_DEBUG_SPI) && defined(CONFIG_DEBUG_VERBOSE)
#if defined(CONFIG_DEBUG_SPI) && defined(CONFIG_DEBUG_INFO)
static void qspi_dumpregs(struct sam_qspidev_s *priv, const char *msg)
{
qspivdbg("%s:\n", msg);

View file

@ -125,7 +125,7 @@
*/
#ifndef CONFIG_DEBUG
# undef CONFIG_DEBUG_VERBOSE
# undef CONFIG_DEBUG_INFO
# undef CONFIG_DEBUG_SPI
# undef CONFIG_SAMV7_SPI_DMADEBUG
# undef CONFIG_SAMV7_SPI_REGDEBUG
@ -137,7 +137,7 @@
#ifdef CONFIG_DEBUG_SPI
# define spidbg lldbg
# ifdef CONFIG_DEBUG_VERBOSE
# ifdef CONFIG_DEBUG_INFO
# define spivdbg lldbg
# else
# define spivdbg(x...)
@ -238,7 +238,7 @@ static inline void spi_putreg(struct sam_spidev_s *spi, uint32_t value,
unsigned int offset);
static inline struct sam_spidev_s *spi_device(struct sam_spics_s *spics);
#if defined(CONFIG_DEBUG_SPI) && defined(CONFIG_DEBUG_VERBOSE)
#if defined(CONFIG_DEBUG_SPI) && defined(CONFIG_DEBUG_INFO)
static void spi_dumpregs(struct sam_spidev_s *spi, const char *msg);
#else
# define spi_dumpregs(spi,msg)
@ -515,7 +515,7 @@ static inline void spi_putreg(struct sam_spidev_s *spi, uint32_t value,
*
****************************************************************************/
#if defined(CONFIG_DEBUG_SPI) && defined(CONFIG_DEBUG_VERBOSE)
#if defined(CONFIG_DEBUG_SPI) && defined(CONFIG_DEBUG_INFO)
static void spi_dumpregs(struct sam_spidev_s *spi, const char *msg)
{
spivdbg("%s:\n", msg);

View file

@ -80,13 +80,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...)
@ -153,7 +153,7 @@ static uint32_t spi_getreg(struct sam_spidev_s *priv,
static void spi_putreg(struct sam_spidev_s *priv, uint32_t value,
unsigned int offset);
#if defined(CONFIG_DEBUG_SPI) && defined(CONFIG_DEBUG_VERBOSE)
#if defined(CONFIG_DEBUG_SPI) && defined(CONFIG_DEBUG_INFO)
static void spi_dumpregs(struct sam_spidev_s *priv, const char *msg);
#else
# define spi_dumpregs(priv,msg)
@ -348,7 +348,7 @@ static void spi_putreg(struct sam_spidev_s *priv, uint32_t value,
*
****************************************************************************/
#if defined(CONFIG_DEBUG_SPI) && defined(CONFIG_DEBUG_VERBOSE)
#if defined(CONFIG_DEBUG_SPI) && defined(CONFIG_DEBUG_INFO)
static void spi_dumpregs(struct sam_spidev_s *priv, const char *msg)
{
spivdbg("%s:\n", msg);

View file

@ -371,7 +371,7 @@
*/
#ifndef CONFIG_DEBUG
# undef CONFIG_DEBUG_VERBOSE
# undef CONFIG_DEBUG_INFO
# undef CONFIG_DEBUG_I2S
#endif
@ -389,7 +389,7 @@
#ifdef CONFIG_DEBUG_I2S
# define i2sdbg dbg
# define i2slldbg lldbg
# ifdef CONFIG_DEBUG_VERBOSE
# ifdef CONFIG_DEBUG_INFO
# define i2svdbg dbg
# define i2sllvdbg lldbg
# else
@ -512,7 +512,7 @@ static inline void ssc_putreg(struct sam_ssc_s *priv, unsigned int offset,
static inline uintptr_t ssc_regaddr(struct sam_ssc_s *priv,
unsigned int offset);
#if defined(CONFIG_DEBUG_I2S) && defined(CONFIG_DEBUG_VERBOSE)
#if defined(CONFIG_DEBUG_I2S) && defined(CONFIG_DEBUG_INFO)
static void scc_dump_regs(struct sam_ssc_s *priv, const char *msg);
#else
# define scc_dump_regs(s,m)
@ -789,7 +789,7 @@ static inline uintptr_t ssc_regaddr(struct sam_ssc_s *priv, unsigned int offset)
*
****************************************************************************/
#if defined(CONFIG_DEBUG_I2S) && defined(CONFIG_DEBUG_VERBOSE)
#if defined(CONFIG_DEBUG_I2S) && defined(CONFIG_DEBUG_INFO)
static void scc_dump_regs(struct sam_ssc_s *priv, const char *msg)
{
i2svdbg("SSC%d: %s\n", priv->sscno, msg);

View file

@ -99,7 +99,7 @@
* to transfer on byte. So these define a "long" timeout.
*/
#if defined(CONFIG_DEBUG_I2C) && defined(CONFIG_DEBUG_VERBOSE)
#if defined(CONFIG_DEBUG_I2C) && defined(CONFIG_DEBUG_INFO)
# define TWIHS_TIMEOUT_MSPB (50) /* 50 msec/byte */
#else
# define TWIHS_TIMEOUT_MSPB (5) /* 5 msec/byte */

View file

@ -56,7 +56,7 @@
/* Additional Configuration *********************************************************/
/* Custom debug settings used in the STM32 port. These are managed by STM32-specific
* logic and not the common logic in include/debug.h. NOTE: Some of these also
* depend on CONFIG_DEBUG_VERBOSE
* depend on CONFIG_DEBUG_INFO
*/
#ifndef CONFIG_DEBUG

View file

@ -124,7 +124,7 @@
#ifdef CONFIG_DEBUG_PWM
# define pwmdbg dbg
# define pwmlldbg lldbg
# ifdef CONFIG_DEBUG_VERBOSE
# ifdef CONFIG_DEBUG_INFO
# define pwmvdbg vdbg
# define pwmllvdbg llvdbg
# define pwm_dumpgpio(p,m) stm32_dumpgpio(p,m)
@ -204,7 +204,7 @@ struct stm32_pwmtimer_s
static uint16_t pwm_getreg(struct stm32_pwmtimer_s *priv, int offset);
static void pwm_putreg(struct stm32_pwmtimer_s *priv, int offset, uint16_t value);
#if defined(CONFIG_DEBUG_PWM) && defined(CONFIG_DEBUG_VERBOSE)
#if defined(CONFIG_DEBUG_PWM) && defined(CONFIG_DEBUG_INFO)
static void pwm_dumpregs(struct stm32_pwmtimer_s *priv, FAR const char *msg);
#else
# define pwm_dumpregs(priv,msg)
@ -969,7 +969,7 @@ static void pwm_putreg(struct stm32_pwmtimer_s *priv, int offset, uint16_t value
*
****************************************************************************/
#if defined(CONFIG_DEBUG_PWM) && defined(CONFIG_DEBUG_VERBOSE)
#if defined(CONFIG_DEBUG_PWM) && defined(CONFIG_DEBUG_INFO)
static void pwm_dumpregs(struct stm32_pwmtimer_s *priv, FAR const char *msg)
{
pwmvdbg("%s:\n", msg);

View file

@ -252,7 +252,7 @@
#endif
#ifdef CONFIG_DEBUG_SENSORS
# ifdef CONFIG_DEBUG_VERBOSE
# ifdef CONFIG_DEBUG_INFO
# define qe_dumpgpio(p,m) stm32_dumpgpio(p,m)
# else
# define qe_dumpgpio(p,m)
@ -317,7 +317,7 @@ static void stm32_putreg16(FAR struct stm32_lowerhalf_s *priv, int offset, uint1
static uint32_t stm32_getreg32(FAR struct stm32_lowerhalf_s *priv, int offset);
static void stm32_putreg32(FAR struct stm32_lowerhalf_s *priv, int offset, uint32_t value);
#if defined(CONFIG_DEBUG_SENSORS) && defined(CONFIG_DEBUG_VERBOSE)
#if defined(CONFIG_DEBUG_SENSORS) && defined(CONFIG_DEBUG_INFO)
static void stm32_dumpregs(FAR struct stm32_lowerhalf_s *priv, FAR const char *msg);
#else
# define stm32_dumpregs(priv,msg)
@ -631,7 +631,7 @@ static void stm32_putreg32(FAR struct stm32_lowerhalf_s *priv, int offset, uint3
*
****************************************************************************/
#if defined(CONFIG_DEBUG_SENSORS) && defined(CONFIG_DEBUG_VERBOSE)
#if defined(CONFIG_DEBUG_SENSORS) && defined(CONFIG_DEBUG_INFO)
static void stm32_dumpregs(FAR struct stm32_lowerhalf_s *priv, FAR const char *msg)
{
snvdbg("%s:\n", msg);

View file

@ -95,7 +95,7 @@
* CONFIG_SDM_DMAPRIO - SDIO DMA priority. This can be selecte if
* CONFIG_SDIO_DMA is enabled.
* CONFIG_SDIO_XFRDEBUG - Enables some very low-level debug output
* This also requires CONFIG_DEBUG_FS and CONFIG_DEBUG_VERBOSE
* This also requires CONFIG_DEBUG_FS and CONFIG_DEBUG_INFO
*/
#if defined(CONFIG_SDIO_DMA) && !defined(CONFIG_STM32_DMA2)

View file

@ -160,13 +160,13 @@
/* Check if (non-standard) SPI debug is enabled */
#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...)

View file

@ -56,7 +56,7 @@
/* Additional Configuration *********************************************************/
/* Custom debug settings used in the STM32L4 port. These are managed by
* STM32L4-specific logic and not the common logic in include/debug.h.
* NOTE: Some of these also depend on CONFIG_DEBUG_VERBOSE
* NOTE: Some of these also depend on CONFIG_DEBUG_INFO
*/
#ifndef CONFIG_DEBUG

View file

@ -90,7 +90,7 @@
*/
#ifndef CONFIG_DEBUG
# undef CONFIG_DEBUG_VERBOSE
# undef CONFIG_DEBUG_INFO
# undef CONFIG_DEBUG_SPI
# undef CONFIG_STM32L4_QSPI_DMADEBUG
# undef CONFIG_STM32L4_QSPI_REGDEBUG
@ -102,7 +102,7 @@
#ifdef CONFIG_DEBUG_SPI
# define qspidbg lldbg
# ifdef CONFIG_DEBUG_VERBOSE
# ifdef CONFIG_DEBUG_INFO
# define qspivdbg lldbg
# else
# define qspivdbg(x...)
@ -286,7 +286,7 @@ static inline uint32_t qspi_getreg(struct stm32l4_qspidev_s *priv,
static inline void qspi_putreg(struct stm32l4_qspidev_s *priv, uint32_t value,
unsigned int offset);
#if defined(CONFIG_DEBUG_SPI) && defined(CONFIG_DEBUG_VERBOSE)
#if defined(CONFIG_DEBUG_SPI) && defined(CONFIG_DEBUG_INFO)
static void qspi_dumpregs(struct stm32l4_qspidev_s *priv, const char *msg);
#else
# define qspi_dumpregs(priv,msg)
@ -505,7 +505,7 @@ static inline void qspi_putreg(struct stm32l4_qspidev_s *priv, uint32_t value,
*
****************************************************************************/
#if defined(CONFIG_DEBUG_SPI) && defined(CONFIG_DEBUG_VERBOSE)
#if defined(CONFIG_DEBUG_SPI) && defined(CONFIG_DEBUG_INFO)
static void qspi_dumpregs(struct stm32l4_qspidev_s *priv, const char *msg)
{
uint32_t regval;

View file

@ -141,13 +141,13 @@
/* Check if (non-standard) SPI debug is enabled */
#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...)

View file

@ -67,7 +67,7 @@
****************************************************************************/
/* Enables debug output from this file (needs CONFIG_DEBUG with
* CONFIG_DEBUG_VERBOSE too)
* CONFIG_DEBUG_INFO too)
*/
#undef SSI_DEBUG /* Define to enable debug */
@ -577,7 +577,7 @@ static void ssi_txuint8(struct tiva_ssidev_s *priv)
static void ssi_rxnull(struct tiva_ssidev_s *priv)
{
#if defined(SSI_DEBUG) && defined(CONFIG_DEBUG_VERBOSE)
#if defined(SSI_DEBUG) && defined(CONFIG_DEBUG_INFO)
uint32_t regval = ssi_getreg(priv, TIVA_SSI_DR_OFFSET);
ssivdbg("RX: discard %04x\n", regval);
#else

View file

@ -42,9 +42,9 @@
/* Output debug info -- even if debug is not selected. */
#undef CONFIG_DEBUG
#undef CONFIG_DEBUG_VERBOSE
#undef CONFIG_DEBUG_INFO
#define CONFIG_DEBUG 1
#define CONFIG_DEBUG_VERBOSE 1
#define CONFIG_DEBUG_INFO 1
#include <stdint.h>
#include <stdlib.h>

View file

@ -42,9 +42,9 @@
/* Output debug info -- even if debug is not selected. */
#undef CONFIG_DEBUG
#undef CONFIG_DEBUG_VERBOSE
#undef CONFIG_DEBUG_INFO
#define CONFIG_DEBUG 1
#define CONFIG_DEBUG_VERBOSE 1
#define CONFIG_DEBUG_INFO 1
#include <stdint.h>
#include <stdlib.h>

View file

@ -45,9 +45,9 @@
#ifdef CONFIG_ARCH_STACKDUMP
# undef CONFIG_DEBUG
# undef CONFIG_DEBUG_VERBOSE
# undef CONFIG_DEBUG_INFO
# define CONFIG_DEBUG 1
# define CONFIG_DEBUG_VERBOSE 1
# define CONFIG_DEBUG_INFO 1
#endif
#include <stdint.h>

View file

@ -45,9 +45,9 @@
#ifdef CONFIG_ARCH_STACKDUMP
# undef CONFIG_DEBUG
# undef CONFIG_DEBUG_VERBOSE
# undef CONFIG_DEBUG_INFO
# define CONFIG_DEBUG 1
# define CONFIG_DEBUG_VERBOSE 1
# define CONFIG_DEBUG_INFO 1
#endif
#include <stdint.h>

View file

@ -45,9 +45,9 @@
#ifdef CONFIG_ARCH_STACKDUMP
# undef CONFIG_DEBUG
# undef CONFIG_DEBUG_VERBOSE
# undef CONFIG_DEBUG_INFO
# define CONFIG_DEBUG 1
# define CONFIG_DEBUG_VERBOSE 1
# define CONFIG_DEBUG_INFO 1
#endif
#include <stdint.h>

View file

@ -42,9 +42,9 @@
/* Output debug info -- even if debug is not selected. */
#undef CONFIG_DEBUG
#undef CONFIG_DEBUG_VERBOSE
#undef CONFIG_DEBUG_INFO
#define CONFIG_DEBUG 1
#define CONFIG_DEBUG_VERBOSE 1
#define CONFIG_DEBUG_INFO 1
#include <stdint.h>
#include <stdlib.h>

View file

@ -102,7 +102,7 @@ uint32_t *pic32mx_exception(uint32_t *regs)
asm volatile("\tmfc0 %0,$13,0\n" : "=r"(cause));
asm volatile("\tmfc0 %0,$14,0\n" : "=r"(epc));
#ifdef CONFIG_DEBUG_VERBOSE
#ifdef CONFIG_DEBUG_INFO
switch (cause & CP0_CAUSE_EXCCODE_MASK)
{
case CP0_CAUSE_EXCCODE_INT: /* Interrupt */

View file

@ -303,7 +303,7 @@ bool pic32mx_gpioread(uint16_t pinset)
*
****************************************************************************/
#if defined(CONFIG_DEBUG) && defined(CONFIG_DEBUG_VERBOSE) && defined(CONFIG_DEBUG_GPIO)
#if defined(CONFIG_DEBUG) && defined(CONFIG_DEBUG_INFO) && defined(CONFIG_DEBUG_GPIO)
void pic32mx_dumpgpio(uint32_t pinset, const char *msg)
{
unsigned int port = pic32mx_portno(pinset);

View file

@ -76,7 +76,7 @@
#ifdef CONFIG_DEBUG_SPI
# define spidbg lldbg
# ifdef CONFIG_DEBUG_VERBOSE
# ifdef CONFIG_DEBUG_INFO
# define spivdbg lldbg
# else
# define spivdbg(x...)

View file

@ -290,7 +290,7 @@
# define CONFIG_PIC32MX_USBDEV_BDTDEBUG 1
# define regdbg lldbg
# ifdef CONFIG_DEBUG_VERBOSE
# ifdef CONFIG_DEBUG_INFO
# define regvdbg lldbg
# else
# define regvdbg(x...)
@ -310,7 +310,7 @@
#ifdef CONFIG_PIC32MX_USBDEV_BDTDEBUG
# define bdtdbg lldbg
# ifdef CONFIG_DEBUG_VERBOSE
# ifdef CONFIG_DEBUG_INFO
# define bdtvdbg lldbg
# else
# define bdtvdbg(x...)

View file

@ -102,7 +102,7 @@ uint32_t *pic32mz_exception(uint32_t *regs)
asm volatile("\tmfc0 %0,$13,0\n" : "=r"(cause));
asm volatile("\tmfc0 %0,$14,0\n" : "=r"(epc));
#ifdef CONFIG_DEBUG_VERBOSE
#ifdef CONFIG_DEBUG_INFO
switch (cause & CP0_CAUSE_EXCCODE_MASK)
{
case CP0_CAUSE_EXCCODE_INT: /* Interrupt */

View file

@ -307,7 +307,7 @@ bool pic32mz_gpioread(pinset_t pinset)
*
****************************************************************************/
#if defined(CONFIG_DEBUG) && defined(CONFIG_DEBUG_VERBOSE) && defined(CONFIG_DEBUG_GPIO)
#if defined(CONFIG_DEBUG) && defined(CONFIG_DEBUG_INFO) && defined(CONFIG_DEBUG_GPIO)
void pic32mz_dumpgpio(uint32_t pinset, const char *msg)
{
unsigned int port = pic32mz_portno(pinset);

View file

@ -71,7 +71,7 @@
#ifdef CONFIG_DEBUG_SPI
# define spidbg lldbg
# ifdef CONFIG_DEBUG_VERBOSE
# ifdef CONFIG_DEBUG_INFO
# define spivdbg lldbg
# else
# define spivdbg(x...)

View file

@ -45,9 +45,9 @@
#ifdef CONFIG_ARCH_STACKDUMP
# undef CONFIG_DEBUG
# undef CONFIG_DEBUG_VERBOSE
# undef CONFIG_DEBUG_INFO
# define CONFIG_DEBUG 1
# define CONFIG_DEBUG_VERBOSE 1
# define CONFIG_DEBUG_INFO 1
#endif
#include <stdint.h>

View file

@ -42,9 +42,9 @@
/* Output debug info -- even if debug is not selected. */
#undef CONFIG_DEBUG
#undef CONFIG_DEBUG_VERBOSE
#undef CONFIG_DEBUG_INFO
#define CONFIG_DEBUG 1
#define CONFIG_DEBUG_VERBOSE 1
#define CONFIG_DEBUG_INFO 1
#include <stdint.h>
#include <debug.h>

View file

@ -42,9 +42,9 @@
/* Output debug info -- even if debug is not selected. */
#undef CONFIG_DEBUG
#undef CONFIG_DEBUG_VERBOSE
#undef CONFIG_DEBUG_INFO
#define CONFIG_DEBUG 1
#define CONFIG_DEBUG_VERBOSE 1
#define CONFIG_DEBUG_INFO 1
#include <stdint.h>
#include <debug.h>

View file

@ -106,12 +106,12 @@
*/
#ifndef CONFIG_DEBUG
# undef CONFIG_DEBUG_VERBOSE
# undef CONFIG_DEBUG_INFO
# undef CONFIG_DEBUG_GRAPHICS
# undef CONFIG_DEBUG_LCD
#endif
#ifndef CONFIG_DEBUG_VERBOSE
#ifndef CONFIG_DEBUG_INFO
# undef CONFIG_DEBUG_LCD
#endif

View file

@ -64,13 +64,13 @@
/* Check if (non-standard) SPI debug is enabled */
#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...)

View file

@ -45,9 +45,9 @@
#ifdef CONFIG_ARCH_STACKDUMP
# undef CONFIG_DEBUG
# undef CONFIG_DEBUG_VERBOSE
# undef CONFIG_DEBUG_INFO
# define CONFIG_DEBUG 1
# define CONFIG_DEBUG_VERBOSE 1
# define CONFIG_DEBUG_INFO 1
#endif
#include <stdint.h>

View file

@ -42,9 +42,9 @@
/* Output debug info -- even if debug is not selected. */
#undef CONFIG_DEBUG
#undef CONFIG_DEBUG_VERBOSE
#undef CONFIG_DEBUG_INFO
#define CONFIG_DEBUG 1
#define CONFIG_DEBUG_VERBOSE 1
#define CONFIG_DEBUG_INFO 1
#include <debug.h>
#include <nuttx/irq.h>

View file

@ -45,9 +45,9 @@
#ifdef CONFIG_ARCH_STACKDUMP
# undef CONFIG_DEBUG
# undef CONFIG_DEBUG_VERBOSE
# undef CONFIG_DEBUG_INFO
# define CONFIG_DEBUG 1
# define CONFIG_DEBUG_VERBOSE 1
# define CONFIG_DEBUG_INFO 1
#endif
#include <stdint.h>

View file

@ -45,9 +45,9 @@
#ifdef CONFIG_ARCH_STACKDUMP
# undef CONFIG_DEBUG
# undef CONFIG_DEBUG_VERBOSE
# undef CONFIG_DEBUG_INFO
# define CONFIG_DEBUG 1
# define CONFIG_DEBUG_VERBOSE 1
# define CONFIG_DEBUG_INFO 1
#endif
#include <stdint.h>

View file

@ -42,9 +42,9 @@
/* Output debug info -- even if debug is not selected. */
#undef CONFIG_DEBUG
#undef CONFIG_DEBUG_VERBOSE
#undef CONFIG_DEBUG_INFO
#define CONFIG_DEBUG 1
#define CONFIG_DEBUG_VERBOSE 1
#define CONFIG_DEBUG_INFO 1
#include <debug.h>

Some files were not shown because too many files have changed in this diff Show more