4.115
Last change
on this file since fd57015 was
fd57015,
checked in by Hesham ALMatary <heshamelmatary@…>, on 08/20/14 at 17:23:20
|
Add new (first) OpenRISC BSP called or1ksim.
This BSP is intended to run on or1ksim (the main OpenRISC emulator).
Fixed version according to Joel comments from the mailing list.
|
-
Property mode set to
100644
|
File size:
821 bytes
|
Line | |
---|
1 | /** |
---|
2 | * @file |
---|
3 | * |
---|
4 | * @ingroup or1ksim_uart |
---|
5 | * |
---|
6 | * @brief UART support. |
---|
7 | */ |
---|
8 | |
---|
9 | /* |
---|
10 | * COPYRIGHT (c) 2014 Hesham ALMatary <heshamelmatary@gmail.com> |
---|
11 | * |
---|
12 | * The license and distribution terms for this file may be |
---|
13 | * found in the file LICENSE in this distribution or at |
---|
14 | * http://www.rtems.org/license/LICENSE |
---|
15 | */ |
---|
16 | |
---|
17 | /** |
---|
18 | * @defgroup or1ksim_uart UART Support |
---|
19 | * |
---|
20 | * @ingroup or1k_or1ksim |
---|
21 | * |
---|
22 | * @brief Universal Asynchronous Receiver/Transmitter (UART) Support |
---|
23 | */ |
---|
24 | |
---|
25 | #ifndef LIBBSP_OR1K_OR1KSIM_UART_H |
---|
26 | #define LIBBSP_OR1K_OR1KSIM_UART_H |
---|
27 | |
---|
28 | #include <libchip/serial.h> |
---|
29 | |
---|
30 | #ifdef __cplusplus |
---|
31 | extern "C" { |
---|
32 | #endif /* __cplusplus */ |
---|
33 | |
---|
34 | #define OR1KSIM_UART_DEFAULT_BAUD 115200 |
---|
35 | #define OR1KSIM_BSP_UART_IRQ 13 |
---|
36 | extern const console_fns or1ksim_uart_fns; |
---|
37 | |
---|
38 | #ifdef __cplusplus |
---|
39 | } |
---|
40 | #endif /* __cplusplus */ |
---|
41 | |
---|
42 | #endif /* LIBBSP_OR1K_OR1KSIM_UART_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.