]> git.karo-electronics.de Git - karo-tx-redboot.git/blob - packages/services/diagnosis/v2_0/cdl/diagnosis.cdl
Initial revision
[karo-tx-redboot.git] / packages / services / diagnosis / v2_0 / cdl / diagnosis.cdl
1 # ====================================================================
2 #
3 #      diagnosis.cdl
4 #
5 #      diagnosis configuration data.
6 #
7 # ====================================================================
8 #####ECOSGPLCOPYRIGHTBEGIN####
9 ## -------------------------------------------
10 ## This file is part of eCos, the Embedded Configurable Operating System.
11 ## Copyright (C) 2008 Freescale
12 ##
13 ## eCos is free software; you can redistribute it and/or modify it under
14 ## the terms of the GNU General Public License as published by the Free
15 ## Software Foundation; either version 2 or (at your option) any later version.
16 ##
17 ## eCos is distributed in the hope that it will be useful, but WITHOUT ANY
18 ## WARRANTY; without even the implied warranty of MERCHANTABILITY or
19 ## FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
20 ## for more details.
21 ##
22 ## You should have received a copy of the GNU General Public License along
23 ## with eCos; if not, write to the Free Software Foundation, Inc.,
24 ## 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
25 ##
26 ## As a special exception, if other files instantiate templates or use macros
27 ## or inline functions from this file, or you compile this file and link it
28 ## with other works to produce a work based on this file, this file does not
29 ## by itself cause the resulting work to be covered by the GNU General Public
30 ## License. However the source code for this file must still be made available
31 ## in accordance with section (3) of the GNU General Public License.
32 ##
33 ## This exception does not invalidate any other reasons why a work based on
34 ## this file might be covered by the GNU General Public License.
35 ##
36 ## Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.
37 ## at http://sources.redhat.com/ecos/ecos-license/
38 ## -------------------------------------------
39 #####ECOSGPLCOPYRIGHTEND####
40 # ====================================================================
41 ######DESCRIPTIONBEGIN####
42 #
43 # Author(s):      Fred.Fan
44 # Original data:  Fred.Fan
45 # Contributors:
46 # Date:           2008-03-15
47 #
48 #####DESCRIPTIONEND####
49 #
50 # ====================================================================
51
52 cdl_package CYGPKG_DIAGNOSIS {
53     display       "Diagnostic tools"
54     include_dir   cyg/diagnosis
55 #   doc           ref/services-diagnosis.html
56
57     description "
58       This package provides support for hardware diagnosis."
59
60     compile -library=libextras.a core.c
61
62     cdl_component CYGPKG_MEMORY_DIAGNOSIS {
63         display "memory diagnosis"
64         flavor  bool
65
66         description "This option includes memory test cases."
67
68        compile -library=libextras.a memory/routine.S
69         cdl_option CYGSEM_RAM_RW_DIAGNOSIS {
70                 display "perform ram read/write diagnosis"
71                 flavor  bool
72                 default_value 1
73
74                 description      "
75                     This option is overriden by the configuration in hal."
76
77                 compile memory/ram_rw.c
78         }
79
80         cdl_option CYGSEM_RAM_PM_DIAGNOSIS {
81                 display "perform ram performance diagnosis"
82                 flavor  bool
83                 default_value 1
84
85                 description      "
86                     This option is overriden by the configuration in hal."
87
88                 compile memory/ram_pm.c
89         }
90     }
91
92     cdl_component CYGPKG_WDT_DIAGNOSIS {
93         display "watchdog diagnosis"
94         flavor  bool
95
96         description "This option includes watchdog test cases."
97
98         compile -library=libextras.a
99         cdl_option CYGSEM_WDT_DIAGNOSIS {
100                 display "perform watchdog diagnosis"
101                 flavor  bool
102                 default_value 1
103
104                 description      "
105                     This option is overriden by the configuration in hal."
106
107                 compile wdt/wdt.c
108         }
109     }
110 }
111
112