diff options
Diffstat (limited to 'include/bsp/usart.h')
-rw-r--r-- | include/bsp/usart.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/include/bsp/usart.h b/include/bsp/usart.h new file mode 100644 index 0000000000..d3637f1d36 --- /dev/null +++ b/include/bsp/usart.h @@ -0,0 +1,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 |