Add support for graphics debug
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1301 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
3cf661f578
commit
0071c4af7d
@ -163,6 +163,18 @@
|
|||||||
# define fllvdbg(x...)
|
# define fllvdbg(x...)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef CONFIG_DEBUG_GRAPHICS
|
||||||
|
# define gdbg(format, arg...) dbg(format, ##arg)
|
||||||
|
# define glldbg(format, arg...) lldbg(format, ##arg)
|
||||||
|
# define gvdbg(format, arg...) vdbg(format, ##arg)
|
||||||
|
# define gllvdbg(format, arg...) llvdbg(format, ##arg)
|
||||||
|
#else
|
||||||
|
# define gdbg(x...)
|
||||||
|
# define glldbg(x...)
|
||||||
|
# define gvdbg(x...)
|
||||||
|
# define gllvdbg(x...)
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_DEBUG_LIB
|
#ifdef CONFIG_DEBUG_LIB
|
||||||
# define ldbg(format, arg...) dbg(format, ##arg)
|
# define ldbg(format, arg...) dbg(format, ##arg)
|
||||||
# define llldbg(format, arg...) lldbg(format, ##arg)
|
# define llldbg(format, arg...) lldbg(format, ##arg)
|
||||||
@ -258,6 +270,18 @@
|
|||||||
# define fllvdbg (void)
|
# define fllvdbg (void)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef CONFIG_DEBUG_GRAPHICS
|
||||||
|
# define gdbg dbg
|
||||||
|
# define glldbg lldbg
|
||||||
|
# define gvdbg vdbg
|
||||||
|
# define gllvdbg llvdbg
|
||||||
|
#else
|
||||||
|
# define gdbg (void)
|
||||||
|
# define glldbg (void)
|
||||||
|
# define gvdbg (void)
|
||||||
|
# define gllvdbg (void)
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_DEBUG_LIB
|
#ifdef CONFIG_DEBUG_LIB
|
||||||
# define ldbg dbg
|
# define ldbg dbg
|
||||||
# define llldbg lldbg
|
# define llldbg lldbg
|
||||||
|
Loading…
Reference in New Issue
Block a user