Mercurial > ecos-v2_0-branch
comparison packages/devs/serial/arm/cma230/current/cdl/ser_arm_cma230.cdl @ 82:6736c52df507 ecos-sw-2000-04-14
Merge from eCos master repository on 2000-04-14-13:35:46-BST
| author | jlarmour |
|---|---|
| date | Tue, 18 Apr 2000 21:51:55 +0000 |
| parents | |
| children | 95f3e12a6327 |
comparison
equal
deleted
inserted
replaced
| 81:89fef2181d7d | 82:6736c52df507 |
|---|---|
| 1 # ==================================================================== | |
| 2 # | |
| 3 # ser_arm_cma230.cdl | |
| 4 # | |
| 5 # eCos serial ARM/CMA230 configuration data | |
| 6 # | |
| 7 # ==================================================================== | |
| 8 #####COPYRIGHTBEGIN#### | |
| 9 # | |
| 10 # ------------------------------------------- | |
| 11 # The contents of this file are subject to the Red Hat eCos Public License | |
| 12 # Version 1.1 (the "License"); you may not use this file except in | |
| 13 # compliance with the License. You may obtain a copy of the License at | |
| 14 # http://www.redhat.com/ | |
| 15 # | |
| 16 # Software distributed under the License is distributed on an "AS IS" | |
| 17 # basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the | |
| 18 # License for the specific language governing rights and limitations under | |
| 19 # the License. | |
| 20 # | |
| 21 # The Original Code is eCos - Embedded Configurable Operating System, | |
| 22 # released September 30, 1998. | |
| 23 # | |
| 24 # The Initial Developer of the Original Code is Red Hat. | |
| 25 # Portions created by Red Hat are | |
| 26 # Copyright (C) 1998, 1999, 2000 Red Hat, Inc. | |
| 27 # All Rights Reserved. | |
| 28 # ------------------------------------------- | |
| 29 # | |
| 30 #####COPYRIGHTEND#### | |
| 31 # ==================================================================== | |
| 32 ######DESCRIPTIONBEGIN#### | |
| 33 # | |
| 34 # Author(s): jskov | |
| 35 # Original data: gthomas | |
| 36 # Contributors: | |
| 37 # Date: 1999-07-08 | |
| 38 # | |
| 39 #####DESCRIPTIONEND#### | |
| 40 # | |
| 41 # ==================================================================== | |
| 42 | |
| 43 | |
| 44 cdl_package CYGPKG_IO_SERIAL_ARM_CMA230 { | |
| 45 display "Cogent ARM/CMA230 serial device drivers" | |
| 46 | |
| 47 parent CYGPKG_IO_SERIAL_DEVICES | |
| 48 active_if CYGPKG_IO_SERIAL | |
| 49 active_if CYGPKG_HAL_ARM_CMA230 | |
| 50 | |
| 51 requires CYGPKG_ERROR | |
| 52 include_dir cyg/io | |
| 53 # include_files ; # none _exported_ whatsoever | |
| 54 description " | |
| 55 This option enables the serial device drivers for the | |
| 56 Cogent ARM/CMA230." | |
| 57 doc redirect/ecos-device-drivers.html | |
| 58 | |
| 59 compile -library=libextras.a cma230_serial.c | |
| 60 | |
| 61 define_proc { | |
| 62 puts $::cdl_system_header "/***** serial driver proc output start *****/" | |
| 63 puts $::cdl_system_header "#define CYGDAT_IO_SERIAL_DEVICE_HEADER <pkgconf/io_serial_arm_cma230.h>" | |
| 64 puts $::cdl_system_header "/***** serial driver proc output end *****/" | |
| 65 } | |
| 66 | |
| 67 cdl_component CYGPKG_IO_SERIAL_ARM_CMA230_SERIAL_A { | |
| 68 display "Cogent ARM/CMA230 serial port A driver" | |
| 69 flavor bool | |
| 70 default_value 1 | |
| 71 description " | |
| 72 This option includes the serial device driver for the Cogent | |
| 73 ARM/CMA230 port A." | |
| 74 | |
| 75 cdl_option CYGDAT_IO_SERIAL_ARM_CMA230_SERIAL_A_NAME { | |
| 76 display "Device name for Cogent ARM/CMA230 serial port A" | |
| 77 flavor data | |
| 78 default_value {"\"/dev/ser1\""} | |
| 79 description " | |
| 80 This option specifies the device name for the Cogent | |
| 81 ARM/CMA230 port A." | |
| 82 } | |
| 83 | |
| 84 cdl_option CYGNUM_IO_SERIAL_ARM_CMA230_SERIAL_A_BAUD { | |
| 85 display "Baud rate for the Cogent ARM/CMA230 serial port A driver" | |
| 86 flavor data | |
| 87 legal_values { 50 75 110 "134_5" 150 200 300 600 1200 1800 2400 3600 | |
| 88 4800 7200 9600 14400 19200 38400 57600 115200 234000 | |
| 89 } | |
| 90 default_value 38400 | |
| 91 description " | |
| 92 This option specifies the default baud rate (speed) for the | |
| 93 Cogent ARM/CMA230 port A." | |
| 94 } | |
| 95 | |
| 96 cdl_option CYGNUM_IO_SERIAL_ARM_CMA230_SERIAL_A_BUFSIZE { | |
| 97 display "Buffer size for the Cogent ARM/CMA230 serial port A driver" | |
| 98 flavor data | |
| 99 legal_values 0 to 8192 | |
| 100 default_value 128 | |
| 101 description " | |
| 102 This option specifies the size of the internal buffers used | |
| 103 for the Cogent ARM/CMA230 port A." | |
| 104 } | |
| 105 } | |
| 106 | |
| 107 cdl_component CYGPKG_IO_SERIAL_ARM_CMA230_SERIAL_B { | |
| 108 display "Cogent ARM/CMA230 serial port B driver" | |
| 109 flavor bool | |
| 110 default_value 1 | |
| 111 description " | |
| 112 This option includes the serial device driver for the Cogent | |
| 113 ARM/CMA230 port B." | |
| 114 | |
| 115 cdl_option CYGDAT_IO_SERIAL_ARM_CMA230_SERIAL_B_NAME { | |
| 116 display "Device name for Cogent ARM/CMA230 serial port B" | |
| 117 flavor data | |
| 118 default_value {"\"/dev/ser2\""} | |
| 119 description " | |
| 120 This option specifies the device name for the Cogent | |
| 121 ARM/CMA230 port B." | |
| 122 } | |
| 123 | |
| 124 cdl_option CYGNUM_IO_SERIAL_ARM_CMA230_SERIAL_B_BAUD { | |
| 125 display "Baud rate for the Cogent ARM/CMA230 serial port B driver" | |
| 126 flavor data | |
| 127 legal_values { 50 75 110 "134_5" 150 200 300 600 1200 1800 2400 3600 | |
| 128 4800 7200 9600 14400 19200 38400 57600 115200 234000 | |
| 129 } | |
| 130 default_value 38400 | |
| 131 description " | |
| 132 This option specifies the default baud rate (speed) for the | |
| 133 Cogent ARM/CMA230 port B." | |
| 134 } | |
| 135 | |
| 136 cdl_option CYGNUM_IO_SERIAL_ARM_CMA230_SERIAL_B_BUFSIZE { | |
| 137 display "Buffer size for the Cogent ARM/CMA230 serial port B driver" | |
| 138 flavor data | |
| 139 legal_values 0 to 8192 | |
| 140 default_value 128 | |
| 141 description " | |
| 142 This option specifies the size of the internal buffers used | |
| 143 for the Cogent ARM/CMA230 port B." | |
| 144 } | |
| 145 } | |
| 146 | |
| 147 cdl_component CYGPKG_IO_SERIAL_ARM_CMA230_OPTIONS { | |
| 148 display "Serial device driver build options" | |
| 149 flavor none | |
| 150 description " | |
| 151 Package specific build options including control over | |
| 152 compiler flags used only in building this package, | |
| 153 and details of which tests are built." | |
| 154 | |
| 155 | |
| 156 cdl_option CYGPKG_IO_SERIAL_ARM_CMA230_CFLAGS_ADD { | |
| 157 display "Additional compiler flags" | |
| 158 flavor data | |
| 159 no_define | |
| 160 default_value { "" } | |
| 161 description " | |
| 162 This option modifies the set of compiler flags for | |
| 163 building these serial device drivers. These flags are used in addition | |
| 164 to the set of global flags." | |
| 165 } | |
| 166 | |
| 167 cdl_option CYGPKG_IO_SERIAL_ARM_CMA230_CFLAGS_REMOVE { | |
| 168 display "Suppressed compiler flags" | |
| 169 flavor data | |
| 170 no_define | |
| 171 default_value { "" } | |
| 172 description " | |
| 173 This option modifies the set of compiler flags for | |
| 174 building these serial device drivers. These flags are removed from | |
| 175 the set of global flags if present." | |
| 176 } | |
| 177 } | |
| 178 } | |
| 179 | |
| 180 # EOF ser_arm_cma230.cdl |
