summaryrefslogtreecommitdiff
path: root/os/include/osdebug.h
diff options
context:
space:
mode:
Diffstat (limited to 'os/include/osdebug.h')
-rw-r--r--os/include/osdebug.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/os/include/osdebug.h b/os/include/osdebug.h
new file mode 100644
index 0000000..8147cdb
--- /dev/null
+++ b/os/include/osdebug.h
@@ -0,0 +1,14 @@
+#ifndef __OSDEBUG_H__
+#define __OSDEBUG_H__
+
+#include <BoardConsole.h>
+
+void osDbgPrintf(const char * fmt, ...);
+
+#ifdef FULLDEBUG
+#define DBGOUT osDbgPrintf
+#else
+#define DBGOUT(...)
+#endif
+
+#endif