xmclib/CMSIS/Documentation/Pack/html/cpdsc_pg.html

750 lines
56 KiB
HTML
Raw Normal View History

2024-10-17 17:09:59 +02:00
<!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.4.9</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;STM32F429_Flash&lt;/name&gt;</div>
<div class="line"> &lt;description&gt;CMSIS RTOS Blinky for STM32F429&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.20.0.2&quot;&gt;Generated 2016-05-10T22:08:37&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;STM32F4xx_DFP&quot; vendor=&quot;Keil&quot; version=&quot;2.8.0:2.8.0&quot;/&gt;</div>
<div class="line"> &lt;package name=&quot;CMSIS&quot; vendor=&quot;ARM&quot; version=&quot;4.5.0:4.5.0&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 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"> &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"> &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"> &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"></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 Feb 8 2017 10:21:01 for CMSIS-Pack 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>