summaryrefslogtreecommitdiff
path: root/nuttx/include
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-12-14 19:12:00 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-12-14 19:12:00 +0000
commit73029f78d3b571f32d73ed4a7014d2c1ac2bde36 (patch)
treec1ce30a79b10c930446ec6f7455dfed3d7c905be /nuttx/include
parent8d4650b7597e5653bd1fb67fc7212793967d0673 (diff)
downloadpx4-nuttx-73029f78d3b571f32d73ed4a7014d2c1ac2bde36.tar.gz
px4-nuttx-73029f78d3b571f32d73ed4a7014d2c1ac2bde36.tar.bz2
px4-nuttx-73029f78d3b571f32d73ed4a7014d2c1ac2bde36.zip
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
Diffstat (limited to 'nuttx/include')
-rw-r--r--nuttx/include/debug.h24
1 files changed, 24 insertions, 0 deletions
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