1 # ====================================================================
3 # ser_freescale_esci.cdl
5 # eCos serial Freescale/esci configuration data
7 # ====================================================================
8 #####ECOSGPLCOPYRIGHTBEGIN####
9 ## -------------------------------------------
10 ## This file is part of eCos, the Embedded Configurable Operating System.
11 ## Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
12 ## Copyright (C) 2006 eCosCentric Ltd
14 ## eCos is free software; you can redistribute it and/or modify it under
15 ## the terms of the GNU General Public License as published by the Free
16 ## Software Foundation; either version 2 or (at your option) any later version.
18 ## eCos is distributed in the hope that it will be useful, but WITHOUT ANY
19 ## WARRANTY; without even the implied warranty of MERCHANTABILITY or
20 ## FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
23 ## You should have received a copy of the GNU General Public License along
24 ## with eCos; if not, write to the Free Software Foundation, Inc.,
25 ## 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
27 ## As a special exception, if other files instantiate templates or use macros
28 ## or inline functions from this file, or you compile this file and link it
29 ## with other works to produce a work based on this file, this file does not
30 ## by itself cause the resulting work to be covered by the GNU General Public
31 ## License. However the source code for this file must still be made available
32 ## in accordance with section (3) of the GNU General Public License.
34 ## This exception does not invalidate any other reasons why a work based on
35 ## this file might be covered by the GNU General Public License.
36 ## -------------------------------------------
37 #####ECOSGPLCOPYRIGHTEND####
38 # ====================================================================
39 ######DESCRIPTIONBEGIN####
41 # Author(s): Ilija Koco <ilijak@siva.com.mk>
46 #####DESCRIPTIONEND####
48 # ====================================================================
50 cdl_package CYGPKG_IO_SERIAL_FREESCALE_ESCI {
51 display "eSCI device driver"
53 parent CYGPKG_IO_SERIAL_DEVICES
54 active_if CYGPKG_IO_SERIAL
56 requires CYGPKG_IO_SERIAL_FREESCALE_ESCI_H
58 requires (CYGPKG_ERROR && (CYGPKG_IO_SERIAL_FREESCALE_ESCI_A || \
59 CYGPKG_IO_SERIAL_FREESCALE_ESCI_B || \
60 CYGPKG_IO_SERIAL_FREESCALE_ESCI_C || \
61 CYGPKG_IO_SERIAL_FREESCALE_ESCI_D) \
67 This option enables the serial device drivers for the
68 Freescale eSCI - Enhanced Serial Communication Interface.
69 eSCI is on-chip serial controller found on some freescale
70 microcontrollers such as: MAC7100 familly, etc.
72 compile -library=libextras.a ser_esci.c
75 puts $::cdl_system_header "/***** serial driver proc output start *****/"
76 puts $::cdl_system_header "#define CYGDAT_IO_SERIAL_DEVICE_HEADER <pkgconf/io_serial_freescale_esci.h>"
77 puts $::cdl_system_header "/***** serial driver proc output end *****/"
80 cdl_component CYGPKG_IO_SERIAL_FREESCALE_ESCI_A {
81 display "eSCI port A driver"
85 This option includes the serial device driver for the eSCI port A."
87 cdl_option CYGDAT_IO_SERIAL_FREESCALE_ESCI_A_NAME {
88 display "Device name for eSCI port A"
90 default_value {"\"/dev/ser0\""}
92 This option specifies the device name for the eSCI port A."
95 cdl_option CYGNUM_IO_SERIAL_FREESCALE_ESCI_A_BAUD {
96 display "Baud rate for the eSCI serial port A driver"
98 legal_values { 300 600 1200 2400 4800 9600 14400 19200 38400
102 This option specifies the default baud rate (speed) for the
106 cdl_option CYGNUM_IO_SERIAL_FREESCALE_ESCI_A_BUFSIZE {
107 display "Buffer size for the sSCI port A driver"
109 legal_values 0 to 8192
112 This option specifies the size of the internal buffers used
113 for the eSCI port A."
116 cdl_option CYGNUM_IO_SERIAL_FREESCALE_ESCI_A_INT_PRIORITY {
117 display "eSCI port A INTC priority"
122 INTC has 16 interrupt levels: 0 (lowest) to 15 (highest).
127 cdl_component CYGPKG_IO_SERIAL_FREESCALE_ESCI_B {
128 display "eSCI port B driver"
132 This option includes the serial device driver for the eSCI port B."
134 cdl_option CYGDAT_IO_SERIAL_FREESCALE_ESCI_B_NAME {
135 display "Device name for eSCI port B"
137 default_value {"\"/dev/ser1\""}
139 This option specifies the device name for the eSCI port B."
142 cdl_option CYGNUM_IO_SERIAL_FREESCALE_ESCI_B_BAUD {
143 display "Baud rate for the eSCI serial port A driver"
145 legal_values { 300 600 1200 2400 4800 9600 14400 19200 38400
149 This option specifies the default baud rate (speed) for the
153 cdl_option CYGNUM_IO_SERIAL_FREESCALE_ESCI_B_BUFSIZE {
154 display "Buffer size for the sSCI port A driver"
156 legal_values 0 to 8192
159 This option specifies the size of the internal buffers used
160 for the eSCI port B."
163 cdl_option CYGNUM_IO_SERIAL_FREESCALE_ESCI_B_INT_PRIORITY {
164 display "eSCI prot B INTC priority"
169 INTC has 16 interrupt levels: 0 (lowest) to 15 (highest).
175 cdl_component CYGPKG_IO_SERIAL_FREESCALE_ESCI_C {
176 display "eSCI port C driver"
180 This option includes the serial device driver for the eSCI port C."
182 cdl_option CYGDAT_IO_SERIAL_FREESCALE_ESCI_C_NAME {
183 display "Device name for eSCI port C"
185 default_value {"\"/dev/ser2\""}
187 This option specifies the device name for the eSCI port C."
190 cdl_option CYGNUM_IO_SERIAL_FREESCALE_ESCI_C_BAUD {
191 display "Baud rate for the eSCI serial port A driver"
193 legal_values { 300 600 1200 2400 4800 9600 14400 19200 38400
197 This option specifies the default baud rate (speed) for the
201 cdl_option CYGNUM_IO_SERIAL_FREESCALE_ESCI_C_BUFSIZE {
202 display "Buffer size for the sSCI port A driver"
204 legal_values 0 to 8192
207 This option specifies the size of the internal buffers used
208 for the eSCI port C."
211 cdl_option CYGNUM_IO_SERIAL_FREESCALE_ESCI_C_INT_PRIORITY {
212 display "eSCI prot B INTC priority"
217 INTC has 16 interrupt levels: 0 (lowest) to 15 (highest).
223 cdl_component CYGPKG_IO_SERIAL_FREESCALE_ESCI_D {
224 display "eSCI port D driver"
228 This option includes the serial device driver for the eSCI port D."
230 cdl_option CYGDAT_IO_SERIAL_FREESCALE_ESCI_D_NAME {
231 display "Device name for eSCI port D"
233 default_value {"\"/dev/ser3\""}
235 This option specifies the device name for the eSCI port D."
238 cdl_option CYGNUM_IO_SERIAL_FREESCALE_ESCI_D_BAUD {
239 display "Baud rate for the eSCI serial port A driver"
241 legal_values { 300 600 1200 2400 4800 9600 14400 19200 38400
245 This option specifies the default baud rate (speed) for the
249 cdl_option CYGNUM_IO_SERIAL_FREESCALE_ESCI_D_BUFSIZE {
250 display "Buffer size for the sSCI port A driver"
252 legal_values 0 to 8192
255 This option specifies the size of the internal buffers used
256 for the eSCI port D."
259 cdl_option CYGNUM_IO_SERIAL_FREESCALE_ESCI_D_INT_PRIORITY {
260 display "eSCI prot B INTC priority"
265 INTC has 16 interrupt levels: 0 (lowest) to 15 (highest).
271 cdl_component CYGPKG_IO_SERIAL_FREESCALE_ESCI_OPTIONS {
272 display "Serial device driver build options"
275 Package specific build options including control over
276 compiler flags used only in building this package,
277 and details of which tests are built."
280 cdl_option CYGPKG_IO_SERIAL_FREESCALE_ESCI_CFLAGS_ADD {
281 display "Additional compiler flags"
286 This option modifies the set of compiler flags for
287 building these serial device drivers. These flags are
288 used in addition to the set of global flags."
291 cdl_option CYGPKG_IO_SERIAL_FREESCALE_ESCI_CFLAGS_REMOVE {
292 display "Suppressed compiler flags"
297 This option modifies the set of compiler flags for
298 building these serial device drivers. These flags are
299 removed from the set of global flags if present."
304 # EOF ser_freescale_esci.cdl