summaryrefslogtreecommitdiff
path: root/include/uart.h
blob: 438e8b9f68a32753b713583fedd2ea5d400f88b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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