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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-3.0/] [packages/] [devs/] [serial/] [mips/] [atlas/] [current/] [cdl/] [ser_mips_atlas.cdl] - Blame information for rev 847

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

Line No. Rev Author Line
1 786 skrzyp
# ====================================================================
2
#
3
#      ser_mips_atlas.cdl
4
#
5
#      eCos serial MIPS/ATLAS configuration data
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
######DESCRIPTIONBEGIN####
41
#
42
# Author(s):      dmoseley
43
# Original data:  gthomas
44
# Contributors:
45
# Date:           2000-06-23
46
#
47
#####DESCRIPTIONEND####
48
#
49
# ====================================================================
50
 
51
 
52
cdl_package CYGPKG_IO_SERIAL_MIPS_ATLAS {
53
    display       "MIPS ATLAS serial device drivers"
54
 
55
    parent        CYGPKG_IO_SERIAL_DEVICES
56
    active_if     CYGPKG_IO_SERIAL
57
    active_if     CYGPKG_HAL_MIPS_ATLAS
58
 
59
    requires      CYGPKG_ERROR
60
    include_dir   cyg/io
61
#    include_files ; # none _exported_ whatsoever
62
    description   "
63
           This option enables the serial device drivers for the
64
           MIPS ATLAS."
65
 
66
    compile       -library=libextras.a   atlas_serial.c
67
 
68
    define_proc {
69
        puts $::cdl_system_header "/***** serial driver proc output start *****/"
70
        puts $::cdl_system_header "#define CYGDAT_IO_SERIAL_DEVICE_HEADER "
71
        puts $::cdl_system_header "/*****  serial driver proc output end  *****/"
72
    }
73
 
74
# FIXME: Bad name
75
cdl_option CYGPKG_IO_SERIAL_MIPS_ATLAS_POLLED_MODE {
76
    display       "MIPS ATLAS polled mode serial drivers"
77
    flavor        bool
78
    default_value 0
79
    description   "
80
        If asserted, this option specifies that the serial device
81
        drivers for the MIPS ATLAS should be polled-mode instead of
82
        interrupt driven."
83
}
84
 
85
cdl_component CYGPKG_IO_SERIAL_MIPS_ATLAS_SERIAL_A {
86
    display       "MIPS ATLAS serial port driver"
87
    flavor        bool
88
    default_value 1
89
    description   "
90
        This option includes the serial device driver for the 16C550C on the
91
        MIPS ATLAS."
92
 
93
    cdl_option CYGDAT_IO_SERIAL_MIPS_ATLAS_SERIAL_A_NAME {
94
        display       "Device name for MIPS ATLAS serial port"
95
        flavor        data
96
        default_value {"\"/dev/ser0\""}
97
        description   "
98
            This option specifies the device name on the MIPS ATLAS."
99
    }
100
 
101
    cdl_option CYGNUM_IO_SERIAL_MIPS_ATLAS_SERIAL_A_BAUD {
102
        display       "Baud rate for the MIPS ATLAS serial port driver"
103
        flavor        data
104
        legal_values  { 50 75 110 "134_5" 150 200 300 600 1200 1800 2400 3600
105
                      4800 7200 9600 14400 19200 38400 57600 115200 230400
106
        }
107
        default_value 38400
108
        description   "
109
            This option specifies the default baud rate (speed) for the
110
            MIPS ATLAS 16c550c port."
111
    }
112
 
113
    cdl_option CYGNUM_IO_SERIAL_MIPS_ATLAS_SERIAL_A_BUFSIZE {
114
        display       "Buffer size for the MIPS ATLAS serial port driver"
115
        flavor        data
116
        legal_values  0 to 8192
117
        default_value 512
118
        description   "
119
            This option specifies the size of the internal buffers used
120
            for the MIPS ATLAS 16c550c port."
121
    }
122
}
123
 
124
    cdl_component CYGPKG_IO_SERIAL_MIPS_ATLAS_OPTIONS {
125
        display "Serial device driver build options"
126
        flavor  none
127
        description   "
128
            Package specific build options including control over
129
            compiler flags used only in building this package,
130
            and details of which tests are built."
131
 
132
 
133
        cdl_option CYGPKG_IO_SERIAL_MIPS_ATLAS_CFLAGS_ADD {
134
            display "Additional compiler flags"
135
            flavor  data
136
            no_define
137
            default_value { "" }
138
            description   "
139
                This option modifies the set of compiler flags for
140
                building these serial device drivers. These flags are used in addition
141
                to the set of global flags."
142
        }
143
 
144
        cdl_option CYGPKG_IO_SERIAL_MIPS_ATLAS_CFLAGS_REMOVE {
145
            display "Suppressed compiler flags"
146
            flavor  data
147
            no_define
148
            default_value { "" }
149
            description   "
150
                This option modifies the set of compiler flags for
151
                building these serial device drivers. These flags are removed from
152
                the set of global flags if present."
153
        }
154
    }
155
}
156
 
157
# EOF ser_mips_atlas.cdl

powered by: WebSVN 2.1.0

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