![]() |
CMSIS Packs
Version 0.10
Mechanism to install software, device support, APIs, and example projects
|
File attributes
The type <FileType> is a complex XML type defining attributes for files used within a component.
Attributes | Description | Type | Use |
---|---|---|---|
name | Path relative to the PACK base directory, filename and file extension. | xs:string | required |
category | describes the type of file from a predefined enumeration of file categories (e.g. doc, header, library, etc.) | FileCategoryEnum | 1..1 |
attr | The optional file attribute imply special handling of files (e.g. configuration files are copied into the local RTE folder of the project and are managed by RTE. Template and Interface files can be selected to be copied and added to a user group of the project) | FileAttributeEnum | 0..1 |
condition | Reference using the name of the respective condition specified in the conditions section of this package. If the condition resolves to false the element will be ignored and treated as if it were not present. | xs:string | optional |
version | File specific version information is used in particular for files copied into the project workspace. Before a file gets copied a version check will avoid unnecessary copy actions that may Copy file to project folder. Default value is false. | xs:boolean | optional |
SRC | SRC string contains a list of directory paths seperated by a semicolon. The path is specified relative to the PACK Description file. A debugger will search the given paths for locating the source files of the modules archived in the library supporting the debugging of library code. | xs:string | optional |
select | A brief description of the file and it's purpose. This is intended for use in combination with the attribute attr set to template or interface. When multiple files in a component have the same string they can be treated as a single selectable item. This way multiple template and/or interface files can be bundled. | xs:string | 0..1 |