summaryrefslogtreecommitdiff
path: root/arch/arm/lpc17xx/mbed/BoardConsole.h
diff options
context:
space:
mode:
authorPixel <pixel@nobis-crew.org>2011-01-25 07:09:44 -0800
committerPixel <pixel@nobis-crew.org>2011-01-25 07:09:44 -0800
commita1f6f3f277f7e79bf10e196494a8d6dfa6123cfa (patch)
tree7a4ef9a0fbae765a91b95f9a4840a8382829a81f /arch/arm/lpc17xx/mbed/BoardConsole.h
parentd6205d3578e89b5e20757b152d3d7ad46b5c236b (diff)
More consistent makefiles includes. Adding BoardConsole for basic console output general API. Starting up console from the boot sequence.
Diffstat (limited to 'arch/arm/lpc17xx/mbed/BoardConsole.h')
-rw-r--r--arch/arm/lpc17xx/mbed/BoardConsole.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/lpc17xx/mbed/BoardConsole.h b/arch/arm/lpc17xx/mbed/BoardConsole.h
new file mode 100644
index 0000000..75b970f
--- /dev/null
+++ b/arch/arm/lpc17xx/mbed/BoardConsole.h
@@ -0,0 +1,12 @@
+#ifndef __MBED_CONSOLE_H__
+#define __MBED_CONSOLE_H__
+
+#include <stdarg.h>
+
+void BoardConsoleInit();
+void BoardConsolePuts(const char * str);
+void BoardConsolePutc(int);
+void BoardConsolePrintf(const char * fmt, ...) __attribute__ ((format(printf, 1, 2)));
+void BoardConsoleVPrintf(const char * fmt, va_list ap);
+
+#endif