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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-3.0/] [packages/] [devs/] [serial/] [arm/] [aim711/] [current/] [cdl/] [ser_arm_aim711.cdl] - Blame information for rev 831

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

Line No. Rev Author Line
1 786 skrzyp
# ====================================================================
2
#
3
#      ser_arm_aim711.cdl
4
#
5
#      eCos serial ARM Industrial Module AIM 711 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):      Lars.Lindqvist@combitechsystems.com, rcassebohm
43
# Contributors:   jlarmour, rcassebohm
44
# Date:           2004-09-09
45
#
46
#####DESCRIPTIONEND####
47
#
48
# ====================================================================
49
 
50
 
51
cdl_package CYGPKG_IO_SERIAL_ARM_AIM711 {
52
    display       "ARM Industrial Module AIM 711 serial device drivers"
53
 
54
    parent        CYGPKG_IO_SERIAL_DEVICES
55
    active_if     CYGPKG_IO_SERIAL
56
    active_if     CYGPKG_HAL_ARM_AIM711
57
 
58
    include_dir   cyg/io
59
    description   "
60
           This package contains serial device drivers for the
61
           ARM Industrial Module AIM 711."
62
 
63
    define_proc {
64
        puts $::cdl_system_header "/***** serial driver proc output start *****/"
65
        puts $::cdl_system_header "#ifndef CYGDAT_IO_SERIAL_DEVICE_HEADER"
66
        puts $::cdl_system_header "#define CYGDAT_IO_SERIAL_DEVICE_HEADER "
67
        puts $::cdl_system_header "#define CYGDAT_IO_SERIAL_GENERIC_16X5X_INL "
68
        puts $::cdl_system_header "#define CYGDAT_IO_SERIAL_GENERIC_16X5X_CFG "
69
        puts $::cdl_system_header "#define CYGDAT_IO_SERIAL_ARM_S3C4510_INL "
70
        puts $::cdl_system_header "#define CYGDAT_IO_SERIAL_ARM_S3C4510_CFG "
71
        puts $::cdl_system_header "#endif"
72
        puts $::cdl_system_header "/*****  serial driver proc output end  *****/"
73
        puts $::cdl_header "#include ";
74
        puts $::cdl_header "#include ";
75
        puts $::cdl_header "#include ";
76
    }
77
 
78
    cdl_component CYGPKG_IO_SERIAL_ARM_AIM711_16X5X {
79
        display       "ARM Industrial Module AIM 711 16x5x serial device drivers"
80
 
81
        parent        CYGPKG_IO_SERIAL_DEVICES
82
        active_if     CYGPKG_IO_SERIAL
83
        active_if     CYGPKG_HAL_ARM_AIM711
84
        default_value 1
85
 
86
        requires      CYGPKG_ERROR
87
        description   "
88
               This package contains serial device drivers for the
89
               ARM Industrial Module AIM 711 for the 16550 serial
90
               interface on board."
91
 
92
        # FIXME: This really belongs in the GENERIC_16X5X package
93
        cdl_interface CYGINT_IO_SERIAL_GENERIC_16X5X_REQUIRED {
94
            display   "Generic 16x5x serial driver required"
95
        }
96
 
97
        cdl_component CYGPKG_IO_SERIAL_ARM_AIM711_16X5X_SERIAL0 {
98
            display       "AIM 711 16X5X serial port 0 driver (COM1)"
99
            flavor        bool
100
            default_value 1
101
            description   "
102
                This option includes the serial device driver for the AIM 711 16X5X
103
                port 0, which is COM1 on the AIM 711."
104
 
105
            implements    CYGINT_IO_SERIAL_GENERIC_16X5X_REQUIRED
106
            implements    CYGINT_IO_SERIAL_FLOW_CONTROL_HW
107
            implements    CYGINT_IO_SERIAL_LINE_STATUS_HW
108
 
109
            cdl_option CYGDAT_IO_SERIAL_ARM_AIM711_16X5X_SERIAL0_NAME {
110
                display       "Device name for the AIM 711 16X5X serial port 0 driver (COM1)"
111
                flavor        data
112
                default_value {"\"/dev/ser1\""}
113
                description   "
114
                    This option sets the name of the serial device for the AIM 711
115
                    16X5X port 0 (COM1)."
116
            }
117
 
118
            cdl_option CYGNUM_IO_SERIAL_ARM_AIM711_16X5X_SERIAL0_BAUD {
119
                display       "Baud rate for the AIM 711 16X5X serial port 0 driver"
120
                flavor        data
121
                legal_values  { 50 75 110 "134_5" 150 200 300 600 1200 1800 2400 3600
122
                              4800 7200 9600 14400 19200 38400 57600 115200 230400
123
                }
124
                default_value 38400
125
                description   "
126
                    This option specifies the default baud rate (speed) for the
127
                    AIM 711 16X5X port 0."
128
            }
129
 
130
            cdl_option CYGNUM_IO_SERIAL_ARM_AIM711_16X5X_SERIAL0_BUFSIZE {
131
                display       "Buffer size for the AIM 711 16X5X serial port 0 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 for
137
                    the AIM 711 16X5X port 0."
138
            }
139
        }
140
    }
141
 
142
    cdl_component CYGPKG_IO_SERIAL_ARM_AIM711_S3C4510 {
143
        display       "ARM Industrial Module AIM 711 S3C4510 serial device drivers"
144
 
145
        parent        CYGPKG_IO_SERIAL_DEVICES
146
        active_if     CYGPKG_IO_SERIAL
147
        active_if     CYGPKG_HAL_ARM_AIM711
148
        default_value 1
149
 
150
        requires      CYGPKG_ERROR
151
        description   "
152
               This package contains serial device drivers for the
153
               ARM Industrial Module AIM 711 for the internal serial
154
               interface of the S3C4510."
155
 
156
        # FIXME: This really belongs in the SERIAL_ARM_S3C4510 package
157
        cdl_interface CYGINT_IO_SERIAL_ARM_S3C4510_REQUIRED {
158
            display   "Generic s3c4510 serial driver required"
159
        }
160
 
161
        cdl_component CYGPKG_IO_SERIAL_ARM_AIM711_S3C4510_SERIAL0 {
162
            display       "AIM 711 S3C4510 serial port 0 driver (service adapter)"
163
            flavor        bool
164
            default_value 1
165
            description   "
166
                This option includes the serial device driver for the AIM 711 S3C4510
167
                port 0, which is on the AIM 711 the port on the service adapter."
168
 
169
            implements    CYGINT_IO_SERIAL_ARM_S3C4510_REQUIRED
170
 
171
            cdl_option CYGDAT_IO_SERIAL_ARM_AIM711_S3C4510_SERIAL0_NAME {
172
                display       "Device name for the AIM 711 S3C4510 serial port 0 driver (service adapter)"
173
                flavor        data
174
                default_value {"\"/dev/ser0\""}
175
                description   "
176
                    This option sets the name of the serial device for the AIM 711
177
                    S3C4510 port 0 (service adapter)."
178
            }
179
 
180
            cdl_option CYGNUM_IO_SERIAL_ARM_AIM711_S3C4510_SERIAL0_BAUD {
181
                display       "Baud rate for the AIM 711 S3C4510 serial port 0 driver"
182
                flavor        data
183
                legal_values  { 50 75 110 "134_5" 150 200 300 600 1200 1800 2400 3600
184
                              4800 7200 9600 14400 19200 38400 57600 115200 230400
185
                }
186
                default_value 38400
187
                description   "
188
                    This option specifies the default baud rate (speed) for the
189
                    AIM 711 S3C4510 port 0."
190
            }
191
 
192
            cdl_option CYGNUM_IO_SERIAL_ARM_AIM711_S3C4510_SERIAL0_BUFSIZE {
193
                display       "Buffer size for the AIM 711 S3C4510 serial port 0 driver"
194
                flavor        data
195
                legal_values  0 to 8192
196
                default_value 128
197
                description   "
198
                    This option specifies the size of the internal buffers used for
199
                    the AIM 711 S3C4510 port 0."
200
            }
201
        }
202
 
203
        cdl_component CYGPKG_IO_SERIAL_ARM_AIM711_S3C4510_SERIAL1 {
204
            display       "AIM 711 S3C4510 serial port 1 driver (COM2)"
205
            flavor        bool
206
            default_value 1
207
            description   "
208
                This option includes the serial device driver for the AIM 711
209
                S3C4510 port 1, which is the COM2 on the AIM 711."
210
 
211
            implements    CYGINT_IO_SERIAL_ARM_S3C4510_REQUIRED
212
 
213
            cdl_option CYGDAT_IO_SERIAL_ARM_AIM711_S3C4510_SERIAL1_NAME {
214
                display       "Device name for the AIM 711 S3C4510 serial port 1 driver (COM2)"
215
                flavor        data
216
                default_value {"\"/dev/ser2\""}
217
                description   "
218
                    This option specifies the name of serial device for the
219
                    AIM 711 S3C4510 port 1 (COM2)."
220
            }
221
 
222
            cdl_option CYGNUM_IO_SERIAL_ARM_AIM711_S3C4510_SERIAL1_BAUD {
223
                display       "Baud rate for the AIM 711 S3C4510 serial port 1 driver"
224
                flavor        data
225
                legal_values  { 50 75 110 "134_5" 150 200 300 600 1200 1800 2400 3600
226
                              4800 7200 9600 14400 19200 38400 57600 115200 230400
227
                }
228
                default_value 38400
229
                description   "
230
                    This option specifies the default baud rate (speed) for the
231
                    AIM 711 S3C4510 port 1."
232
            }
233
 
234
            cdl_option CYGNUM_IO_SERIAL_ARM_AIM711_S3C4510_SERIAL1_BUFSIZE {
235
                display       "Buffer size for the AIM 711 S3C4510 serial port 1 driver"
236
                flavor        data
237
                legal_values  0 to 8192
238
                default_value 128
239
                description   "
240
                    This option specifies the size of the internal buffers used
241
                    for the AIM 711 S3C4510 port 1."
242
            }
243
        }
244
    }
245
 
246
    cdl_component CYGPKG_IO_SERIAL_ARM_AIM711_OPTIONS {
247
        display "Serial device driver build options"
248
        flavor  none
249
        description   "
250
        Package specific build options including control over
251
        compiler flags used only in building this package,
252
        and details of which tests are built."
253
 
254
 
255
        cdl_option CYGPKG_IO_SERIAL_ARM_AIM711_CFLAGS_ADD {
256
            display "Additional compiler flags"
257
            flavor  data
258
            no_define
259
            default_value { "" }
260
            description   "
261
                This option modifies the set of compiler flags for
262
                building these serial device drivers. These flags are used in addition
263
                to the set of global flags."
264
        }
265
 
266
        cdl_option CYGPKG_IO_SERIAL_ARM_AIM711_CFLAGS_REMOVE {
267
            display "Suppressed compiler flags"
268
            flavor  data
269
            no_define
270
            default_value { "" }
271
            description   "
272
                This option modifies the set of compiler flags for
273
                building these serial device drivers. These flags are removed from
274
                the set of global flags if present."
275
        }
276
    }
277
 
278
    cdl_component CYGPKG_IO_SERIAL_ARM_AIM711_TESTING {
279
        display    "Testing parameters"
280
        flavor     bool
281
        calculated 1
282
        active_if  CYGPKG_IO_SERIAL_ARM_AIM711_16X5X_SERIAL0
283
 
284
        cdl_option CYGPRI_SER_TEST_SER_DEV {
285
            display       "Serial device used for testing"
286
            flavor        data
287
            default_value { CYGDAT_IO_SERIAL_ARM_AIM711_16X5X_SERIAL0_NAME }
288
        }
289
 
290
        define_proc {
291
            puts $::cdl_header "#define CYGPRI_SER_TEST_CRASH_ID \"arm16x5x\""
292
            puts $::cdl_header "#define CYGPRI_SER_TEST_TTY_DEV  \"/dev/tty2\""
293
        }
294
    }
295
}
296
 
297
# EOF ser_arm_aim711.cdl

powered by: WebSVN 2.1.0

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