OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-3.0/] [packages/] [devs/] [serial/] [mcf52xx/] [mcf5272/] [current/] [cdl/] [ser_mcf5272_uart.cdl] - Blame information for rev 845

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 786 skrzyp
# ====================================================================
2
#
3
#      ser_MCF5272_uart.cdl
4
#
5
#      eCos serial driver for MCF5272 UART
6
#
7
# ====================================================================
8
## ####ECOSGPLCOPYRIGHTBEGIN####
9
## -------------------------------------------
10
## This file is part of eCos, the Embedded Configurable Operating System.
11
## Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
12
##
13
## eCos is free software; you can redistribute it and/or modify it under
14
## the terms of the GNU General Public License as published by the Free
15
## Software Foundation; either version 2 or (at your option) any later
16
## version.
17
##
18
## eCos is distributed in the hope that it will be useful, but WITHOUT
19
## ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
20
## FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
21
## for more details.
22
##
23
## You should have received a copy of the GNU General Public License
24
## along with eCos; if not, write to the Free Software Foundation, Inc.,
25
## 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
26
##
27
## As a special exception, if other files instantiate templates or use
28
## macros or inline functions from this file, or you compile this file
29
## and link it with other works to produce a work based on this file,
30
## this file does not by itself cause the resulting work to be covered by
31
## the GNU General Public License. However the source code for this file
32
## must still be made available in accordance with section (3) of the GNU
33
## General Public License v2.
34
##
35
## This exception does not invalidate any other reasons why a work based
36
## on this file might be covered by the GNU General Public License.
37
## -------------------------------------------
38
## ####ECOSGPLCOPYRIGHTEND####
39
# ====================================================================
40
 
41
cdl_package CYGPKG_IO_SERIAL_MCF5272_UART {
42
    display       "Serial driver for MCF5272 UART"
43
 
44
    parent        CYGPKG_IO_SERIAL_DEVICES
45
    active_if     CYGPKG_IO_SERIAL
46
    requires      CYGPKG_ERROR
47
    include_dir   cyg/io
48
    description   "
49
           This option enables the serial device drivers for the
50
           GMPU boards."
51
 
52
    compile       -library=libextras.a   ser_mcf5272_uart.c
53
 
54
    #define_proc {
55
    #    puts $::cdl_system_header "/***** serial driver proc output start *****/"
56
    #    puts $::cdl_system_header "#define CYGDAT_IO_SERIAL_DEVICE_HEADER "
57
    #    puts $::cdl_system_header "/*****  serial driver proc output end  *****/"
58
    #}
59
 
60
 
61
    cdl_component CYGPKG_IO_SERIAL_MCF5272_UART_CHANNEL0 {
62
        display       "MCF5272 UART serial port 0 driver"
63
        flavor        bool
64
        default_value 1
65
 
66
        implements    CYGINT_IO_SERIAL_FLOW_CONTROL_HW
67
        implements    CYGINT_IO_SERIAL_LINE_STATUS_HW
68
 
69
        description   "This option includes the serial device driver for the MCF5272 UART port 0."
70
 
71
        cdl_option CYGDAT_IO_SERIAL_MCF5272_UART_CHANNEL0_NAME {
72
            display       "Device name for the MCF5272 UART serial port 0 driver"
73
            flavor        data
74
            default_value {"\"/dev/ser0\""}
75
            description   "
76
                This option specifies the name of serial device for the
77
                MCF5272 UART port 0."
78
         }
79
 
80
        cdl_option CYGNUM_IO_SERIAL_MCF5272_UART_CHANNEL0_BAUD {
81
            display       "Baud rate for the MCF5272 UART serial port 0 driver"
82
            flavor        data
83
            legal_values   {1200 2400 4800 9600 14400 19200 38400 115200}
84
            default_value 9600
85
            description   "
86
                This option specifies the default baud rate (speed) for the
87
                MCF5272 UART port 0."
88
        }
89
 
90
        cdl_option CYGNUM_IO_SERIAL_MCF5272_UART_CHANNEL0_BUFSIZE {
91
            display       "Buffer size for the MCF5272 UART serial port 0 driver"
92
            flavor        data
93
            legal_values  0 to 8192
94
            default_value 128
95
            description   "
96
                This option specifies the size of the internal buffers used
97
                for the MCF5272 UART port 0."
98
        }
99
    }
100
 
101
    cdl_component CYGPKG_IO_SERIAL_MCF5272_UART_CHANNEL1 {
102
        display       "MCF5272 UART serial port 1 driver"
103
        flavor        bool
104
        default_value 0
105
 
106
        implements    CYGINT_IO_SERIAL_FLOW_CONTROL_HW
107
        implements    CYGINT_IO_SERIAL_LINE_STATUS_HW
108
 
109
        description   "This option includes the serial device driver for the MCF5272 UART port 1."
110
 
111
        cdl_option CYGDAT_IO_SERIAL_MCF5272_UART_CHANNEL1_NAME {
112
            display       "Device name for the MCF5272 UART serial port 1 driver"
113
            flavor        data
114
            default_value {"\"/dev/ser1\""}
115
            description   "
116
                This option specifies the name of serial device for the
117
                MCF5272 UART port 1."
118
         }
119
 
120
        cdl_option CYGNUM_IO_SERIAL_MCF5272_UART_CHANNEL1_BAUD {
121
            display       "Baud rate for the MCF5272 UART serial port 1 driver"
122
            flavor        data
123
            legal_values   {1200 2400 4800 9600 14400 19200 38400 115200}
124
            default_value 9600
125
            description   "
126
                This option specifies the default baud rate (speed) for the
127
                MCF5272 UART port 1."
128
        }
129
 
130
        cdl_option CYGNUM_IO_SERIAL_MCF5272_UART_CHANNEL1_BUFSIZE {
131
            display       "Buffer size for the MCF5272 UART serial port 1 driver"
132
            flavor        data
133
            legal_values  0 to 8192
134
            default_value 128
135
            description   "
136
                This option specifies the size of the internal buffers used
137
                for the MCF5272 UART port 1."
138
        }
139
    }
140
}
141
 

powered by: WebSVN 2.1.0

© copyright 1999-2025 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.