Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cpdsc_pg.html « html « Pack « docs « CMSIS « Drivers - github.com/Flipper-Zero/STM32CubeWB.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 46abb8f14c0cc903e13a8618d7fb7994392dd16a (plain)
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
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Project Description (*.cpdsc) Format</title>
<title>CMSIS-Pack: Project Description (*.cpdsc) Format</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="cmsis.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script type="text/javascript" src="printComponentTabs.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 46px;">
  <td id="projectlogo"><img alt="Logo" src="CMSIS_Logo_Final.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">CMSIS-Pack
   &#160;<span id="projectnumber">Version 1.6.0</span>
   </div>
   <div id="projectbrief">Delivery Mechanism for Software Packs</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<div id="CMSISnav" class="tabs1">
    <ul class="tablist">
      <script type="text/javascript">
		<!--
		writeComponentTabs.call(this);
		//-->
      </script>
	  </ul>
</div>
<!-- Generated by Doxygen 1.8.6 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="pages.html"><span>Usage&#160;and&#160;Description</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('cpdsc_pg.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Pages</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">Project Description (*.cpdsc) Format </div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><p>The CPDSC format provides the XML elements for defining CMSIS software projects. The CPDSC file content is considered static, so you do not have to keep the projects synchronized.</p>
<p>The scope of the description includes:</p>
<ul>
<li>CMSIS Run-Time Environment configuration (RTE)</li>
<li>Project build, including linker script generation</li>
<li>Flash programming</li>
<li>Basic configuration of debug probs</li>
</ul>
<p>The project format creates a basic project configuration and does not reflect tool-specific features or configurations. The import and conversion from the CPDSC format into a toolchain-specific format is the responsibility of the tool vendor.</p>
<h1><a class="anchor" id="cpdsc_definition"></a>
Definition of CMSIS project</h1>
<p>A CMSIS software project is a collection of files in a directory structure. The CPDSC file is located in the base folder of the directory structure. Only one CPDSC file is allowed. A CPDSC file can describe one or more projects.</p>
<p><b>Example</b> CMSIS Project Description File (*.cpdsc): </p>
<div class="fragment"><div class="line">&lt;?xml version=<span class="stringliteral">&quot;1.0&quot;</span> encoding=<span class="stringliteral">&quot;UTF-8&quot;</span> standalone=<span class="stringliteral">&quot;no&quot;</span> ?&gt;</div>
<div class="line">&lt;<span class="keyword">package </span>xmlns:xsi=&quot;http:<span class="comment">//www.w3.org/2001/XMLSchema-instance&quot; xsi:noNamespaceSchemaLocation=&quot;PACK.xsd&quot;&gt;</span></div>
<div class="line">  &lt;vendor&gt;Keil&lt;/vendor&gt;</div>
<div class="line">  &lt;name&gt;STM32F407_Flash&lt;/name&gt;</div>
<div class="line">  &lt;description&gt;CMSIS RTOS Blinky for STM32F407 microcontroller using Keil &#39;MCBSTM32F400 Evaluation Board.&lt;/description&gt;</div>
<div class="line">  &lt;url&gt;www.keil.com/pack/Keil.STM32F4xx_DFP.pdsc&lt;/url&gt;</div>
<div class="line"></div>
<div class="line">  &lt;releases&gt;</div>
<div class="line">    &lt;release version=&quot;5.25.1&quot;&gt;Generated 2018-02-20T09:10:26&lt;/release&gt;</div>
<div class="line">  &lt;/releases&gt;</div>
<div class="line"></div>
<div class="line">  &lt;requirements&gt;</div>
<div class="line">    &lt;packages&gt;</div>
<div class="line">      &lt;package name=&quot;CMSIS&quot; vendor=&quot;ARM&quot;/&gt;</div>
<div class="line">      &lt;package name=&quot;MDK-Middleware&quot; vendor=&quot;Keil&quot;/&gt; </div>
<div class="line">      &lt;package name=&quot;STM32F4xx_DFP&quot; vendor=&quot;Keil&quot;/&gt;</div>
<div class="line">    &lt;/packages&gt;</div>
<div class="line">  &lt;/requirements&gt;</div>
<div class="line"></div>
<div class="line">  &lt;create&gt;</div>
<div class="line">    &lt;project&gt;</div>
<div class="line">      &lt;target Ddsp=&quot;NO_DSP&quot; Dendian=&quot;Little-endian&quot; Dfpu=&quot;SP_FPU&quot; Dname=&quot;STM32F407IGHx&quot; Dtz=&quot;NO_TZ&quot; Dvendor=&quot;STMicroelectronics:13&quot;&gt;</div>
<div class="line">        &lt;output debug=&quot;1&quot; name=&quot;Blinky&quot; type=&quot;exe&quot;/&gt;</div>
<div class="line">        &lt;debugProbe coreClock=&quot;10000000&quot; name=&quot;ULINK2&quot; protocol=&quot;swd&quot;/&gt;</div>
<div class="line">        &lt;memory access=&quot;rx&quot; default=&quot;1&quot; name=&quot;IROM1&quot; size=&quot;0x100000&quot; start=&quot;0x8000000&quot; startup=&quot;1&quot;/&gt;</div>
<div class="line">        &lt;memory access=&quot;rw&quot; default=&quot;1&quot; init=&quot;1&quot; name=&quot;IRAM1&quot; size=&quot;0x20000&quot; start=&quot;0x20000000&quot;/&gt;</div>
<div class="line">        &lt;memory access=&quot;rw&quot; default=&quot;0&quot; init=&quot;1&quot; name=&quot;IRAM2&quot; size=&quot;0x10000&quot; start=&quot;0x10000000&quot;/&gt;</div>
<div class="line">      &lt;/target&gt;</div>
<div class="line">      &lt;select&gt;</div>
<div class="line">        &lt;component Cclass=&quot;CMSIS&quot; Cgroup=&quot;CORE&quot; Cvendor=&quot;ARM&quot;/&gt;</div>
<div class="line">        &lt;component Cclass=&quot;CMSIS&quot; Cgroup=&quot;RTOS&quot; Csub=&quot;Keil RTX&quot; Cvendor=&quot;ARM&quot;&gt;</div>
<div class="line">          &lt;file attr=&quot;config&quot; category=&quot;source&quot; name=&quot;CMSIS/RTOS/RTX/Templates/RTX_Conf_CM.c&quot; version=&quot;4.70.1&quot;/&gt;</div>
<div class="line">        &lt;/component&gt;</div>
<div class="line">        &lt;component Cbundle=&quot;MCBSTM32F400&quot; Cclass=&quot;Board Support&quot; Cgroup=&quot;A/D Converter&quot; Cvendor=&quot;Keil&quot;/&gt;</div>
<div class="line">        &lt;component Cbundle=&quot;MCBSTM32F400&quot; Cclass=&quot;Board Support&quot; Cgroup=&quot;Buttons&quot; Cvendor=&quot;Keil&quot;/&gt;</div>
<div class="line">        &lt;component Cbundle=&quot;MCBSTM32F400&quot; Cclass=&quot;Board Support&quot; Cgroup=&quot;LED&quot; Cvendor=&quot;Keil&quot;/&gt;</div>
<div class="line">        &lt;component Cclass=&quot;Device&quot; Cgroup=&quot;STM32Cube Framework&quot; Csub=&quot;Classic&quot; Cvendor=&quot;Keil&quot;&gt;</div>
<div class="line">          &lt;file attr=&quot;config&quot; category=&quot;header&quot; name=&quot;CMSIS/Driver/Config/RTE_Device.h&quot; version=&quot;2.4.4&quot;/&gt;</div>
<div class="line">          &lt;file attr=&quot;config&quot; category=&quot;header&quot; name=&quot;MDK/Templates/Inc/stm32f4xx_hal_conf.h&quot; version=&quot;1.6.0&quot;/&gt;</div>
<div class="line">        &lt;/component&gt;</div>
<div class="line">        &lt;component Cclass=&quot;Device&quot; Cgroup=&quot;STM32Cube HAL&quot; Csub=&quot;ADC&quot; Cvendor=&quot;Keil&quot;/&gt;</div>
<div class="line">        &lt;component Cclass=&quot;Device&quot; Cgroup=&quot;STM32Cube HAL&quot; Csub=&quot;Common&quot; Cvendor=&quot;Keil&quot;/&gt;</div>
<div class="line">        &lt;component Cclass=&quot;Device&quot; Cgroup=&quot;STM32Cube HAL&quot; Csub=&quot;Cortex&quot; Cvendor=&quot;Keil&quot;/&gt;</div>
<div class="line">        &lt;component Cclass=&quot;Device&quot; Cgroup=&quot;STM32Cube HAL&quot; Csub=&quot;DMA&quot; Cvendor=&quot;Keil&quot;/&gt;</div>
<div class="line">        &lt;component Cclass=&quot;Device&quot; Cgroup=&quot;STM32Cube HAL&quot; Csub=&quot;GPIO&quot; Cvendor=&quot;Keil&quot;/&gt;</div>
<div class="line">        &lt;component Cclass=&quot;Device&quot; Cgroup=&quot;STM32Cube HAL&quot; Csub=&quot;PWR&quot; Cvendor=&quot;Keil&quot;/&gt;</div>
<div class="line">        &lt;component Cclass=&quot;Device&quot; Cgroup=&quot;STM32Cube HAL&quot; Csub=&quot;RCC&quot; Cvendor=&quot;Keil&quot;/&gt;</div>
<div class="line">        &lt;component Cclass=&quot;Device&quot; Cgroup=&quot;Startup&quot; Cvendor=&quot;Keil&quot;&gt;</div>
<div class="line">          &lt;file attr=&quot;config&quot; category=&quot;source&quot; condition=&quot;STM32F407xx_ARMCC&quot; name=&quot;Drivers/CMSIS/Device/ST/STM32F4xx/Source/Templates/arm/startup_stm32f407xx.s&quot; version=&quot;2.6.0&quot;/&gt;</div>
<div class="line">          &lt;file attr=&quot;config&quot; category=&quot;source&quot; name=&quot;Drivers/CMSIS/Device/ST/STM32F4xx/Source/Templates/system_stm32f4xx.c&quot; version=&quot;2.6.0&quot;/&gt;</div>
<div class="line">        &lt;/component&gt;</div>
<div class="line">      &lt;/select&gt;</div>
<div class="line">      &lt;files&gt;</div>
<div class="line">        &lt;group name=&quot;Source Files&quot;&gt;</div>
<div class="line">          &lt;file category=&quot;sourceC&quot; name=&quot;./Blinky.c&quot;/&gt;</div>
<div class="line">          &lt;file category=&quot;sourceC&quot; name=&quot;./Thread_LED.c&quot;/&gt;</div>
<div class="line">          &lt;file category=&quot;sourceC&quot; name=&quot;./Thread_ADC.c&quot;/&gt;</div>
<div class="line">        &lt;/group&gt;</div>
<div class="line">        &lt;group name=&quot;Documentation&quot;&gt;</div>
<div class="line">          &lt;file category=&quot;doc&quot; name=&quot;./Abstract.txt&quot;/&gt;</div>
<div class="line">        &lt;/group&gt;</div>
<div class="line">      &lt;/files&gt;</div>
<div class="line">    &lt;/project&gt;</div>
<div class="line">  &lt;/create&gt;</div>
<div class="line">&lt;/package&gt;</div>
</div><!-- fragment --><h1><a class="anchor" id="cpdsc_structure"></a>
CPDSC top level structure</h1>
<p>The CPDSC file format shares the schema file (PACK.xsd) with the PDSC and GPDSC format. However, a CPDSC file can only contain the top level elements listed in this table.</p>
<h1><a class="anchor" id="element_package_cpdsc"></a>
/package (for CPDSC)</h1>
<table  class="cmtable" summary="Element: CPDSC package">
<tr>
<th>Parents </th><th colspan="3">Element Chain  </th></tr>
<tr>
<td>root </td><td colspan="3">description root point for CPDSC  </td></tr>
<tr>
<th>Attributes </th><th>Description </th><th>Type </th><th>Use  </th></tr>
<tr>
<td>schemaVersion </td><td>Version of PACK.xsd the description is compatible with </td><td>VersionType </td><td>required  </td></tr>
<tr>
<th>Child Elements </th><th>Description </th><th>Type </th><th>Occurrence  </th></tr>
<tr>
<td>name </td><td>Name of the CPDSC <a class="el" href="cp_SWComponents.html">Software Pack</a> file. Could be displayed by an installer. </td><td>RestrictedString </td><td>1..1  </td></tr>
<tr>
<td>vendor </td><td>Creator or owner of the CPDSC file. </td><td>RestrictedString </td><td>1..1  </td></tr>
<tr>
<td>description </td><td>High level description of the projects. </td><td>xs:string </td><td>1..1  </td></tr>
<tr>
<td>url </td><td>File location if generated, link to the Pack this file belongs to. If left empty, the Pack cannot be updated automatically from a server location. </td><td>xs:anyURI </td><td>1..1  </td></tr>
<tr>
<td>supportContact </td><td>Email or web page for reporting errors or problems related to this project. </td><td>xs:string </td><td>0..1  </td></tr>
<tr>
<td>license </td><td>Reference to a license file relative to this CPDSC. </td><td>xs:string </td><td>0..1  </td></tr>
<tr>
<td><a class="el" href="element_requirements_pg.html#element_requirements">requirements</a> </td><td>Specify required packs, compiler, and programming languages for the project. </td><td>RequirementsType </td><td>1..1  </td></tr>
<tr>
<td><a class="el" href="cpdsc_pg.html#cpdsc_create_pg">create</a> </td><td>Section capturing the project configuration. </td><td>CreateType </td><td>1..1  </td></tr>
<tr>
<td><a class="el" href="element_releases.html">releases</a> </td><td>Release history and release notes for tracking changes to this project. The attributes <b>&lt;deprecated&gt;</b> and <b>&lt;replacement&gt;</b> are not supported in the context of CPDSC files. </td><td>ReleasesType </td><td>1..1  </td></tr>
</table>
<p>You can refer to <a class="el" href="pdsc_package_pg.html#element_package">/package</a> for more details.</p>
<p>&#160;</p>
<hr/>
<h1><a class="anchor" id="cpdsc_create_pg"></a>
/package/create</h1>
<p>This element groups one or more projects, which should be related. For example, the Secure and Non-secure part of an application, or a set of library projects and the final application project. We recommend to use different CPDSC files for each individual project.</p>
<table  class="cmtable" summary="Element: create">
<tr>
<th>Parents </th><th colspan="3">Element Chain  </th></tr>
<tr>
<td><a class="el" href="cpdsc_pg.html#element_package_cpdsc">package</a> </td><td colspan="3"><a class="el" href="cpdsc_pg.html#element_package_cpdsc">/package</a>  </td></tr>
<tr>
<th>Child Elements </th><th>Description </th><th>Type </th><th>Occurrence  </th></tr>
<tr>
<td><a class="el" href="cpdsc_pg.html#element_project">project</a> </td><td>Grouping element to add project descriptions </td><td>ProjectType </td><td>1..*  </td></tr>
</table>
<p>&#160;</p>
<hr/>
<h1><a class="anchor" id="element_project"></a>
/package/create/project</h1>
<p>This element bundles one project.</p>
<p><b>Example</b> <em>project</em> section: </p>
<div class="fragment"><div class="line">&lt;?xml version=<span class="stringliteral">&quot;1.0&quot;</span> encoding=<span class="stringliteral">&quot;UTF-8&quot;</span> standalone=<span class="stringliteral">&quot;no&quot;</span> ?&gt;</div>
<div class="line">&lt;<span class="keyword">package </span>xmlns:xsi=&quot;http:<span class="comment">//www.w3.org/2001/XMLSchema-instance&quot; xsi:noNamespaceSchemaLocation=&quot;PACK.xsd&quot;&gt;</span></div>
<div class="line">  ...</div>
<div class="line">  &lt;create&gt;</div>
<div class="line">    &lt;project name=&quot;STM32F429_Flash&quot; documentation=&quot;./Abstract.txt&quot;&gt;</div>
<div class="line">      &lt;target Dendian=&quot;Little-endian&quot; Dfpu=&quot;SP_FPU&quot; Dname=&quot;STM32F429ZITx&quot; Dvendor=&quot;STMicroelectronics:13&quot;&gt;</div>
<div class="line">        ...</div>
<div class="line">      &lt;/target&gt;</div>
<div class="line">      &lt;select&gt;</div>
<div class="line">        ...</div>
<div class="line">      &lt;/select&gt;</div>
<div class="line">      &lt;files&gt;</div>
<div class="line">        ...</div>
<div class="line">      &lt;/files&gt;</div>
<div class="line">    &lt;/project&gt;</div>
<div class="line">  &lt;/create&gt;</div>
<div class="line">&lt;/package&gt;</div>
</div><!-- fragment --><p> <br/>
</p>
<table  class="cmtable" summary="Element: project">
<tr>
<th>Parents </th><th colspan="3">Element Chain  </th></tr>
<tr>
<td><a class="el" href="cpdsc_pg.html#cpdsc_create_pg">create</a> </td><td colspan="3"><a class="el" href="cpdsc_pg.html#cpdsc_create_pg">/package/create</a>  </td></tr>
<tr>
<th>Attributes </th><th>Description </th><th>Type </th><th>Use  </th></tr>
<tr>
<td>name </td><td>Name of the project. Will be used as file name as well. If not specified, then the name on the package level is used. </td><td>RestrictedString </td><td>optional  </td></tr>
<tr>
<td>documentation </td><td>Path and file name of a document relative to the CPDSC file, or an url providing detailed information about the software project. </td><td>xs:string </td><td>optional  </td></tr>
<tr>
<td>public </td><td>Set publishing permissions for the documentation. If <em>&lt;public&gt;</em> is <span class="XML-Token">true</span>, then the vendor gives permission to extract the documentation from the pack and publish it on a web-page. Links to web pages are assumed to be public. The default value is <span class="XML-Token">false</span>. </td><td>xs:boolean </td><td>optional  </td></tr>
<tr>
<th>Child Elements </th><th>Description </th><th>Type </th><th>Occurrence  </th></tr>
<tr>
<td><a class="el" href="cpdsc_pg.html#cpdsc_target_pg">target</a> </td><td>Section containing details, for example about the board, device, memory, debug, or algorithms. </td><td>TargetType </td><td>1..1  </td></tr>
<tr>
<td><a class="el" href="cpdsc_pg.html#cpdsc_select_pg">select</a> </td><td>Specify the software components selected in the Run-Time Environment (RTE). </td><td>SelectType </td><td>0..1  </td></tr>
<tr>
<td><a class="el" href="cpdsc_pg.html#cpdsc_files_pg">files</a> </td><td>List all files used for the project build, which are not configured using components. </td><td>ProjectFilesType </td><td>0..1  </td></tr>
</table>
<p>&#160;</p>
<hr/>
<h1><a class="anchor" id="cpdsc_target_pg"></a>
/package/create/project/target</h1>
<p>This element describes the hardware target, including memory layout, debug probes, or flash programming algorithms.</p>
<p><b>Example</b> <em>target</em> section:</p>
<div class="fragment"><div class="line">&lt;<span class="keyword">package </span>xmlns:xsi=&quot;http:<span class="comment">//www.w3.org/2001/XMLSchema-instance&quot; xsi:noNamespaceSchemaLocation=&quot;PACK.xsd&quot;/&gt;</span></div>
<div class="line">  ...</div>
<div class="line">  &lt;create&gt;</div>
<div class="line">    &lt;project&gt;</div>
<div class="line">      ...</div>
<div class="line">      &lt;target Dendian=&quot;Little-endian&quot; Dfpu=&quot;SP_FPU&quot; Dname=&quot;STM32F429ZITx&quot; Dvendor=&quot;STMicroelectronics:13&quot;&gt;</div>
<div class="line">        &lt;output debug=&quot;1&quot; name=&quot;Blinky&quot; type=&quot;exe&quot;/&gt;</div>
<div class="line">        &lt;debugProbe coreClock=&quot;10000000&quot; name=&quot;ST-Link&quot; protocol=&quot;swd&quot;/&gt;</div>
<div class="line">        &lt;memory access=&quot;rx&quot; default=&quot;1&quot; name=&quot;IROM1&quot; size=&quot;0x200000&quot; start=&quot;0x8000000&quot; startup=&quot;1&quot;/&gt;</div>
<div class="line">        &lt;memory access=&quot;rw&quot; default=&quot;1&quot; init=&quot;1&quot; name=&quot;IRAM1&quot; size=&quot;0x30000&quot; start=&quot;0x20000000&quot;/&gt;</div>
<div class="line">        &lt;memory access=&quot;rw&quot; default=&quot;0&quot; init=&quot;1&quot; name=&quot;IRAM2&quot; size=&quot;0x10000&quot; start=&quot;0x10000000&quot;/&gt;</div>
<div class="line">      &lt;/target&gt;</div>
<div class="line">      ...</div>
<div class="line">    &lt;/project&gt;</div>
<div class="line">  &lt;/create&gt;</div>
<div class="line">&lt;/package&gt;</div>
</div><!-- fragment --><p> <br/>
</p>
<table  class="cmtable" summary="Element: target">
<tr>
<th>Parents </th><th colspan="3">Element Chain  </th></tr>
<tr>
<td><a class="el" href="cpdsc_pg.html#element_project">project</a> </td><td colspan="3"><a class="el" href="cpdsc_pg.html#element_project">/package/create/project</a>  </td></tr>
<tr>
<th>Attributes </th><th>Description </th><th>Type </th><th>Use  </th></tr>
<tr>
<td>Bvendor </td><td>Board vendor name. Either a board vendor and board name with optional board revision, or a device vendor and a device name. </td><td>xs:string </td><td>optional  </td></tr>
<tr>
<td>Bname </td><td>SPecify the board name. Either a board vendor and board name with optional board revision, or a device vendor and a device name. </td><td>xs:string </td><td>optional  </td></tr>
<tr>
<td>Bversion </td><td>Board version. Either a board vendor and board name with optional board revision, or a device vendor and a device name. </td><td>xs:string </td><td>optional  </td></tr>
<tr>
<td>Dvendor </td><td>Device vendor name. Either a board vendor and board name with optional board revision, or a device vendor and a device name. </td><td>xs:string </td><td>optional  </td></tr>
<tr>
<td>Dname </td><td>Device name. Either a board vendor and board name with optional board revision, or a device vendor and a device name. </td><td>xs:string </td><td>optional  </td></tr>
<tr>
<td>Pname </td><td>Processor instance name. In case of multi-processor devices, this processor ID is required. </td><td>xs:string </td><td>optional  </td></tr>
<tr>
<td>Dfpu </td><td>Selects the floating point unit option that is active for the project. <b>Note</b>, even if the device implements an FPU, setting <span class="XML-Token">Dfpu=0</span> here, will disable FPU code generation. Use predefined values from the table <a class="el" href="pdsc_family_pg.html#DfpuEnum">Device FPU</a>. </td><td>DfpuEnum </td><td>optional  </td></tr>
<tr>
<td><p class="starttd">Dendian</p>
<p class="endtd"></p>
</td><td>Selects the endianness to be used for the project. Note that selecting an endianness that is not supported by the device, will result in a build that will not run on the device. Use predefined values from the table <a class="el" href="pdsc_family_pg.html#DendianEnum">DendianEnum</a>. </td><td>DendianEnum </td><td>optional  </td></tr>
<tr>
<td>Dmpu </td><td>Selects the memory protection unit to be enabled or disabled for the project. Use predefined values from the table <a class="el" href="pdsc_family_pg.html#DmpuEnum">Device MPU</a>. </td><td>DmpuEnum </td><td>optional  </td></tr>
<tr>
<th>Child Elements </th><th>Description </th><th>Type </th><th>Occurrence  </th></tr>
<tr>
<td><a class="el" href="cpdsc_pg.html#element_output">output</a> </td><td>Configure the build output name and type, and specify whether to include debug information. </td><td>OutputType </td><td>1..1  </td></tr>
<tr>
<td><a class="el" href="cpdsc_pg.html#element_target_memory">memory</a> </td><td>Specify the memory configuration for this application. Based on the memory layout, the linker script will be generated by the toolchain. </td><td>TargetMemoryType </td><td>0..*  </td></tr>
<tr>
<td>stack </td><td>Specify the stack size in bytes allocated by the linker to the application. This element consists of one attribute named <em>&lt;size&gt;</em>. Set the value for this attribute. Only positive numbers are allowed.  </td><td>StackType </td><td>1..1  </td></tr>
<tr>
<td>heap </td><td>Specify the heap size in bytes allocated by the linker to the application. This element consists of one attribute named <em>&lt;size&gt;</em>. Set the value for this attribute. Only positive numbers are allowed. </td><td>HeapType </td><td>1  </td></tr>
<tr>
<td><a class="el" href="cpdsc_pg.html#element_target_algorithm">algorithm</a> </td><td>Selects from the list of available flash programming algorithms specified for this device in the corresponding Device Family Pack. Target and RAM memory ranges can be reconfigured from the defaults specified in the device description.  </td><td>TargetAlgorithmType </td><td>0..*  </td></tr>
<tr>
<td><a class="el" href="cpdsc_pg.html#element_debugProbe">debugProbe</a> </td><td>Selects and configures the debug probe to be used for this project. </td><td>DebugProbeType </td><td>0..*  </td></tr>
</table>
<p>&#160;</p>
<hr/>
<h1><a class="anchor" id="element_target_algorithm"></a>
/package/create/project/target/algorithm</h1>
<p><b>Example</b> <em>algorithm</em> element </p>
<div class="fragment"><div class="line">...</div>
<div class="line">  &lt;project name=<span class="stringliteral">&quot;STM32F429_Flash&quot;</span> documentation=<span class="stringliteral">&quot;./Abstract.txt&quot;</span>&gt;</div>
<div class="line">    &lt;target Dendian=<span class="stringliteral">&quot;Little-endian&quot;</span> Dfpu=<span class="stringliteral">&quot;SP_FPU&quot;</span> Dname=<span class="stringliteral">&quot;STM32F429ZITx&quot;</span> Dvendor=<span class="stringliteral">&quot;STMicroelectronics:13&quot;</span>&gt;</div>
<div class="line">    ...</div>
<div class="line">    &lt;algorithm  name=<span class="stringliteral">&quot;CMSIS/Flash/STM32F4xx_1024.FLM&quot;</span> start=<span class="stringliteral">&quot;0x08000000&quot;</span>  size=<span class="stringliteral">&quot;0x100000&quot;</span> RAMstart=0x20000000 RAMsize=0x1000/&gt;</div>
<div class="line">    ...</div>
<div class="line">    &lt;/target&gt;</div>
<div class="line">  &lt;/project&gt;</div>
<div class="line">...</div>
</div><!-- fragment --><p> <br/>
</p>
<table  class="cmtable" summary="Element: algorithm">
<tr>
<th>Parents </th><th colspan="3">Element Chain  </th></tr>
<tr>
<td><a class="el" href="cpdsc_pg.html#cpdsc_target_pg">target</a> </td><td colspan="3"><a class="el" href="cpdsc_pg.html#cpdsc_target_pg">/package/create/project/target</a>  </td></tr>
<tr>
<th>Attributes </th><th>Description </th><th>Type </th><th>Use  </th></tr>
<tr>
<td>Pname </td><td>Processor name </td><td>xs:string </td><td>RestrictedString  </td></tr>
<tr>
<td>name </td><td>References the name (without path) of the flash programming algorithm as defined by the DFP. </td><td>xs:string </td><td>required  </td></tr>
<tr>
<td>start </td><td>Overrides the predefined programming start address of the flash programming algorithm as specified in the DFP. </td><td>NonNegativeInteger </td><td>optional  </td></tr>
<tr>
<td>size </td><td>Overrides the predefined programming size of the flash programming algorithm as specified in the DFP. </td><td>NonNegativeInteger </td><td>optional  </td></tr>
<tr>
<td>RAMstart </td><td>Overrides the predefined start address in RAM where the flash programming algorithm is loaded as specified in the DFP. </td><td>NonNegativeInteger </td><td>optional  </td></tr>
<tr>
<td>RAMsize </td><td>Overrides the predefined RAM size in RAM where the flash programming algorithm is loaded as specified in the DFP. </td><td>NonNegativeInteger </td><td>optional  </td></tr>
<tr>
<td>default </td><td>Sets this algorithm as the default algorithm for flash programming when the value is set to <span class="XML-Token">1</span>. The defualt value is <span class="XML-Token">0</span> - false. </td><td>xs:boolean </td><td>optional  </td></tr>
<tr>
<td>style </td><td>Sets flash programming format. The default value is <span class="XML-Token">Keil</span>. Use the predefinde values as listed in the table <a class="el" href="pdsc_family_pg.html#AlgorithmStyleEnum">Algorithm Styles</a>. </td><td>AlgorithmStyleType </td><td>optional  </td></tr>
<tr>
<td>parameter </td><td>Parameter string passed when invoking the algorithm. </td><td>xs:string </td><td>optional  </td></tr>
<tr>
<td>endian </td><td>Specify the endianness of the algorithm. Default value is <span class="XML-Token">Little-endian</span>. Use the predefined values as listed in the table <a class="el" href="pdsc_family_pg.html#DendianEnum">Endinaness</a>. </td><td>DendianEnum </td><td>optional  </td></tr>
</table>
<p>&#160;</p>
<hr/>
<h1><a class="anchor" id="element_debugProbe"></a>
/package/create/project/target/debugProbe</h1>
<p>Specify the attributes of a debug probe.</p>
<p><b>Example</b> <em>debugProbe</em> element </p>
<div class="fragment"><div class="line">...</div>
<div class="line">  &lt;project name=<span class="stringliteral">&quot;STM32F429_Flash&quot;</span> documentation=<span class="stringliteral">&quot;./Abstract.txt&quot;</span>&gt;</div>
<div class="line">    &lt;target Dendian=<span class="stringliteral">&quot;Little-endian&quot;</span> Dfpu=<span class="stringliteral">&quot;SP_FPU&quot;</span> Dname=<span class="stringliteral">&quot;STM32F429ZITx&quot;</span> Dvendor=<span class="stringliteral">&quot;STMicroelectronics:13&quot;</span>&gt;</div>
<div class="line">      ...</div>
<div class="line">      &lt;debugProbe coreClock=<span class="stringliteral">&quot;10000000&quot;</span> name=<span class="stringliteral">&quot;ST-Link&quot;</span> protocol=<span class="stringliteral">&quot;swd&quot;</span>/&gt;</div>
<div class="line">      ...</div>
<div class="line">    &lt;/target&gt;</div>
<div class="line">  &lt;/project&gt;</div>
<div class="line">...</div>
</div><!-- fragment --><p> <br/>
</p>
<table  class="cmtable" summary="Element: debugProbe">
<tr>
<th>Parents </th><th colspan="3">Element Chain  </th></tr>
<tr>
<td><a class="el" href="cpdsc_pg.html#cpdsc_target_pg">target</a> </td><td colspan="3"><a class="el" href="cpdsc_pg.html#cpdsc_target_pg">/package/create/project/target</a>  </td></tr>
<tr>
<th>Attributes </th><th>Description </th><th>Type </th><th>Use  </th></tr>
<tr>
<td>name </td><td>Name of of the debug probe, for example <span class="XML-Token">JLink</span>, <span class="XML-Token">ULink2</span>, <span class="XML-Token">ULinkPro</span>, <span class="XML-Token">CMSIS-DAP</span>, or <span class="XML-Token">ST-Link</span>. </td><td>xs:string </td><td>required  </td></tr>
<tr>
<td>protocol </td><td>Select the debug protocol, for example, <span class="XML-Token">swd</span>. Use the predefined values listed in the table <a class="el" href="pdsc_family_pg.html#DebugProtocolEnum">Debug Protocol Type</a>. </td><td>xs:string </td><td>required  </td></tr>
<tr>
<td>coreClock </td><td>Clock frequency of the core once the system is initialized. </td><td>NonNegativeInteger </td><td>required  </td></tr>
<tr>
<td>tpiuClock </td><td>Clock frequency of the TPIU block of the CoreSight debug logic. Only relevant for tracing. </td><td>NonNegativeInteger </td><td>optional  </td></tr>
</table>
<p>&#160;</p>
<hr/>
<h1><a class="anchor" id="element_target_memory"></a>
/package/create/project/target/memory</h1>
<p>Specify the memory layout. The linker script file will be genereted according to these settings.</p>
<p><b>Example</b> <em>memory</em> element </p>
<div class="fragment"><div class="line">...</div>
<div class="line">  &lt;project name=<span class="stringliteral">&quot;STM32F429_Flash&quot;</span> documentation=<span class="stringliteral">&quot;./Abstract.txt&quot;</span>&gt;</div>
<div class="line">    &lt;target Dendian=<span class="stringliteral">&quot;Little-endian&quot;</span> Dfpu=<span class="stringliteral">&quot;SP_FPU&quot;</span> Dname=<span class="stringliteral">&quot;STM32F429ZITx&quot;</span> Dvendor=<span class="stringliteral">&quot;STMicroelectronics:13&quot;</span>&gt;</div>
<div class="line">    ...</div>
<div class="line">      &lt;memory access=<span class="stringliteral">&quot;rx&quot;</span> <span class="keywordflow">default</span>=<span class="stringliteral">&quot;1&quot;</span> name=<span class="stringliteral">&quot;IROM1&quot;</span> size=<span class="stringliteral">&quot;0x200000&quot;</span> start=<span class="stringliteral">&quot;0x8000000&quot;</span> startup=<span class="stringliteral">&quot;1&quot;</span>/&gt;</div>
<div class="line">      &lt;memory access=<span class="stringliteral">&quot;rw&quot;</span> <span class="keywordflow">default</span>=<span class="stringliteral">&quot;1&quot;</span> init=<span class="stringliteral">&quot;1&quot;</span> name=<span class="stringliteral">&quot;IRAM1&quot;</span> size=<span class="stringliteral">&quot;0x30000&quot;</span> start=<span class="stringliteral">&quot;0x20000000&quot;</span>/&gt;</div>
<div class="line">      &lt;memory access=<span class="stringliteral">&quot;rw&quot;</span> <span class="keywordflow">default</span>=<span class="stringliteral">&quot;0&quot;</span> init=<span class="stringliteral">&quot;1&quot;</span> name=<span class="stringliteral">&quot;IRAM2&quot;</span> size=<span class="stringliteral">&quot;0x10000&quot;</span> start=<span class="stringliteral">&quot;0x10000000&quot;</span>/&gt;</div>
<div class="line">     ...</div>
<div class="line">    &lt;/target&gt;</div>
<div class="line">  &lt;/project&gt;</div>
<div class="line">...</div>
</div><!-- fragment --><p><br/>
 </p>
<table  class="cmtable" summary="Element: memory">
<tr>
<th>Parents </th><th colspan="3">Element Chain  </th></tr>
<tr>
<td><a class="el" href="cpdsc_pg.html#cpdsc_target_pg">target</a> </td><td colspan="3"><a class="el" href="cpdsc_pg.html#cpdsc_target_pg">/package/create/project/target</a>  </td></tr>
<tr>
<th>Attributes </th><th>Description </th><th>Type </th><th>Use  </th></tr>
<tr>
<td>Pname </td><td>Identifies the processor. </td><td>RestrictedString </td><td>optional  </td></tr>
<tr>
<td>id </td><td>Eunmerated ID of memory. <span class="XML-Token">Deprecated since version 1.4.4</span> </td><td>MemoryIDTypeEnum </td><td>optional  </td></tr>
<tr>
<td>name </td><td>Reference to the name of the memory as defined by the DFP. </td><td>xs:string </td><td>required  </td></tr>
<tr>
<td>start </td><td>Overrides the predefined memory start address. </td><td>NonNegativeInteger </td><td>optional  </td></tr>
<tr>
<td>size </td><td>Overrides the predefined memory size. </td><td>NonNegativeInteger </td><td>optional  </td></tr>
<tr>
<td>access </td><td>Overrides the predefined access permissions for the memory as specified in the DFP. The default value is <span class="XML-Token">r</span>, for 'read' permission. Use the predefined values defined in the table <a class="el" href="pdsc_family_pg.html#MemoryAccessTypeString">MemoryAccessTypeString</a>.  </td><td>AccessType </td><td>optional  </td></tr>
<tr>
<td>alias </td><td>Reference by 'name' to another memory to express that the same physical memory is mapped at another address.  </td><td>AccessType </td><td>optional  </td></tr>
<tr>
<td>init </td><td><span class="XML-Token">Deprecated; do not use! Ignore!!!</span>. </td><td>xs:boolean </td><td>optional  </td></tr>
<tr>
<td>default </td><td>Use to define the default memory for the linker.  </td><td>xs:boolean </td><td>optional  </td></tr>
<tr>
<td>startup </td><td>Specify whether the memory is used by the linker for the startup. The default value is <span class="XML-Token">0</span> - false. </td><td>xs:boolean </td><td>optional  </td></tr>
</table>
<p>&#160;</p>
<hr/>
<h1><a class="anchor" id="element_output"></a>
/package/create/project/target/output</h1>
<p>Specify the characteristics for the build output file.</p>
<p><b>Example</b> <em>output</em> element </p>
<div class="fragment"><div class="line">&lt;project name=<span class="stringliteral">&quot;STM32F429_Flash&quot;</span> documentation=<span class="stringliteral">&quot;./Abstract.txt&quot;</span>&gt;</div>
<div class="line">  &lt;target Dendian=<span class="stringliteral">&quot;Little-endian&quot;</span> Dfpu=<span class="stringliteral">&quot;SP_FPU&quot;</span> Dname=<span class="stringliteral">&quot;STM32F429ZITx&quot;</span> Dvendor=<span class="stringliteral">&quot;STMicroelectronics:13&quot;</span>&gt;</div>
<div class="line">    &lt;output debug=<span class="stringliteral">&quot;1&quot;</span> name=<span class="stringliteral">&quot;Blinky&quot;</span> type=<span class="stringliteral">&quot;exe&quot;</span>/&gt;</div>
<div class="line">    ...</div>
<div class="line">  &lt;/target&gt;</div>
<div class="line">  ...</div>
<div class="line">&lt;/project&gt;</div>
</div><!-- fragment --><p><br/>
 </p>
<table  class="cmtable" summary="Element: output">
<tr>
<th>Parents </th><th colspan="3">Element Chain  </th></tr>
<tr>
<td><a class="el" href="cpdsc_pg.html#cpdsc_target_pg">target</a> </td><td colspan="3"><a class="el" href="cpdsc_pg.html#cpdsc_target_pg">/package/create/project/target</a>  </td></tr>
<tr>
<th>Attributes </th><th>Description </th><th>Type </th><th>Use  </th></tr>
<tr>
<td>name </td><td>Name of the build output file. </td><td>xs:string </td><td>required  </td></tr>
<tr>
<td>type </td><td>Select the build target to be <span class="XML-Token">lib</span> - library or <span class="XML-Token">exe</span> - executable. You can use the wildcard <span class="XML-Token">*</span> for </td><td>CompilerOutputType </td><td>required  </td></tr>
<tr>
<td>debug </td><td>Select whether the output will contain debug information. Use the values <span class="XML-Token">1;0</span> for true and false. </td><td>xs:boolean </td><td>required  </td></tr>
</table>
<p>&#160;</p>
<hr/>
<h1><a class="anchor" id="cpdsc_select_pg"></a>
/package/create/project/select</h1>
<p>This element lists all software components that are selected within the Manage Run-Time Environment.</p>
<p><b>Example</b> <em>select</em> section: </p>
<div class="fragment"><div class="line">&lt;<span class="keyword">package </span>xmlns:xsi=&quot;http:<span class="comment">//www.w3.org/2001/XMLSchema-instance&quot; xsi:noNamespaceSchemaLocation=&quot;PACK.xsd&quot;/&gt;</span></div>
<div class="line">  ...</div>
<div class="line">  &lt;create&gt;</div>
<div class="line">    &lt;project&gt;</div>
<div class="line">      ...</div>
<div class="line">      &lt;select&gt;</div>
<div class="line">        &lt;component Cclass=&quot;CMSIS&quot; Cgroup=&quot;Core&quot; Cvendor=&quot;ARM&quot; Cversion=&quot;4.1.0&quot;/&gt;</div>
<div class="line">        &lt;component Cclass=&quot;CMSIS&quot; Cgroup=&quot;RTOS&quot; Csub=&quot;Keil RTX&quot; Cvendor=&quot;ARM&quot; Cversion=&quot;4.78.0&quot;&gt;</div>
<div class="line">          &lt;file attr=&quot;config&quot; category=&quot;source&quot; name=&quot;CMSIS/RTOS/RTX/Templates/RTX_Conf_CM.c&quot; version=&quot;4.70.1&quot;/&gt;</div>
<div class="line">        &lt;/component&gt;</div>
<div class="line">        &lt;component Cbundle=&quot;STM32F429I-Discovery&quot; Cclass=&quot;Board Support&quot; Cgroup=&quot;Buttons&quot; Cvendor=&quot;Keil&quot; Cversion=&quot;1.0.0&quot;/&gt;</div>
<div class="line">        &lt;component Cbundle=&quot;STM32F429I-Discovery&quot; Cclass=&quot;Board Support&quot; Cgroup=&quot;LED&quot; Cvendor=&quot;Keil&quot; Cversion=&quot;1.0.0&quot;/&gt;</div>
<div class="line">        &lt;component Cclass=&quot;Device&quot; Cgroup=&quot;STM32Cube Framework&quot; Csub=&quot;Classic&quot; Cvendor=&quot;Keil&quot; Cversion=&quot;1.4.0&quot;&gt;</div>
<div class="line">          &lt;file attr=&quot;config&quot; category=&quot;header&quot; name=&quot;CMSIS/Driver/Config/RTE_Device.h&quot; version=&quot;2.3.1&quot;/&gt;</div>
<div class="line">          &lt;file attr=&quot;config&quot; category=&quot;header&quot; name=&quot;MDK/Templates/Inc/stm32f4xx_hal_conf.h&quot; version=&quot;1.4.2&quot;/&gt;</div>
<div class="line">        &lt;/component&gt;</div>
<div class="line">        &lt;component Cclass=&quot;Device&quot; Cgroup=&quot;STM32Cube HAL&quot; Csub=&quot;Common&quot; Cvendor=&quot;Keil&quot; Cversion=&quot;1.4.0&quot;/&gt;</div>
<div class="line">        &lt;component Cclass=&quot;Device&quot; Cgroup=&quot;STM32Cube HAL&quot; Csub=&quot;Cortex&quot; Cvendor=&quot;Keil&quot; Cversion=&quot;1.4.0&quot;/&gt;</div>
<div class="line">        &lt;component Cclass=&quot;Device&quot; Cgroup=&quot;STM32Cube HAL&quot; Csub=&quot;GPIO&quot; Cvendor=&quot;Keil&quot; Cversion=&quot;1.4.0&quot;/&gt;</div>
<div class="line">        &lt;component Cclass=&quot;Device&quot; Cgroup=&quot;STM32Cube HAL&quot; Csub=&quot;PWR&quot; Cvendor=&quot;Keil&quot; Cversion=&quot;1.4.0&quot;/&gt;</div>
<div class="line">        &lt;component Cclass=&quot;Device&quot; Cgroup=&quot;STM32Cube HAL&quot; Csub=&quot;RCC&quot; Cvendor=&quot;Keil&quot; Cversion=&quot;1.4.0&quot;/&gt;</div>
<div class="line">        &lt;component Cclass=&quot;Device&quot; Cgroup=&quot;Startup&quot; Cvendor=&quot;Keil&quot; Cversion=&quot;2.4.0&quot;&gt;</div>
<div class="line">          &lt;file attr=&quot;config&quot; category=&quot;source&quot; condition=&quot;STM32F429xx_ARMCC&quot; name=&quot;Drivers/CMSIS/Device/ST/STM32F4xx/Source/Templates/arm/startup_stm32f429xx.s&quot; version=&quot;2.4.2&quot;/&gt;</div>
<div class="line">          &lt;file attr=&quot;config&quot; category=&quot;source&quot; name=&quot;Drivers/CMSIS/Device/ST/STM32F4xx/Source/Templates/system_stm32f4xx.c&quot; version=&quot;2.4.2&quot;/&gt;</div>
<div class="line">        &lt;/component&gt;</div>
<div class="line">      &lt;/select&gt;</div>
<div class="line">      ...</div>
<div class="line">    &lt;/project&gt;</div>
<div class="line">  &lt;/create&gt;</div>
<div class="line">&lt;/package&gt;</div>
</div><!-- fragment --><p> <br/>
</p>
<table  class="cmtable" summary="Element: select">
<tr>
<th>Parents </th><th colspan="3">Element Chain  </th></tr>
<tr>
<td><a class="el" href="cpdsc_pg.html#element_project">project</a> </td><td colspan="3"><a class="el" href="cpdsc_pg.html#element_project">/package/create/project</a>  </td></tr>
<tr>
<th>Child Elements </th><th>Description </th><th>Type </th><th>Occurrence  </th></tr>
<tr>
<td><a class="el" href="cpdsc_pg.html#element_project_component">component</a> </td><td>Group element for defining the selected software components. </td><td>ComponentSelectType </td><td>1..*  </td></tr>
</table>
<p>&#160;</p>
<hr/>
<h1><a class="anchor" id="element_project_component"></a>
/package/create/project/select/component</h1>
<p>Specify the software components.</p>
<p><b>Example</b> <em>component</em> element </p>
<div class="fragment"><div class="line">...</div>
<div class="line">      &lt;select&gt;</div>
<div class="line">        &lt;component Cclass=<span class="stringliteral">&quot;CMSIS&quot;</span> Cgroup=<span class="stringliteral">&quot;Core&quot;</span> Cvendor=<span class="stringliteral">&quot;ARM&quot;</span> Cversion=<span class="stringliteral">&quot;4.1.0&quot;</span>/&gt;</div>
<div class="line">        &lt;component Cclass=<span class="stringliteral">&quot;Device&quot;</span> Cgroup=<span class="stringliteral">&quot;STM32Cube Framework&quot;</span> Csub=<span class="stringliteral">&quot;Classic&quot;</span> Cvendor=<span class="stringliteral">&quot;Keil&quot;</span> Cversion=<span class="stringliteral">&quot;1.4.0&quot;</span>&gt;</div>
<div class="line">          &lt;file attr=<span class="stringliteral">&quot;config&quot;</span> category=<span class="stringliteral">&quot;header&quot;</span> name=<span class="stringliteral">&quot;CMSIS/Driver/Config/RTE_Device.h&quot;</span> version=<span class="stringliteral">&quot;2.3.1&quot;</span>/&gt;</div>
<div class="line">          &lt;file attr=<span class="stringliteral">&quot;config&quot;</span> category=<span class="stringliteral">&quot;header&quot;</span> name=<span class="stringliteral">&quot;MDK/Templates/Inc/stm32f4xx_hal_conf.h&quot;</span> version=<span class="stringliteral">&quot;1.4.2&quot;</span>/&gt;</div>
<div class="line">        &lt;/component&gt;</div>
<div class="line">      &lt;/select&gt;</div>
<div class="line">...</div>
</div><!-- fragment --><p> <br/>
</p>
<table  class="cmtable" summary="Element: component">
<tr>
<th>Parents </th><th colspan="3">Element Chain  </th></tr>
<tr>
<td><a class="el" href="cpdsc_pg.html#cpdsc_select_pg">select</a> </td><td colspan="3"><a class="el" href="cpdsc_pg.html#cpdsc_select_pg">/package/create/project/select</a>  </td></tr>
<tr>
<th>Attributes </th><th>Description </th><th>Type </th><th>Use  </th></tr>
<tr>
<td>Cvendor </td><td>Vendor name of the component. </td><td>xs:string </td><td>optional  </td></tr>
<tr>
<td>Cbundle </td><td>Name of bundle to which the selected component belongs. </td><td>xs:string </td><td>optional  </td></tr>
<tr>
<td>Cclass </td><td>Component class name. Predefined values can be used as listed in the table <a class="el" href="element_taxonomy.html#CclassType">Component Classes</a>. </td><td>xs:string </td><td>required  </td></tr>
<tr>
<td>Cgroup </td><td>Component group name following the taxonomy. Predefined values can be used as listed in the table <a class="el" href="element_taxonomy.html#CgroupType">Component Groups</a>. </td><td>xs:string </td><td>required  </td></tr>
<tr>
<td>Csub </td><td>Component sub group name following the taxonomy (string may be empty) </td><td>CsubType </td><td>optional  </td></tr>
<tr>
<td>Cvariant </td><td>Name of the variant of the selected component. </td><td>CvariantType </td><td>optional  </td></tr>
<tr>
<td>Cversion </td><td>Version of the selected component. Note, a higher version number can be entered in case the matching version is not available. </td><td>ComponentVersionType </td><td>optional  </td></tr>
<tr>
<td>Capiversion </td><td>Implemented api version defined for the corresponding Cclass:Cgroup:Csub. Set the value only for components that have an associated <em>&lt;api&gt;</em>. </td><td>ComponentVersionType </td><td>optional  </td></tr>
<tr>
<td>instances </td><td>Number of instances created for the component. Set the value only for components that are multi-instance capable. Defaults to <span class="XML-Token">1</span> if not set. </td><td>InstancesType </td><td>optional  </td></tr>
<tr>
<th>Child Elements </th><th>Description </th><th>Type </th><th>Occurrence  </th></tr>
<tr>
<td><a class="el" href="cpdsc_pg.html#element_component_file">file</a> </td><td>Specify configuration files from the selected component. </td><td>ComponentSelectType </td><td>0..*  </td></tr>
</table>
<p>&#160;</p>
<hr/>
<h1><a class="anchor" id="element_component_file"></a>
/package/create/project/select/component/file</h1>
<p>Specify the configuration files for the selected component. These files must already exist in the project folder structure and contain a configuration setup specifically for the project.</p>
<p><b>Example</b> <em>file</em> element </p>
<div class="fragment"><div class="line">...</div>
<div class="line">      &lt;component Cclass=<span class="stringliteral">&quot;Device&quot;</span> Cgroup=<span class="stringliteral">&quot;STM32Cube Framework&quot;</span> Csub=<span class="stringliteral">&quot;Classic&quot;</span> Cvendor=<span class="stringliteral">&quot;Keil&quot;</span> Cversion=<span class="stringliteral">&quot;1.4.0&quot;</span>&gt;</div>
<div class="line">        &lt;file attr=<span class="stringliteral">&quot;config&quot;</span> category=<span class="stringliteral">&quot;header&quot;</span> name=<span class="stringliteral">&quot;CMSIS/Driver/Config/RTE_Device.h&quot;</span> version=<span class="stringliteral">&quot;2.3.1&quot;</span>/&gt;</div>
<div class="line">        &lt;file attr=<span class="stringliteral">&quot;config&quot;</span> category=<span class="stringliteral">&quot;header&quot;</span> name=<span class="stringliteral">&quot;MDK/Templates/Inc/stm32f4xx_hal_conf.h&quot;</span> version=<span class="stringliteral">&quot;1.4.2&quot;</span>/&gt;</div>
<div class="line">      &lt;/component&gt;</div>
<div class="line">...</div>
</div><!-- fragment --><p> <br/>
</p>
<table  class="cmtable" summary="Element: file">
<tr>
<th>Parents </th><th colspan="3">Element Chain  </th></tr>
<tr>
<td><a class="el" href="cpdsc_pg.html#element_project_component">component</a> </td><td colspan="3"><a class="el" href="cpdsc_pg.html#element_project_component">/package/create/project/select/component</a>  </td></tr>
<tr>
<th>Attributes </th><th>Description </th><th>Type </th><th>Use  </th></tr>
<tr>
<td>condition </td><td>Condition id being used at the time of runtime configuration. </td><td>xs:string </td><td>optional  </td></tr>
<tr>
<td>category </td><td>File type, for example <span class="XML-Token">header</span>. Use predefined values from the table <a class="el" href="pdsc_components_pg.html#FileCategoryEnum">File Category</a>. </td><td>FileCategoryType </td><td>required  </td></tr>
<tr>
<td>attr </td><td>File action attribute, for example <span class="XML-Token">copy</span>. Use predefined values from the table <a class="el" href="pdsc_components_pg.html#FileCategoryEnum">File Category</a>. </td><td><a class="el" href="pdsc_components_pg.html#FileAttributeEnum">FileAttributeType</a> </td><td>optional  </td></tr>
<tr>
<td>name </td><td>File path and name within pack it originates from. </td><td>xs:string </td><td>required  </td></tr>
<tr>
<td>version </td><td>Version of the configuration file being used in the example. </td><td><a class="el" href="pdsc_package_pg.html#VersionType">VersionType</a> </td><td>required  </td></tr>
</table>
<p>&#160;</p>
<hr/>
<h1><a class="anchor" id="cpdsc_files_pg"></a>
/package/create/project/files</h1>
<p>The files section specifies files to be included into the project build that are not managed through software components. Files can be sorted into named groups.</p>
<p><b>Example</b> <em>files</em> section: </p>
<div class="fragment"><div class="line">&lt;<span class="keyword">package </span>xmlns:xsi=&quot;http:<span class="comment">//www.w3.org/2001/XMLSchema-instance&quot; xsi:noNamespaceSchemaLocation=&quot;PACK.xsd&quot;/&gt;</span></div>
<div class="line">  ...</div>
<div class="line">  &lt;create&gt;</div>
<div class="line">    &lt;project&gt;</div>
<div class="line">      &lt;files&gt;</div>
<div class="line">        &lt;group name=&quot;Source Files&quot;&gt;</div>
<div class="line">          &lt;file category=&quot;sourceC&quot; name=&quot;./Blinky.c&quot;/&gt;</div>
<div class="line">          &lt;file category=&quot;sourceC&quot; name=&quot;./Thread_LED.c&quot;/&gt;</div>
<div class="line">        &lt;/group&gt;</div>
<div class="line">        &lt;group name=&quot;Documentation&quot;&gt;</div>
<div class="line">          &lt;file category=&quot;doc&quot; name=&quot;./Abstract.txt&quot;/&gt;</div>
<div class="line">        &lt;/group&gt;</div>
<div class="line">      &lt;/files&gt;</div>
<div class="line">    &lt;/project&gt;</div>
<div class="line">  &lt;/create&gt;</div>
<div class="line">&lt;/package&gt;</div>
</div><!-- fragment --><p> <br/>
</p>
<table  class="cmtable" summary="Element: files">
<tr>
<th>Parents </th><th colspan="3">Element Chain  </th></tr>
<tr>
<td><a class="el" href="cpdsc_pg.html#element_project">project</a> </td><td colspan="3"><a class="el" href="cpdsc_pg.html#element_project">/package/create/project</a>  </td></tr>
<tr>
<th>Child Elements </th><th>Description </th><th>Type </th><th>Occurrence  </th></tr>
<tr>
<td><a class="el" href="cpdsc_pg.html#element_project_file">file</a> </td><td>Specify a file. </td><td>ProjectFileType </td><td>0..*  </td></tr>
<tr>
<td><a class="el" href="cpdsc_pg.html#element_project_group">group</a> </td><td>Specify a group of files. </td><td>GroupType </td><td>0..*  </td></tr>
</table>
<p>&#160;</p>
<hr/>
<h1><a class="anchor" id="element_project_file"></a>
/package/project/create/files/.../file</h1>
<p>Specify files that are not included through software components.</p>
<table  class="cmtable" summary="Element: file">
<tr>
<th>Parents </th><th colspan="3">Element Chain  </th></tr>
<tr>
<td><a class="el" href="cpdsc_pg.html#cpdsc_files_pg">files</a> </td><td colspan="3"><a class="el" href="cpdsc_pg.html#cpdsc_files_pg">/package/create/project/files</a>  </td></tr>
<tr>
<td><a class="el" href="cpdsc_pg.html#element_project_group">group</a> </td><td colspan="3"><a class="el" href="cpdsc_pg.html#element_project_group">/package/create/project/files/.../group</a>  </td></tr>
<tr>
<th>Attributes </th><th>Description </th><th>Type </th><th>Use  </th></tr>
<tr>
<td>name </td><td>Path and name of the file, relative to CPDSC location. </td><td>xs:string </td><td>required  </td></tr>
<tr>
<td>category </td><td>Type of file, for example, whether the file is a C or assembler file. Use the predefined values from the table <a class="el" href="pdsc_components_pg.html#FileCategoryEnum">File Categories</a>. </td><td>FileCategoryType </td><td>required  </td></tr>
<tr>
<td>src </td><td>Folder specifying the source code location for a library. </td><td>xs:string </td><td>optional  </td></tr>
</table>
<p>&#160;</p>
<hr/>
<h1><a class="anchor" id="element_project_group"></a>
/package/create/project/files/.../group</h1>
<p>Nesting of groups is supported. It is tool dependent how grouping is represented in the tool, because the grouping of files has no impact on the build by default.</p>
<p><b>Example</b> <em>files</em> section: </p>
<div class="fragment"><div class="line">&lt;<span class="keyword">package </span>xmlns:xsi=&quot;http:<span class="comment">//www.w3.org/2001/XMLSchema-instance&quot; xsi:noNamespaceSchemaLocation=&quot;PACK.xsd&quot;/&gt;</span></div>
<div class="line">  ...</div>
<div class="line">  &lt;create&gt;</div>
<div class="line">    &lt;project&gt;</div>
<div class="line">      &lt;files&gt;</div>
<div class="line">        &lt;group name=&quot;Source&quot;&gt;</div>
<div class="line">          &lt;group name=&quot;C&quot;&gt;</div>
<div class="line">            &lt;file category=&quot;sourceC&quot; name=&quot;./Blinky.c&quot;/&gt;</div>
<div class="line">            &lt;file category=&quot;sourceC&quot; name=&quot;./Thread_LED.c&quot;/&gt;</div>
<div class="line">          &lt;/group&gt;</div>
<div class="line">          &lt;group name=&quot;ASM&quot;&gt;</div>
<div class="line">            &lt;file category=&quot;sourceAsm&quot; name=&quot;./startup_add.s&quot;/&gt;</div>
<div class="line">          &lt;/group&gt;</div>
<div class="line">        &lt;/group&gt;</div>
<div class="line">        &lt;group name=&quot;Documentation&quot;&gt;</div>
<div class="line">          &lt;file category=&quot;doc&quot; name=&quot;./Abstract.txt&quot;/&gt;</div>
<div class="line">        &lt;/group&gt;</div>
<div class="line">      &lt;/files&gt;</div>
<div class="line">    &lt;/project&gt;</div>
<div class="line">  &lt;/create&gt;</div>
<div class="line">&lt;/package&gt;</div>
</div><!-- fragment --><p> <br/>
</p>
<table  class="cmtable" summary="Element: group">
<tr>
<th>Parents </th><th colspan="3">Element Chain  </th></tr>
<tr>
<td><a class="el" href="cpdsc_pg.html#cpdsc_files_pg">files</a> </td><td colspan="3"><a class="el" href="cpdsc_pg.html#cpdsc_files_pg">/package/create/project/files</a>  </td></tr>
<tr>
<th>Attributes </th><th>Description </th><th>Type </th><th>Use  </th></tr>
<tr>
<td>name </td><td>name of the group of files </td><td>RestrictedString </td><td>required  </td></tr>
<tr>
<th>Child Elements </th><th>Description </th><th>Type </th><th>Occurrence  </th></tr>
<tr>
<td><a class="el" href="cpdsc_pg.html#element_project_file">file</a> </td><td>Specify a file. </td><td>ProjectFileType </td><td>0..*  </td></tr>
<tr>
<td><a class="el" href="cpdsc_pg.html#element_project_group">group</a> </td><td>Specify a group (nesting). </td><td>GroupType </td><td>0..*  </td></tr>
</table>
<p>&#160;</p>
<hr/>
 </div></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="footer">Generated on Wed Jul 10 2019 15:21:01 for CMSIS-Pack Version 1.6.0 by Arm Ltd. All rights reserved.
	<!--
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.6 
	-->
	</li>
  </ul>
</div>
</body>
</html>