summaryrefslogtreecommitdiff
path: root/include/uart.h
diff options
context:
space:
mode:
authorAmar Takhar <amar@rtems.org>2015-12-11 17:52:14 -0500
committerAmar Takhar <amar@rtems.org>2015-12-11 17:52:14 -0500
commitf39e6afe753fa0d011524f9c378447ef79dcf0ec (patch)
tree22ceb693fdf9918dadb4fc12bee830557d1f4348 /include/uart.h
parentc569cf06755829d10c726844333f69990a3672ec (diff)
Stage 4: Add header includers.
Diffstat (limited to 'include/uart.h')
-rw-r--r--include/uart.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/include/uart.h b/include/uart.h
new file mode 100644
index 0000000000..438e8b9f68
--- /dev/null
+++ b/include/uart.h
@@ -0,0 +1,28 @@
+#if defined(HEADER_WARNING)
+#warning "This header should not be included directly."
+#endif
+
+
+#if defined(__rtems_arm_edb7312__)
+# include <arm/edb7312/uart.h>
+#elif defined(__rtems_arm_rtl22xx__)
+# include <arm/rtl22xx/uart.h>
+#elif defined(__rtems_arm_rtl22xx_t__)
+# include <arm/rtl22xx_t/uart.h>
+#elif defined(__rtems_i386_edison__)
+# include <i386/edison/uart.h>
+#elif defined(__rtems_i386_pc386__)
+# include <i386/pc386/uart.h>
+#elif defined(__rtems_i386_pc486__)
+# include <i386/pc486/uart.h>
+#elif defined(__rtems_i386_pc586__)
+# include <i386/pc586/uart.h>
+#elif defined(__rtems_i386_pc586_sse__)
+# include <i386/pc586-sse/uart.h>
+#elif defined(__rtems_i386_pc686__)
+# include <i386/pc686/uart.h>
+#elif defined(__rtems_i386_pcp4__)
+# include <i386/pcp4/uart.h>
+#else
+# error "__rtems_<arch>_<bsp>__ must be defined, for example: __rtems_sparc_erc32__"
+#endif