1 # ====================================================================
5 # eCos GPS4020 serial driver 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) 2003 Gary Thomas
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.
37 ## Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.
38 ## at http://sources.redhat.com/ecos/ecos-license/
39 ## -------------------------------------------
40 #####ECOSGPLCOPYRIGHTEND####
41 # ====================================================================
42 ######DESCRIPTIONBEGIN####
45 # Original data: gthomas
49 #####DESCRIPTIONEND####
51 # ====================================================================
54 cdl_package CYGPKG_IO_SERIAL_ARM_GPS4020 {
55 display "GPS4020 serial device driver"
57 parent CYGPKG_IO_SERIAL_DEVICES
58 active_if CYGPKG_IO_SERIAL
59 active_if CYGPKG_HAL_ARM_GPS4020
63 include_files ; # none _exported_ whatsoever
65 This option enables the serial device drivers for the
68 compile -library=libextras.a gps4020_serial.c
71 puts $::cdl_system_header "/***** serial driver proc output start *****/"
72 puts $::cdl_system_header "#define CYGDAT_IO_SERIAL_DEVICE_HEADER <pkgconf/io_serial_arm_gps4020.h>"
73 puts $::cdl_system_header "/***** serial driver proc output end *****/"
76 cdl_component CYGPKG_IO_SERIAL_ARM_GPS4020_SERIAL1 {
77 display "GPS4020 serial port 1 driver"
81 This option includes the serial device driver for the GPS4020
85 cdl_option CYGDAT_IO_SERIAL_ARM_GPS4020_SERIAL1_NAME {
86 display "Device name for the GPS4020 serial port 1 driver"
88 default_value {"\"/dev/ser1\""}
90 This option specifies the name of serial device for the ARM
94 cdl_option CYGNUM_IO_SERIAL_ARM_GPS4020_SERIAL1_BAUD {
95 display "Baud rate for the GPS4020 serial port 1 driver"
97 legal_values { 50 75 110 "134_5" 150 200 300 600 1200 1800 2400 3600
98 4800 7200 9600 14400 19200 38400 57600 115200 230400
102 This option specifies the default baud rate (speed) for the ARM
106 cdl_option CYGNUM_IO_SERIAL_ARM_GPS4020_SERIAL1_BUFSIZE {
107 display "Buffer size for the GPS4020 serial port 1 driver"
110 legal_values 0 to 8192
112 This option specifies the size of the internal buffers used
113 for the GPS4020 port 1."
117 cdl_component CYGPKG_IO_SERIAL_ARM_GPS4020_SERIAL2 {
118 display "GPS4020 serial port 2 driver"
122 This option includes the serial device driver for the ARM
125 cdl_option CYGDAT_IO_SERIAL_ARM_GPS4020_SERIAL2_NAME {
126 display "Device name for the GPS4020 serial port 2 driver"
128 default_value {"\"/dev/ser2\""}
130 This option specifies the name of serial device for the ARM
134 cdl_option CYGNUM_IO_SERIAL_ARM_GPS4020_SERIAL2_BAUD {
135 display "Baud rate for the GPS4020 serial port 2 driver"
137 legal_values { 50 75 110 "134_5" 150 200 300 600 1200 1800 2400 3600
138 4800 7200 9600 14400 19200 38400 57600 115200 230400
142 This option specifies the default baud rate (speed) for the
146 cdl_option CYGNUM_IO_SERIAL_ARM_GPS4020_SERIAL2_BUFSIZE {
147 display "Buffer size for the GPS4020 serial port 2 driver"
149 legal_values 0 to 8192
152 This option specifies the size of the internal buffers used for
157 cdl_component CYGPKG_IO_SERIAL_ARM_GPS4020_OPTIONS {
158 display "Serial device driver build options"
161 Package specific build options including control over
162 compiler flags used only in building this package,
163 and details of which tests are built."
166 cdl_option CYGPKG_IO_SERIAL_ARM_GPS4020_CFLAGS_ADD {
167 display "Additional compiler flags"
172 This option modifies the set of compiler flags for
173 building these serial device drivers. These flags are used in addition
174 to the set of global flags."
177 cdl_option CYGPKG_IO_SERIAL_ARM_GPS4020_CFLAGS_REMOVE {
178 display "Suppressed compiler flags"
183 This option modifies the set of compiler flags for
184 building these serial device drivers. These flags are removed from
185 the set of global flags if present."
189 cdl_component CYGPKG_IO_SERIAL_ARM_GPS4020_TESTING {
190 display "Testing parameters"
193 active_if CYGPKG_IO_SERIAL_ARM_GPS4020_SERIAL1
195 implements CYGINT_IO_SERIAL_TEST_SKIP_115200
197 cdl_option CYGPRI_SER_TEST_SER_DEV {
198 display "Serial device used for testing"
200 default_value { CYGDAT_IO_SERIAL_ARM_GPS4020_SERIAL1_NAME }
204 puts $::cdl_header "#define CYGPRI_SER_TEST_CRASH_ID \"gps4020\""
205 puts $::cdl_header "#define CYGPRI_SER_TEST_TTY_DEV \"/dev/tty1\""
210 # EOF ser_arm_gps4020.cdl