From 73029f78d3b571f32d73ed4a7014d2c1ac2bde36 Mon Sep 17 00:00:00 2001 From: patacongo Date: Wed, 14 Dec 2011 19:12:00 +0000 Subject: STM32 F4 RTC driver is fully coded (but not tested) git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4176 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/include/debug.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'nuttx/include') diff --git a/nuttx/include/debug.h b/nuttx/include/debug.h index 24097fa57..5cfe1e601 100644 --- a/nuttx/include/debug.h +++ b/nuttx/include/debug.h @@ -236,6 +236,18 @@ # define illvdbg(x...) #endif +#ifdef CONFIG_DEBUG_ANALOG +# define adbg(format, arg...) dbg(format, ##arg) +# define alldbg(format, arg...) lldbg(format, ##arg) +# define avdbg(format, arg...) vdbg(format, ##arg) +# define allvdbg(format, arg...) llvdbg(format, ##arg) +#else +# define adbg(x...) +# define alldbg(x...) +# define avdbg(x...) +# define allvdbg(x...) +#endif + #ifdef CONFIG_DEBUG_GRAPHICS # define gdbg(format, arg...) dbg(format, ##arg) # define glldbg(format, arg...) lldbg(format, ##arg) @@ -393,6 +405,18 @@ # define illvdbg (void) #endif +#ifdef CONFIG_DEBUG_ANALOG +# define adbg dbg +# define alldbg lldbg +# define avdbg vdbg +# define allvdbg llvdbg +#else +# define adbg (void) +# define alldbg (void) +# define avdbg (void) +# define allvdbg (void) +#endif + #ifdef CONFIG_DEBUG_GRAPHICS # define gdbg dbg # define glldbg lldbg -- cgit v1.2.3