Mercurial > ecos-v2_0-branch
comparison packages/devs/serial/sh/edk7708/current/cdl/ser_sh_edk7708.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_sh_edk7708.cdl | |
| 4 # | |
| 5 # eCos serial SH/EDK7708 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 # Contributors: | |
| 36 # Date: 1999-07-08 | |
| 37 # | |
| 38 #####DESCRIPTIONEND#### | |
| 39 # | |
| 40 # ==================================================================== | |
| 41 | |
| 42 | |
| 43 cdl_package CYGPKG_IO_SERIAL_SH_EDK7708 { | |
| 44 display "SH3 EDK7708 serial device drivers" | |
| 45 | |
| 46 parent CYGPKG_IO_SERIAL_DEVICES | |
| 47 active_if CYGPKG_IO_SERIAL | |
| 48 active_if CYGPKG_HAL_SH_EDK7708 | |
| 49 | |
| 50 requires CYGPKG_ERROR | |
| 51 include_dir cyg/io | |
| 52 # include_files ; # none _exported_ whatsoever | |
| 53 description " | |
| 54 This option enables the serial device drivers for the | |
| 55 Hitachi SH3 EDK7708 board." | |
| 56 doc redirect/ecos-device-drivers.html | |
| 57 | |
| 58 | |
| 59 define_proc { | |
| 60 puts $::cdl_system_header "/***** serial driver proc output start *****/" | |
| 61 puts $::cdl_system_header "#define CYGDAT_IO_SERIAL_DEVICE_HEADER <pkgconf/io_serial_sh_edk7708.h>" | |
| 62 puts $::cdl_system_header "/***** serial driver proc output end *****/" | |
| 63 } | |
| 64 | |
| 65 cdl_component CYGPKG_IO_SERIAL_SH_EDK7708_SCI { | |
| 66 display "SH3 EDK7708 SCI device driver" | |
| 67 flavor bool | |
| 68 default_value 1 | |
| 69 description " | |
| 70 This option includes the serial device driver for the SCI port." | |
| 71 | |
| 72 compile -library=libextras.a sh_sci_serial.c | |
| 73 | |
| 74 cdl_option CYGDAT_IO_SERIAL_SH_EDK7708_SCI_NAME { | |
| 75 display "Device name for SH3 EDK7708 SCI" | |
| 76 flavor data | |
| 77 default_value {"\"/dev/ser1\""} | |
| 78 description " | |
| 79 This option specifies the device name for the SCI port." | |
| 80 } | |
| 81 | |
| 82 cdl_option CYGNUM_IO_SERIAL_SH_EDK7708_SCI_BAUD { | |
| 83 display "Baud rate for the SH SCI driver" | |
| 84 flavor data | |
| 85 legal_values { 4800 9600 14400 19200 38400 57600 115200 } | |
| 86 default_value 38400 | |
| 87 description " | |
| 88 This option specifies the default baud rate (speed) for the | |
| 89 SCI port." | |
| 90 } | |
| 91 | |
| 92 cdl_option CYGNUM_IO_SERIAL_SH_EDK7708_SCI_BUFSIZE { | |
| 93 display "Buffer size for the SH SCI driver" | |
| 94 flavor data | |
| 95 legal_values 0 to 8192 | |
| 96 default_value 128 | |
| 97 description " | |
| 98 This option specifies the size of the internal buffers used for | |
| 99 the SCI port." | |
| 100 } | |
| 101 } | |
| 102 | |
| 103 cdl_component CYGPKG_IO_SERIAL_SH_EDK7708_OPTIONS { | |
| 104 display "Serial device driver build options" | |
| 105 flavor none | |
| 106 description " | |
| 107 Package specific build options including control over | |
| 108 compiler flags used only in building this package, | |
| 109 and details of which tests are built." | |
| 110 | |
| 111 | |
| 112 cdl_option CYGPKG_IO_SERIAL_SH_EDK7708_CFLAGS_ADD { | |
| 113 display "Additional compiler flags" | |
| 114 flavor data | |
| 115 no_define | |
| 116 default_value { "" } | |
| 117 description " | |
| 118 This option modifies the set of compiler flags for | |
| 119 building these serial device drivers. These flags are used in addition | |
| 120 to the set of global flags." | |
| 121 } | |
| 122 | |
| 123 cdl_option CYGPKG_IO_SERIAL_SH_EDK7708_CFLAGS_REMOVE { | |
| 124 display "Suppressed compiler flags" | |
| 125 flavor data | |
| 126 no_define | |
| 127 default_value { "" } | |
| 128 description " | |
| 129 This option modifies the set of compiler flags for | |
| 130 building these serial device drivers. These flags are removed from | |
| 131 the set of global flags if present." | |
| 132 } | |
| 133 } | |
| 134 } | |
| 135 | |
| 136 # EOF ser_sh_edk7708.cdl |
