summaryrefslogtreecommitdiff
path: root/include/bsp/usart.h
blob: d3637f1d36bc5e4a93f45b37843fa8ccc0fdc742 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#if defined(HEADER_WARNING)
#warning "This header should not be included directly."
#endif


#if defined(__rtems_arm_raspberrypi__)
#  include <arm/raspberrypi/bsp/usart.h>
#elif defined(__rtems_arm_raspberrypi2__)
#  include <arm/raspberrypi2/bsp/usart.h>
#elif defined(__rtems_arm_stm32f105rc__)
#  include <arm/stm32f105rc/bsp/usart.h>
#elif defined(__rtems_arm_stm32f4__)
#  include <arm/stm32f4/bsp/usart.h>
#else
#  error "__rtems_<arch>_<bsp>__ must be defined, for example: __rtems_sparc_erc32__"
#endif