annotate packages/devs/can/loop/current/cdl/can_loop.cdl @ 2863:7d8c61e6225c default tip

* Added execute permissions to files missed in conversion from CVS
author alexs
date Thu, 26 Mar 2009 20:39:18 +0000
parents 3caad2060bd3
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2830
3caad2060bd3 Strip erroneous CR chars from text files in the eCos repository.
jld
parents: 2729
diff changeset
1 # ====================================================================
3caad2060bd3 Strip erroneous CR chars from text files in the eCos repository.
jld
parents: 2729
diff changeset
2 #
3caad2060bd3 Strip erroneous CR chars from text files in the eCos repository.
jld
parents: 2729
diff changeset
3 # can_loop.cdl
3caad2060bd3 Strip erroneous CR chars from text files in the eCos repository.
jld
parents: 2729
diff changeset
4 #
3caad2060bd3 Strip erroneous CR chars from text files in the eCos repository.
jld
parents: 2729
diff changeset
5 # eCos CAN LOOP configuration data
3caad2060bd3 Strip erroneous CR chars from text files in the eCos repository.
jld
parents: 2729
diff changeset
6 #
3caad2060bd3 Strip erroneous CR chars from text files in the eCos repository.
jld
parents: 2729
diff changeset
7 # ====================================================================
2729
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2421
diff changeset
8 ## ####ECOSGPLCOPYRIGHTBEGIN####
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2421
diff changeset
9 ## -------------------------------------------
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2421
diff changeset
10 ## This file is part of eCos, the Embedded Configurable Operating System.
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2421
diff changeset
11 ## Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2421
diff changeset
12 ##
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2421
diff changeset
13 ## eCos is free software; you can redistribute it and/or modify it under
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2421
diff changeset
14 ## the terms of the GNU General Public License as published by the Free
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2421
diff changeset
15 ## Software Foundation; either version 2 or (at your option) any later
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2421
diff changeset
16 ## version.
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2421
diff changeset
17 ##
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2421
diff changeset
18 ## eCos is distributed in the hope that it will be useful, but WITHOUT
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2421
diff changeset
19 ## ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2421
diff changeset
20 ## FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2421
diff changeset
21 ## for more details.
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2421
diff changeset
22 ##
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2421
diff changeset
23 ## You should have received a copy of the GNU General Public License
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2421
diff changeset
24 ## along with eCos; if not, write to the Free Software Foundation, Inc.,
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2421
diff changeset
25 ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2421
diff changeset
26 ##
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2421
diff changeset
27 ## As a special exception, if other files instantiate templates or use
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2421
diff changeset
28 ## macros or inline functions from this file, or you compile this file
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2421
diff changeset
29 ## and link it with other works to produce a work based on this file,
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2421
diff changeset
30 ## this file does not by itself cause the resulting work to be covered by
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2421
diff changeset
31 ## the GNU General Public License. However the source code for this file
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2421
diff changeset
32 ## must still be made available in accordance with section (3) of the GNU
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2421
diff changeset
33 ## General Public License v2.
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2421
diff changeset
34 ##
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2421
diff changeset
35 ## This exception does not invalidate any other reasons why a work based
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2421
diff changeset
36 ## on this file might be covered by the GNU General Public License.
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2421
diff changeset
37 ## -------------------------------------------
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2421
diff changeset
38 ## ####ECOSGPLCOPYRIGHTEND####
2830
3caad2060bd3 Strip erroneous CR chars from text files in the eCos repository.
jld
parents: 2729
diff changeset
39 # ====================================================================
3caad2060bd3 Strip erroneous CR chars from text files in the eCos repository.
jld
parents: 2729
diff changeset
40 ######DESCRIPTIONBEGIN####
3caad2060bd3 Strip erroneous CR chars from text files in the eCos repository.
jld
parents: 2729
diff changeset
41 #
3caad2060bd3 Strip erroneous CR chars from text files in the eCos repository.
jld
parents: 2729
diff changeset
42 # Author(s): Uwe Kindler
3caad2060bd3 Strip erroneous CR chars from text files in the eCos repository.
jld
parents: 2729
diff changeset
43 # Original data: gthomas
3caad2060bd3 Strip erroneous CR chars from text files in the eCos repository.
jld
parents: 2729
diff changeset
44 # Contributors:
3caad2060bd3 Strip erroneous CR chars from text files in the eCos repository.
jld
parents: 2729
diff changeset
45 # Date: 2005-07-11
3caad2060bd3 Strip erroneous CR chars from text files in the eCos repository.
jld
parents: 2729
diff changeset
46 #
3caad2060bd3 Strip erroneous CR chars from text files in the eCos repository.
jld
parents: 2729
diff changeset
47 #####DESCRIPTIONEND####
3caad2060bd3 Strip erroneous CR chars from text files in the eCos repository.
jld
parents: 2729
diff changeset
48 #
3caad2060bd3 Strip erroneous CR chars from text files in the eCos repository.
jld
parents: 2729
diff changeset
49 # ====================================================================
3caad2060bd3 Strip erroneous CR chars from text files in the eCos repository.
jld
parents: 2729
diff changeset
50
3caad2060bd3 Strip erroneous CR chars from text files in the eCos repository.
jld
parents: 2729
diff changeset
51 cdl_package CYGPKG_DEVS_CAN_LOOP {
3caad2060bd3 Strip erroneous CR chars from text files in the eCos repository.
jld
parents: 2729
diff changeset
52 display "Loop CAN device drivers"
3caad2060bd3 Strip erroneous CR chars from text files in the eCos repository.
jld
parents: 2729
diff changeset
53
3caad2060bd3 Strip erroneous CR chars from text files in the eCos repository.
jld
parents: 2729
diff changeset
54 parent CYGPKG_IO_CAN_DEVICES
3caad2060bd3 Strip erroneous CR chars from text files in the eCos repository.
jld
parents: 2729
diff changeset
55 active_if CYGPKG_IO_CAN
3caad2060bd3 Strip erroneous CR chars from text files in the eCos repository.
jld
parents: 2729
diff changeset
56 requires CYGPKG_ERROR
3caad2060bd3 Strip erroneous CR chars from text files in the eCos repository.
jld
parents: 2729
diff changeset
57 include_dir cyg/io
3caad2060bd3 Strip erroneous CR chars from text files in the eCos repository.
jld
parents: 2729
diff changeset
58 include_files ; # none _exported_ whatsoever
3caad2060bd3 Strip erroneous CR chars from text files in the eCos repository.
jld
parents: 2729
diff changeset
59
3caad2060bd3 Strip erroneous CR chars from text files in the eCos repository.
jld
parents: 2729
diff changeset
60 description "
3caad2060bd3 Strip erroneous CR chars from text files in the eCos repository.
jld
parents: 2729
diff changeset
61 This package contains the loop CAN device driver."
3caad2060bd3 Strip erroneous CR chars from text files in the eCos repository.
jld
parents: 2729
diff changeset
62
3caad2060bd3 Strip erroneous CR chars from text files in the eCos repository.
jld
parents: 2729
diff changeset
63 compile -library=libextras.a loop_can.c
3caad2060bd3 Strip erroneous CR chars from text files in the eCos repository.
jld
parents: 2729
diff changeset
64
3caad2060bd3 Strip erroneous CR chars from text files in the eCos repository.
jld
parents: 2729
diff changeset
65 # Support up to two CAN loop device.
3caad2060bd3 Strip erroneous CR chars from text files in the eCos repository.
jld
parents: 2729
diff changeset
66 for { set ::loopcan 0 } { $::loopcan < 2 } { incr ::loopcan } {
3caad2060bd3 Strip erroneous CR chars from text files in the eCos repository.
jld
parents: 2729
diff changeset
67
3caad2060bd3 Strip erroneous CR chars from text files in the eCos repository.
jld
parents: 2729
diff changeset
68 cdl_component CYGPKG_DEVS_CAN_LOOP_CAN[set ::loopcan] {
3caad2060bd3 Strip erroneous CR chars from text files in the eCos repository.
jld
parents: 2729
diff changeset
69 display "LOOP CAN channel [set ::loopcan] driver"
3caad2060bd3 Strip erroneous CR chars from text files in the eCos repository.
jld
parents: 2729
diff changeset
70 flavor bool
3caad2060bd3 Strip erroneous CR chars from text files in the eCos repository.
jld
parents: 2729
diff changeset
71 default_value 0
3caad2060bd3 Strip erroneous CR chars from text files in the eCos repository.
jld
parents: 2729
diff changeset
72 implements CYGINT_IO_CAN_TIMESTAMP
3caad2060bd3 Strip erroneous CR chars from text files in the eCos repository.
jld
parents: 2729
diff changeset
73 implements CYGINT_IO_CAN_TX_EVENTS
3caad2060bd3 Strip erroneous CR chars from text files in the eCos repository.
jld
parents: 2729
diff changeset
74 implements CYGINT_IO_CAN_STD_CAN_ID
3caad2060bd3 Strip erroneous CR chars from text files in the eCos repository.
jld
parents: 2729
diff changeset
75 implements CYGINT_IO_CAN_EXT_CAN_ID
3caad2060bd3 Strip erroneous CR chars from text files in the eCos repository.
jld
parents: 2729
diff changeset
76 description "
3caad2060bd3 Strip erroneous CR chars from text files in the eCos repository.
jld
parents: 2729
diff changeset
77 This option includes the CAN loop device driver for channel [set ::loopcan]."
3caad2060bd3 Strip erroneous CR chars from text files in the eCos repository.
jld
parents: 2729
diff changeset
78
3caad2060bd3 Strip erroneous CR chars from text files in the eCos repository.
jld
parents: 2729
diff changeset
79 cdl_option CYGDAT_DEVS_CAN_LOOP_CAN[set ::loopcan]_NAME {
3caad2060bd3 Strip erroneous CR chars from text files in the eCos repository.
jld
parents: 2729
diff changeset
80 display "Device name for LOOP CAN channel [set ::loopcan]"
3caad2060bd3 Strip erroneous CR chars from text files in the eCos repository.
jld
parents: 2729
diff changeset
81 flavor data
3caad2060bd3 Strip erroneous CR chars from text files in the eCos repository.
jld
parents: 2729
diff changeset
82 default_value [format {"\"/dev/can%d\""} $::loopcan]
3caad2060bd3 Strip erroneous CR chars from text files in the eCos repository.
jld
parents: 2729
diff changeset
83 description "
3caad2060bd3 Strip erroneous CR chars from text files in the eCos repository.
jld
parents: 2729
diff changeset
84 This option specifies the device name for loop CAN channel [set ::loopcan]."
3caad2060bd3 Strip erroneous CR chars from text files in the eCos repository.
jld
parents: 2729
diff changeset
85 }
3caad2060bd3 Strip erroneous CR chars from text files in the eCos repository.
jld
parents: 2729
diff changeset
86
3caad2060bd3 Strip erroneous CR chars from text files in the eCos repository.
jld
parents: 2729
diff changeset
87 cdl_option CYGNUM_DEVS_CAN_LOOP_CAN[set ::loopcan]_KBAUD {
3caad2060bd3 Strip erroneous CR chars from text files in the eCos repository.
jld
parents: 2729
diff changeset
88 display "Baud rate for the LOOP CAN channel [set ::loopcan] driver"
3caad2060bd3 Strip erroneous CR chars from text files in the eCos repository.
jld
parents: 2729
diff changeset
89 flavor data
3caad2060bd3 Strip erroneous CR chars from text files in the eCos repository.
jld
parents: 2729
diff changeset
90 default_value 100
3caad2060bd3 Strip erroneous CR chars from text files in the eCos repository.
jld
parents: 2729
diff changeset
91 legal_values { 10 20 50 100 125 250 500 800 1000 }
3caad2060bd3 Strip erroneous CR chars from text files in the eCos repository.
jld
parents: 2729
diff changeset
92 description "This option determines the initial baud rate in KBaud for
3caad2060bd3 Strip erroneous CR chars from text files in the eCos repository.
jld
parents: 2729
diff changeset
93 loop CAN channel [set ::loopcan]."
3caad2060bd3 Strip erroneous CR chars from text files in the eCos repository.
jld
parents: 2729
diff changeset
94 }
3caad2060bd3 Strip erroneous CR chars from text files in the eCos repository.
jld
parents: 2729
diff changeset
95
3caad2060bd3 Strip erroneous CR chars from text files in the eCos repository.
jld
parents: 2729
diff changeset
96 cdl_option CYGNUM_DEVS_CAN_LOOP_CAN[set ::loopcan]_QUEUESIZE_TX {
3caad2060bd3 Strip erroneous CR chars from text files in the eCos repository.
jld
parents: 2729
diff changeset
97 display "Size of TX Queue for loop CAN channel [set ::loopcan]"
3caad2060bd3 Strip erroneous CR chars from text files in the eCos repository.
jld
parents: 2729
diff changeset
98 flavor data
3caad2060bd3 Strip erroneous CR chars from text files in the eCos repository.
jld
parents: 2729
diff changeset
99 default_value 32
3caad2060bd3 Strip erroneous CR chars from text files in the eCos repository.
jld
parents: 2729
diff changeset
100 legal_values 16 to 512
3caad2060bd3 Strip erroneous CR chars from text files in the eCos repository.
jld
parents: 2729
diff changeset
101 description "
3caad2060bd3 Strip erroneous CR chars from text files in the eCos repository.
jld
parents: 2729
diff changeset
102 The CAN device driver will run in interrupt mode and will
3caad2060bd3 Strip erroneous CR chars from text files in the eCos repository.
jld
parents: 2729
diff changeset
103 perform buffering of outgoing data. This option controls the number
3caad2060bd3 Strip erroneous CR chars from text files in the eCos repository.
jld
parents: 2729
diff changeset
104 of CAN messages the TX queue can store."
3caad2060bd3 Strip erroneous CR chars from text files in the eCos repository.
jld
parents: 2729
diff changeset
105 }
3caad2060bd3 Strip erroneous CR chars from text files in the eCos repository.
jld
parents: 2729
diff changeset
106
3caad2060bd3 Strip erroneous CR chars from text files in the eCos repository.
jld
parents: 2729
diff changeset
107 cdl_option CYGNUM_DEVS_CAN_LOOP_CAN[set ::loopcan]_QUEUESIZE_RX {
3caad2060bd3 Strip erroneous CR chars from text files in the eCos repository.
jld
parents: 2729
diff changeset
108 display "Size of RX Queue for the loop CAN channel [set ::loopcan]"
3caad2060bd3 Strip erroneous CR chars from text files in the eCos repository.
jld
parents: 2729
diff changeset
109 flavor data
3caad2060bd3 Strip erroneous CR chars from text files in the eCos repository.
jld
parents: 2729
diff changeset
110 default_value 32
3caad2060bd3 Strip erroneous CR chars from text files in the eCos repository.
jld
parents: 2729
diff changeset
111 legal_values 16 to 512
3caad2060bd3 Strip erroneous CR chars from text files in the eCos repository.
jld
parents: 2729
diff changeset
112 description "
3caad2060bd3 Strip erroneous CR chars from text files in the eCos repository.
jld
parents: 2729
diff changeset
113 The CAN device driver will run in interrupt mode and will
3caad2060bd3 Strip erroneous CR chars from text files in the eCos repository.
jld
parents: 2729
diff changeset
114 perform buffering of incoming data. This option controls the number
3caad2060bd3 Strip erroneous CR chars from text files in the eCos repository.
jld
parents: 2729
diff changeset
115 of CAN events the RX queue can store."
3caad2060bd3 Strip erroneous CR chars from text files in the eCos repository.
jld
parents: 2729
diff changeset
116 }
3caad2060bd3 Strip erroneous CR chars from text files in the eCos repository.
jld
parents: 2729
diff changeset
117 }
3caad2060bd3 Strip erroneous CR chars from text files in the eCos repository.
jld
parents: 2729
diff changeset
118 }
3caad2060bd3 Strip erroneous CR chars from text files in the eCos repository.
jld
parents: 2729
diff changeset
119
3caad2060bd3 Strip erroneous CR chars from text files in the eCos repository.
jld
parents: 2729
diff changeset
120
3caad2060bd3 Strip erroneous CR chars from text files in the eCos repository.
jld
parents: 2729
diff changeset
121 cdl_component CYGPKG_DEVS_CAN_LOOP_OPTIONS {
3caad2060bd3 Strip erroneous CR chars from text files in the eCos repository.
jld
parents: 2729
diff changeset
122 display "CAN device driver build options"
3caad2060bd3 Strip erroneous CR chars from text files in the eCos repository.
jld
parents: 2729
diff changeset
123 flavor none
3caad2060bd3 Strip erroneous CR chars from text files in the eCos repository.
jld
parents: 2729
diff changeset
124 description "
3caad2060bd3 Strip erroneous CR chars from text files in the eCos repository.
jld
parents: 2729
diff changeset
125 Package specific build options including control over
3caad2060bd3 Strip erroneous CR chars from text files in the eCos repository.
jld
parents: 2729
diff changeset
126 compiler flags used only in building this package,
3caad2060bd3 Strip erroneous CR chars from text files in the eCos repository.
jld
parents: 2729
diff changeset
127 and details of which tests are built."
3caad2060bd3 Strip erroneous CR chars from text files in the eCos repository.
jld
parents: 2729
diff changeset
128
3caad2060bd3 Strip erroneous CR chars from text files in the eCos repository.
jld
parents: 2729
diff changeset
129
3caad2060bd3 Strip erroneous CR chars from text files in the eCos repository.
jld
parents: 2729
diff changeset
130 cdl_option CYGPKG_DEVS_CAN_LOOP_TESTS {
3caad2060bd3 Strip erroneous CR chars from text files in the eCos repository.
jld
parents: 2729
diff changeset
131 display "CAN loop device driver tests"
3caad2060bd3 Strip erroneous CR chars from text files in the eCos repository.
jld
parents: 2729
diff changeset
132 flavor data
3caad2060bd3 Strip erroneous CR chars from text files in the eCos repository.
jld
parents: 2729
diff changeset
133 calculated { "tests/can_rdwr tests/can_timeout tests/can_txevent tests/can_overrun1 tests/can_overrun2 tests/can_nonblock tests/can_callback" }
3caad2060bd3 Strip erroneous CR chars from text files in the eCos repository.
jld
parents: 2729
diff changeset
134 description "
3caad2060bd3 Strip erroneous CR chars from text files in the eCos repository.
jld
parents: 2729
diff changeset
135 This option specifies the set of tests for the CAN loop device drivers."
3caad2060bd3 Strip erroneous CR chars from text files in the eCos repository.
jld
parents: 2729
diff changeset
136 }
3caad2060bd3 Strip erroneous CR chars from text files in the eCos repository.
jld
parents: 2729
diff changeset
137 }
3caad2060bd3 Strip erroneous CR chars from text files in the eCos repository.
jld
parents: 2729
diff changeset
138 }
3caad2060bd3 Strip erroneous CR chars from text files in the eCos repository.
jld
parents: 2729
diff changeset
139
3caad2060bd3 Strip erroneous CR chars from text files in the eCos repository.
jld
parents: 2729
diff changeset
140 # EOF can_loop.cdl