Skip to content

Commit e5bf8e2

Browse files
committed
updated to PACK.xsd from CMSIS.5.3.0
1 parent fcb817a commit e5bf8e2

1 file changed

Lines changed: 33 additions & 5 deletions

File tree

Utilities/PACK.xsd

Lines changed: 33 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,17 @@
1717
See the License for the specific language governing permissions and
1818
limitations under the License.
1919
20-
$Date: 21. November 2016
21-
$Revision: 1.4.8
20+
$Date: 25. Januar 2017
21+
$Revision: 1.4.9
2222
2323
$Project: Schema File for Package Description File Format Specification
2424
2525
Package file name convention <vendor>.<name>.<version>.pack
2626
SchemaVersion=1.4
2727
28+
25. January 2017: 1.4.9
29+
- added Toptions attribute for usee in conditions
30+
2831
21. November 2016: 1.4.8
2932
- added support for semantic versioning quality information in ConditionVersionType
3033
- relaxed schema by making some more elements optional
@@ -103,9 +106,11 @@
103106
<xs:enumeration value="Altera:85"/>
104107
<xs:enumeration value="Altium:65"/>
105108
<xs:enumeration value="Ambiq Micro:120"/>
109+
<xs:enumeration value="Amiccom:147"/>
106110
<xs:enumeration value="Analog Devices:1"/>
107111
<xs:enumeration value="ARM:82"/>
108112
<xs:enumeration value="ARM CMSIS:109"/>
113+
<xs:enumeration value="ArteryTek:143"/>
109114
<xs:enumeration value="Atmel:3"/>
110115
<xs:enumeration value="CSR:118"/>
111116
<xs:enumeration value="Cypress:19"/>
@@ -119,6 +124,8 @@
119124
<xs:enumeration value="Evatronix:64"/>
120125
<xs:enumeration value="Generic:5"/>
121126
<xs:enumeration value="GigaDevice:123"/>
127+
<xs:enumeration value="HDSC:145"/>
128+
<xs:enumeration value="Hilscher:88"/>
122129
<xs:enumeration value="Holtek:106"/>
123130
<xs:enumeration value="Hynix Semiconductor:6"/>
124131
<xs:enumeration value="Hyundai:35"/>
@@ -130,7 +137,9 @@
130137
<xs:enumeration value="Maxim:23"/>
131138
<xs:enumeration value="MediaTek:129"/>
132139
<xs:enumeration value="MegaChips:128"/>
140+
<xs:enumeration value="Megawin:70"/>
133141
<xs:enumeration value="Mentor Graphics Co.:24"/>
142+
<xs:enumeration value="Microchip:3"/>
134143
<xs:enumeration value="Micronas:30"/>
135144
<xs:enumeration value="Microsemi:112"/>
136145
<xs:enumeration value="Milandr:99"/>
@@ -140,9 +149,11 @@
140149
<xs:enumeration value="Nuvoton:18"/>
141150
<xs:enumeration value="NXP:11"/>
142151
<xs:enumeration value="OKI SEMICONDUCTOR CO.,LTD.:108"/>
152+
<xs:enumeration value="ONSemiconductor:141"/>
143153
<xs:enumeration value="Panasonic:131"/>
144154
<xs:enumeration value="Realtek Semiconductor:124"/>
145155
<xs:enumeration value="Redpine Signals:125"/>
156+
<xs:enumeration value="RelChip:146"/>
146157
<xs:enumeration value="Renesas:117"/>
147158
<xs:enumeration value="ROHM:103"/>
148159
<xs:enumeration value="Samsung:47"/>
@@ -152,6 +163,7 @@
152163
<xs:enumeration value="Spansion:100"/>
153164
<xs:enumeration value="STMicroelectronics:13"/>
154165
<xs:enumeration value="Sunrise Micro Devices:121"/>
166+
<xs:enumeration value="Synwit:144"/>
155167
<xs:enumeration value="TI:16"/>
156168
<xs:enumeration value="Texas Instruments:16"/>
157169
<xs:enumeration value="Toshiba:92"/>
@@ -181,14 +193,16 @@
181193
<xs:restriction base="xs:string">
182194
<xs:minLength value="3"/>
183195
<xs:maxLength value="32"/>
196+
<xs:pattern value="\S(.*\S)?"></xs:pattern>
184197
</xs:restriction>
185198
</xs:simpleType>
186199

187-
<!-- Component Group Name Type -->
200+
<!-- Component Group Name Type (no leading or trailing spaces allowed) -->
188201
<xs:simpleType name="CgroupType">
189202
<xs:restriction base="xs:string">
190203
<xs:minLength value="3"/>
191204
<xs:maxLength value="32"/>
205+
<xs:pattern value="\S(.*\S)?"></xs:pattern>
192206
</xs:restriction>
193207
</xs:simpleType>
194208

@@ -197,6 +211,7 @@
197211
<xs:restriction base="xs:string">
198212
<xs:minLength value="0"/>
199213
<xs:maxLength value="32"/>
214+
<!-- <xs:pattern value="\S(.*\S)?"></xs:pattern> not backward compatible -->
200215
</xs:restriction>
201216
</xs:simpleType>
202217

@@ -205,6 +220,7 @@
205220
<xs:restriction base="xs:string">
206221
<xs:minLength value="3"/>
207222
<xs:maxLength value="32"/>
223+
<xs:pattern value="\S(.*\S)?"></xs:pattern>
208224
</xs:restriction>
209225
</xs:simpleType>
210226

@@ -860,6 +876,7 @@
860876
<xs:enumeration value="utility"/>
861877
<xs:enumeration value="image"/>
862878
<xs:enumeration value="other"/>
879+
<xs:enumeration value="preInclude"/> <!-- restricted to a single file in CPDSC file -->
863880
</xs:restriction>
864881
</xs:simpleType>
865882

@@ -887,6 +904,16 @@
887904
<xs:enumeration value="*"/>
888905
</xs:restriction>
889906
</xs:simpleType>
907+
908+
<!-- compiler specific options/mode -->
909+
<xs:simpleType name="CompilerOptionsEnumType">
910+
<xs:restriction base="xs:token">
911+
<xs:enumeration value="AC5"/>
912+
<xs:enumeration value="AC6"/>
913+
<xs:enumeration value="AC6LTO"/>
914+
</xs:restriction>
915+
</xs:simpleType>
916+
890917
<!-- compiler output enumeration -->
891918
<xs:simpleType name="CompilerOutputType">
892919
<xs:restriction base="xs:token">
@@ -896,8 +923,6 @@
896923
</xs:restriction>
897924
</xs:simpleType>
898925

899-
900-
901926
<xs:complexType name="FilterType">
902927
<xs:attribute name="Dfamily" type="xs:string"/> <!-- deprecated as they are too weak for filtering -->
903928
<xs:attribute name="DsubFamily" type="xs:string"/> <!-- deprecated as tehy are too weak for filtering -->
@@ -921,6 +946,8 @@
921946
<xs:attribute name="Cversion" type="ConditionVersionType"/>
922947
<xs:attribute name="Capiversion" type="ConditionVersionType"/>
923948
<xs:attribute name="Tcompiler" type="CompilerEnumType"/>
949+
<!-- Toptions can only be used in combination with Tcompiler and the strings are predefined by the specification -->
950+
<xs:attribute name="Toptions" type="CompilerOptionsEnumType"/>
924951
<xs:attribute name="Toutput" type="CompilerOutputType"/>
925952
<xs:attribute name="condition" type="xs:string"/>
926953
</xs:complexType>
@@ -1043,6 +1070,7 @@
10431070
<xs:enumeration value="schematic"/>
10441071
<xs:enumeration value="overview"/>
10451072
<xs:enumeration value="manual"/>
1073+
<xs:enumeration value="layout"/>
10461074
<xs:enumeration value="other"/>
10471075
</xs:restriction>
10481076
</xs:simpleType>

0 commit comments

Comments
 (0)