From c32b1efa43e31bd9a8a7eae3623664d00c34d842 Mon Sep 17 00:00:00 2001 From: Alan Cudmore Date: Sat, 23 Mar 2013 19:13:07 +0100 Subject: bsp/raspberrypi: New BSP --- c/src/lib/libbsp/arm/raspberrypi/include/usart.h | 26 ++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 c/src/lib/libbsp/arm/raspberrypi/include/usart.h (limited to 'c/src/lib/libbsp/arm/raspberrypi/include/usart.h') diff --git a/c/src/lib/libbsp/arm/raspberrypi/include/usart.h b/c/src/lib/libbsp/arm/raspberrypi/include/usart.h new file mode 100644 index 0000000000..26b44161da --- /dev/null +++ b/c/src/lib/libbsp/arm/raspberrypi/include/usart.h @@ -0,0 +1,26 @@ +/* + * Copyright (c) 2013 Alan Cudmore. + * + * The license and distribution terms for this file may be + * found in the file LICENSE in this distribution or at + * http://www.rtems.com/license/LICENSE + */ + +#ifndef LIBBSP_ARM_RASPBERRYPI_USART_H +#define LIBBSP_ARM_RASPBERRYPI_USART_H + +#include + +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + +#define USART0_DEFAULT_BAUD 115000 + +extern const console_fns bcm2835_usart_fns; + +#ifdef __cplusplus +} +#endif /* __cplusplus */ + +#endif /* LIBBSP_ARM_RASPBERRYPI_USART_H */ -- cgit v1.2.3