|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | + |
| 3 | +<package schemaVersion="1.4" xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="PACK.xsd"> |
| 4 | + <vendor>TestVendor</vendor> |
| 5 | + <url>http://www.testurl.com/pack/</url> |
| 6 | + <name>ConfigFileInIncludePathPack</name> |
| 7 | + <description>Include Path vs Config File. Files that have attr=config in the *.pdsc are copied to the project. An include path is automatically generated. |
| 8 | +It is a potential risk to add an additional include path to original location in the *.pdsc file. This file does not contain configuration settings. |
| 9 | +It depends on the search order of the compiler to pickup the right header file (as effectively the same header file name is twice in the search path).</description> |
| 10 | + |
| 11 | + <releases> |
| 12 | + <release version="0.0.1" date="2021-09-06">> |
| 13 | + Initial release of ConfigFileInIncludePath. |
| 14 | + </release> |
| 15 | + </releases> |
| 16 | + |
| 17 | + <keywords> |
| 18 | + <keyword>ConfigFileInIncludePath</keyword> |
| 19 | + </keywords> |
| 20 | + |
| 21 | + <conditions> |
| 22 | + <condition id="TestDevices"> |
| 23 | + <description>Test devices</description> |
| 24 | + <require Dvendor="ARM:82" Dname="Test*"/> |
| 25 | + </condition> |
| 26 | + <condition id="Test ARMCC"> |
| 27 | + <description>filter for STM32F1xx Value Line Low Density Device and the ARM compiler</description> |
| 28 | + <require condition="TestDevices"/> |
| 29 | + <require Tcompiler="ARMCC"/> |
| 30 | + </condition> |
| 31 | + </conditions> |
| 32 | + |
| 33 | + <devices> |
| 34 | + <family Dfamily="TestFamily" Dvendor="ARM:82"> |
| 35 | + <algorithm name="Flash/ARMCMx_512.FLM" start="0x00000000" size="0x00040000" default="1"/> |
| 36 | + |
| 37 | + <!-- ****************************** TestSubFamily ****************************** --> |
| 38 | + <subFamily DsubFamily="TestSubFamily"> |
| 39 | + <compile header="Files/TestDevicesFoo.h" define="TESTDEVICES"/> |
| 40 | + |
| 41 | + <description> |
| 42 | +The TestSubFamily is ... |
| 43 | + </description> |
| 44 | + |
| 45 | + <!-- ****************************** TestDevice1 ***************************** --> |
| 46 | + <device Dname="TestDevice1"> |
| 47 | + <processor Dcore="Cortex-M4" DcoreVersion="r0p1" Dfpu="SP_FPU" Dmpu="MPU" Dendian="Little-endian" Dclock="204000000"/> |
| 48 | + <memory id="IROM1" start="0x00000000" size="0x00040000" default="1" startup="1"/> |
| 49 | + <memory id="IRAM1" start="0x10000000" size="0x00010000" default="1" init ="0"/> |
| 50 | + <memory id="IRAM2" start="0x20000000" size="0x00010000" default="0" init ="0"/> |
| 51 | + </device> |
| 52 | + </subFamily> |
| 53 | + </family> |
| 54 | + </devices> |
| 55 | + |
| 56 | + <components> |
| 57 | + <component Cclass="Device" Cgroup="Startup" Cversion="1.0.0" condition="TestDevices"> |
| 58 | + <description>System Startup for STMicroelectronics STM32F1xx device series</description> |
| 59 | + <files> |
| 60 | + <file category="include" name="Files/"/> |
| 61 | + <file category="source" name="Files/header1.h" attr="config" version="1.0.0" condition="Test ARMCC"/> |
| 62 | + </files> |
| 63 | + </component> |
| 64 | + </components> |
| 65 | + |
| 66 | +</package> |
0 commit comments