diff options
author | Alan Cudmore <alan.cudmore@gmail.com> | 2013-03-23 19:13:07 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-03-24 12:57:44 +0100 |
commit | c32b1efa43e31bd9a8a7eae3623664d00c34d842 (patch) | |
tree | e301796d2fb132b0fab24c752072cc2a7ba6e074 /c/src/lib/libbsp/arm/raspberrypi/include/usart.h | |
parent | libfs: Always use geteuid() and getegid() (diff) | |
download | rtems-c32b1efa43e31bd9a8a7eae3623664d00c34d842.tar.bz2 |
bsp/raspberrypi: New BSP
Diffstat (limited to 'c/src/lib/libbsp/arm/raspberrypi/include/usart.h')
-rw-r--r-- | c/src/lib/libbsp/arm/raspberrypi/include/usart.h | 26 |
1 files changed, 26 insertions, 0 deletions
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 <libchip/serial.h> + +#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 */ |