CMSIS-Pack
Version 1.4.1
Delivery Mechanism for Software Packs
|
The basic package information captures the package vendor, the package name, a brief description of the package, and the schema version. Additional elements support the logistics of handling packages. The url specifies the origin of the description. It may be left empty if the pack will not be uploaded onto a web server. A license file might point to license agreements. A list of keywords assists searching for packages.
Example:
Parent Element | Element Chain | ||
---|---|---|---|
root | Document root | ||
Attributes | Description | Type | Use |
schemaVersion | CMSIS-PDSC schema version used for describing the Software Pack (for example, "1.2"). The version format is described in Version Type. | VersionType | required |
xmlns:xs | Is set to: "http://www.w3.org/2001/XMLSchema-instance" to indicate compliance to the XML format. | xs:decimal | required |
xs:noNamespaceSchemaLocation | Path and file name of the PACK.xsd Schema. For example, "PACK.xsd". | xs:string | required |
Child Elements | Description | Type | Occurrence |
name | Name of the Software Pack. Could be displayed by an installer. | xs:string | 1..1 |
vendor | Name of the supplier or vendor of the Software Pack. | xs:string | 1..1 |
description | Brief description of the Software Pack. | xs:string | 1..1 |
url | HTTP URL or file URI location of the Software Pack. The URL can be used by installers for downloading, updating, or checking versions. If left empty, the Pack cannot be updated automatically from a server location. | xs:anyURI | 1..1 |
supportContact | HTTP URL or e-mail address for users to get support for the content of the PACK | xs:string | 0..1 |
license | Path to a license document. | xs:string | 0..1 |
releases | Version release history with brief information about a Software Pack. | ReleasesGroup | 1..1 |
keywords | Defines keywords that might be used to find a Software Pack. Keywords may be also exported to web page to provide information for search engines, such as Google. | group | 0..1 |
generators | Specifies generator tools that have been used to create the Software Pack. | GeneratorsType | 0..1 |
devices | Defines the device family, the devices, and optionally variants (such as boards). | group | 0..1 |
boards | Defines the development board support package. | BoardsType | 0..1 |
taxonomy | Contains the description for a component class or for the combination between a component class and component group. | TaxonomyType | 0..1 |
apis | Defines the API (Application Programming Interfaces) specifications contained in the Software Pack. | ApisType | 0..1 |
conditions | Is a group that contains dependency definitions used within the PACK. These rules can describe dependencies on various levels: device attributes, components, or tools. Conditions are referenced by components and files. | ConditionsType | 0..1 |
examples | Lists the examples that are included in the PACK. | group | 0..1 |
components | Lists the software components that are included in the PACK. | group | 0..1 |
CMSIS-PACK version specification is inspired by the Semantic Versioning 2.0.0. Under this scheme, version numbers and the way they are incremented convey a meaning about the underlying content quality and the significance of changes from one version to the next. A version consists of 3 mandatory and 2 optional sections:
The above is extending the recommendation that was given in previous version of this specification.:
Version types are used in:
Example: this example applies to /package/releases/release.