CMSIS-Build  
Tools, software frameworks, and work flows for productivity with CMSIS based projects
 All Pages
/cprj/layers
Parents Element Chain
cprj /cprj
Child Elements Description Type Occurrence
layer Defines a layer name and additional information. LayerType 0..*

 


/cprj/layers/layer

Example layer element

...
<layers>
<layer name="IO" hasTarget="1">
<description>Basic I/O layer for MCB4300 for Ethernet applications</description>
<category>Board IO, Wired Network</category>
<license>BSD-3-Clause</license>
</layer>
...
</layers>
...

 


Parents Element Chain
layers /cprj/layers
Attributes Description Type Use
name Layer ID RestrictedString required
title Display name for the layer. xs:string 0..*
hasTarget If 'true' then the target element has to be used. When constructing a project form multiple layers only one can have this flag set. Default is false xs:boolean required (if not default)
Child Elements Description Type Occurrence
description Brief description of the layer. xs:string 0..*
doc Layer documentation points to detailed documentation local *.md file or URL. xs:string 0..*
category Comma separated list of predefined categories for this layer used by search tools. Predefined list TBD. xs:string 0..*
license License ruling for using files local to the layer using spdx license names from https://spdx.org/licenses/. Note: components have their own licenses. xs:string 0..*
interfaces Provided and consumed layer interfaces. InterfacesType 0..*

 


/cprj/layers/layer/interfaces

Example layer element

...
<layers>
<layer name="IO" hasTarget="1">
<description>Basic I/O layer for MCB4300 for Ethernet applications</description>
<category>Board IO, Wired Network</category>
<license>BSD-3-Clause</license>
<interfaces>
<consumes id="SPI"/>
<provides id="WIFI"/>
</interfaces>
</layer>
...
</layers>
...

 


Parents Element Chain
layer /cprj/layers/layer
Attributes Description Type Use
consumes Interfaces consumed by the layer. xs:string optional
provides Interfaces provided by the layer. xs:string

optional