forked from Open-CMSIS-Pack/devtools
-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathARM.RteTestGenerator.pdsc
More file actions
221 lines (208 loc) · 10.8 KB
/
Copy pathARM.RteTestGenerator.pdsc
File metadata and controls
221 lines (208 loc) · 10.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
<?xml version="1.0" encoding="utf-8"?>
<package schemaVersion="1.4" xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="PACK.xsd">
<vendor>ARM</vendor>
<name>RteTestGenerator</name>
<url>www.keil.com/pack/</url>
<description>
Testing pack gpdsc capabilities
</description>
<releases>
<release version="0.1.0" date="2022-02-17">
initial version
</release>
</releases>
<conditions>
<condition id="RteDevice">
<description>Condition requiring RteTest device</description>
<require Dname="RteTestGen_ARMCM*"/>
</condition>
</conditions>
<devices>
<family Dfamily="RteTestGen ARM Cortex M" Dvendor="ARM:82">
<description>
RteTest ARM M Device Family
</description>
<subFamily DsubFamily="RteTestGen ARM Cortex M0">
<device Dname="RteTestGen_ARMCM0">
<processor Dcore="Cortex-M0" DcoreVersion="r0p1" Dmpu="MPU" Dendian="Configurable" Dclock="10000000"/>
</device>
</subFamily>
</family>
</devices>
<generators>
<!-- This generator is launched if any component referencing this generator by 'id' is selected and the specified <gpdsc> file does not exist -->
<generator id="RteTestGeneratorIdentifier">
<description>RteTest Generator Description</description>
<!-- path is specified either absolute or relative to PDSC or GPDSC file -->
<workingDir>$PRTE/Device</workingDir>
<exe>
<command host="win">Generator with spaces/script</command>
<command host="linux">Generator with spaces/script.sh</command>
<command host="mac">Generator with spaces/script.sh</command>
<!-- path is specified either absolute or relative to PDSC or GPDSC file. If not specified it is the project directory configured by the environment -->
<!-- D = Device (Dname/Dvariant as configured by environment) -->
<argument>$D</argument>
<!-- Project path and project name (as configured by environment) -->
<argument>#P</argument>
<!-- absolute or relative to workingDir. $S = Device Family Pack base folder -->
<argument>$S</argument>
<!-- absolute path to the generator input file -->
<argument>$G</argument>
<argument mode="dry-run">--dry-run</argument>
<argument host="win" switch="/foo=">bar</argument>
<argument host="linux" switch="--foo=">bar</argument>
<argument host="mac" switch="--foo=">bar</argument>
</exe>
<!-- path is either absolute or relative to working directory -->
<gpdsc name="$PRTE/Device/$D/RteTest.gpdsc"/>
</generator>
<!-- This generator is for testing of "key" attribute -->
<generator id="RteTestGeneratorWithKey">
<description>RteTest Generator with Key Description</description>
<!-- path is specified either absolute or relative to PDSC or GPDSC file -->
<workingDir>$PRTE/Device</workingDir>
<exe>
<command host="win" key="RTE_GENERATOR_WITH_KEY">script.bat</command>
<command host="linux" key="RTE_GENERATOR_WITH_KEY">script.sh</command>
<command host="mac" key="RTE_GENERATOR_WITH_KEY">script.sh</command>
<!-- path is specified either absolute or relative to PDSC or GPDSC file. If not specified it is the project directory configured by the environment -->
<!-- D = Device (Dname/Dvariant as configured by environment) -->
<argument>$D</argument>
<!-- Project path and project name (as configured by environment) -->
<argument>#P</argument>
<!-- absolute or relative to workingDir. $S = Device Family Pack base folder -->
<argument>$S</argument>
<!-- absolute path to the generator input file -->
<argument>$G</argument>
</exe>
<!-- path is either absolute or relative to working directory -->
<gpdsc name="$PRTE/Device/$D/RteTest.gpdsc"/>
</generator>
<!-- This generator is for testing of "key" attribute -->
<generator id="RteTestGeneratorNoExe">
<description>RteTest Generator without execution permission</description>
<!-- path is specified either absolute or relative to PDSC or GPDSC file -->
<workingDir>$PRTE/Device</workingDir>
<exe>
<command>Generator with spaces/noexe.sh</command>
<!-- path is specified either absolute or relative to PDSC or GPDSC file. If not specified it is the project directory configured by the environment -->
<!-- D = Device (Dname/Dvariant as configured by environment) -->
<argument>$D</argument>
<!-- Project path and project name (as configured by environment) -->
<argument>#P</argument>
<!-- absolute or relative to workingDir. $S = Device Family Pack base folder -->
<argument>$S</argument>
<!-- absolute path to the generator input file -->
<argument>$G</argument>
</exe>
<!-- path is either absolute or relative to working directory -->
<gpdsc name="$PRTE/Device/$D/RteTest.gpdsc"/>
</generator>
<!-- This generator is for testing of dry-running without "dry-run" support -->
<generator id="RteTestGeneratorNoDryRun">
<description>RteTest Generator Description</description>
<!-- path is specified either absolute or relative to PDSC or GPDSC file -->
<workingDir>$PRTE/Device</workingDir>
<exe>
<command host="win">Generator with spaces/script.bat</command>
<command host="linux">Generator with spaces/script.sh</command>
<command host="mac">Generator with spaces/script.sh</command>
<!-- path is specified either absolute or relative to PDSC or GPDSC file. If not specified it is the project directory configured by the environment -->
<!-- D = Device (Dname/Dvariant as configured by environment) -->
<argument>$D</argument>
<!-- Project path and project name (as configured by environment) -->
<argument>#P</argument>
<!-- absolute or relative to workingDir. $S = Device Family Pack base folder -->
<argument>$S</argument>
<!-- absolute path to the generator input file -->
<argument>$G</argument>
</exe>
<!-- path is either absolute or relative to working directory -->
<gpdsc name="$PRTE/Device/$D/RteTest.gpdsc"/>
</generator>
</generators>
<components>
<component generator="RteTestGeneratorIdentifier" Cclass="Device" Cgroup="RteTest Generated Component" Csub="RteTest" Cversion="1.1.0" Capiversion="1.1.0" condition="RteDevice">
<description>Configuration via RteTest script</description>
<RTE_Components_h>
#define RTE_TEST_GENERATOR
</RTE_Components_h>
<files>
<file category="other" name="Templates/RteTest.gpdsc.template" version ="1.0.0"/>
</files>
</component>
<component generator="RteTestGeneratorWithKey" Cclass="Device" Cgroup="RteTest Generated Component" Csub="RteTestWithKey" Cversion="1.1.0" Capiversion="1.1.0" condition="RteDevice">
<description>Configuration via RteTest script</description>
<RTE_Components_h>
#define RTE_TEST_GENERATOR_WITH_KEY
</RTE_Components_h>
<files>
<file category="other" name="Templates/RteTest.gpdsc.template" version ="1.0.0"/>
</files>
</component>
<component generator="RteTestGeneratorIdentifier" Cclass="Device" Cgroup="RteTest Generated Component" Csub="RteTestSimple" Cversion="1.1.0">
<description>Configuration via RteTest script</description>
<RTE_Components_h>
#define RTE_TEST_GENERATOR_SIMPLE
</RTE_Components_h>
<files>
<file category="other" name="Templates/RteTest.gpdsc.template" version ="1.0.0"/>
</files>
</component>
<component generator="RteTestGeneratorIdentifier" Cclass="Device" Cgroup="RteTest Generated Component" Csub="RteTestGenFiles" Cversion="1.1.0">
<description>Configuration via RteTest script</description>
<RTE_Components_h>
#define RTE_TEST_GENERATOR_GEN_FILES
</RTE_Components_h>
<files>
<file category="header" name="Include/RteTestInc.h" version ="1.0.0"/>
<file category="genAsset" name="Templates/RteTest.gpdsc.template" version ="1.0.0"/>
<file category="genHeader" name="Templates/RteTestGen.h.template" version ="1.0.0"/>
<file category="genSource" name="Templates/RteTestGen.c.template" version ="1.0.0"/>
<file category="genParams" name="Generator with spaces/RteTestGen.params" version ="0.9.0" attr="config"/>
</files>
</component>
<component generator="RteTestGeneratorNoExe" Cclass="Device" Cgroup="RteTest Generated Component" Csub="RteTestNoExe" Cversion="1.1.0">
<description>Configuration via RteTest script</description>
<RTE_Components_h>
#define RTE_TEST_GENERATOR_SIMPLE
</RTE_Components_h>
<files>
<file category="genAsset" name="Templates/RteTest.gpdsc.template" version ="1.0.0"/>
</files>
</component>
<component generator="RteTestGeneratorNoDryRun" Cclass="Device" Cgroup="RteTest Generated Component" Csub="RteTestNoDryRun" Cversion="1.1.0">
<description>Configuration via RteTest script</description>
</component>
<component generator="RteTestExternalGenerator" Cclass="RteTestGenerator" Cgroup="Check Global Generator" Cversion="0.9.0">
<description>Component addressing external</description>
<files>
<file category="header" name="Include/RteTestInc.h" version ="1.0.0"/>
<file category="genAsset" name="Templates/RteTest.gpdsc.template" version ="1.0.0"/>
<file category="genHeader" name="Templates/RteTestGen.h.template" version ="1.0.0"/>
<file category="genSource" name="Templates/RteTestGen.c.template" version ="1.0.0"/>
<file category="genParams" name="Generator with spaces/RteTestGen.params" version ="0.9.0" attr="config"/>
</files>
</component>
<component generator="RteTestGeneratorIdentifier" Cvendor="ARM" Cclass="Device" Cgroup="RteTest Generated Component" Csub="RteTestOverlap" Cversion="1.1.0">
<description>Component with overlaping file lists</description>
<files>
<file category="sourceC" name="Src/RteTestConfig.c" attr="config" version="1.1.0"/>
</files>
</component>
<bundle Cbundle="RteTestBundle" Cclass="Device" Cversion="1.0.0">
<component generator="RteTestGeneratorIdentifier" Cgroup="RteTest Generated Component" Cversion="1.1.0">
<description>Configuration via RteTest script</description>
<RTE_Components_h>
#define RTE_TEST_GENERATOR_GEN_FILES
</RTE_Components_h>
<files>
<file category="genSource" name="Templates/RteTestGen.c.template" version ="1.0.0"/>
</files>
</component>
<component Cgroup="Startup" Cversion="1.1.0">
<description>Configuration via RteTest script</description>
</component>
</bundle>
</components>
</package>