-
Notifications
You must be signed in to change notification settings - Fork 28
Expand file tree
/
Copy pathPACK.xsd
More file actions
2533 lines (2350 loc) · 118 KB
/
PACK.xsd
File metadata and controls
2533 lines (2350 loc) · 118 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2013-2024 ARM Limited. All rights reserved.
SPDX-License-Identifier: Apache-2.0
Licensed under the Apache License, Version 2.0 (the License); you may
not use this file except in compliance with the License.
You may obtain a copy of the License at
www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an AS IS BASIS, WITHOUT
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
$Date: 18. Dec 2024
$Revision: 1.7.45
$Project: Schema File for Package Description File Format Specification
Package file name convention <vendor>.<name>.<version>.pack
SchemaVersion=1.7.45
18. Dec 2024: v1.7.45
- added 'CLANG_TI' to 'CompilerEnumType'
14. Nov 2024: v1.7.44
- added optional 'environments' section below package element to hold environment-specific information pertaining to the package as a whole
12. Nov 2024: v1.7.43
- added optional 'ECCN' section for EU and US export control classification numbers
10. Oct 2024: v1.7.42
- added 'mode' attribute ExeGeneratorArgumentType
23. Sep 2024: v1.7.41
- changed all 'public' attributes to have default value 'true'.
02. Sep 2024: v1.7.40
- added 'Secure-only' to \ref DsecureEnum "DsecureEnum" to specify a secure software model without provisions for a non-secure partition
30. Aug 2024: v1.7.39
- modified default 'DebugPortStart' debug sequence to clear DP sticky error bits (specification docs only)
13. May 2024: v1.7.37
- added Nationstech vendor
- added NSING vendor
- Add Cortex A35 and Cortex A55
24. Apr 2024: v1.7.36
- added csolution section specifying 'template' and 'clayer' elements
- added targets to requirements section
18. Apr 2024: v1.7.35
- made board element optional in example element
- add attribute overview to package description element
- fix 'BOYAMICRO' vendor value in 'DeviceVendorEnum'
12. Apr 2024: v1.7.34
- added 'Watech:183' to 'DeviceVendorEnum'
26. Mar 2024: v1.7.33
- added 'BOYAMICRO:182' to 'DeviceVendorEnum'
05. Mar 2024: v1.7.32
- FileScopeAttributeType 'private' and 'public' also used for header files.
- attribute select also permitted for component files type header.
- description text size limit documented with BriefDescType.
08. Feb 2024: v1.7.31
- added new processor Cortex-M52
15. Nov 2023: v1.7.30
- renamed componentExts as extensions
29. Aug 2023: v1.7.29
- added \<image> child element to \<part> element
03. Aug 2023: v1.7.28
- changed capitalization from 'changeLogs' to 'changelogs' to align with documentation
26. July 2023: v1.7.27
- changed capitalization from 'Clang' to 'CLANG' in 'CompilerEnumType' to align with CMSIS-Toolbox
- added 'MinebeaMitsumi:181' to 'DeviceVendorEnum'
23. June 2023: v1.7.26
- added 'YTMicro:180' to 'DeviceVendorEnum'
15. May 2023: v1.7.25
- added 'Sinemicro:179' to 'DeviceVendorEnum'
04. May 2023: v1.7.24
- added environment element as child element of /package/boards/board and /package/components/.../component/environments
27. Apr 2023: v1.7.23
- specified that url to a website in book element is allowed
- aligned /package/boards/board/book element occurrence in documentation to XSD schema
12. Apr 2023: v1.7.22
- added Hvendor and Hname as attributes of the accept, require and deny elements
- redefined Hvendor as xs:string
05. Apr 2023: v1.7.21
- added 'Himax:178' to DeviceVendorEnum
- added 'Renesas' to CompilerEnumType
07. Mar 2023: v1.7.20
- added \<clayers> section for distributing layers in software packs, replaced with \<csolution> in v1.7.36
06. Feb 2023: v1.7.19
- added generator specific component file types: 'genSource', 'genHeader', 'genParams', 'genAsset' to 'FileCategoryType' of the files element
31. Jan 2023: v1.7.18
- added 'NO_VENDOR:0' to DeviceVendorEnum
31. Jan 2023: v1.7.17
- added Hclass and Hgroup predefined values for \<part> element classification
- added \<part-taxonomy> element to list description elements defining part classes and part group names
30. Jan 2023: v1.7.16
- added 'bottom' and 'perspective' attributes to /package/boards/board/image element
- revert extension from v1.7.10 and replace using attributes for 'language' and 'scope' in 'FileType'
- added 'Clang' to 'CompilerEnumType'
- added '3PEAK' Dvendor entry
24. Oct 2022: v1.7.15
- added 'projectpath' attribute which can be used by IDE to construct file location folder in IDE project explorer view of workspace
10. Oct 2022: v1.7.14
- added 'changelog' element providing references to change log files by component, api and bundle elements
- added 'Puya' Dvendor entry
- added 'view' attribute to component element with predefined values define by 'ViewType'
06. Sep 2022: v1.7.13
- added VirtualHW as a new board type in support of the Arm Virtual Hardware initiative
- added \<parts> element and its child elements for describing and packaging the parts (devices other than the MCU)
- added \<mountedPart> element, as child element of the \<board> element, for describing the parts (devices other than the MCU) mounted on the development board
09. Aug 2022: v1.7.12
- added 'Linkedsemi' Dvendor entry
19. July 2022: v1.7.11
- added 'uuid' to boards element to indicate a 128-bit universal ID in the debug firmware of the board
- added 'memory' and 'algorithm' child elements to the boards element to describe board-specific memory
- added 'Bvendor', 'Bname', 'Brevision' attribute to conditions element to allow board specific filtering
04. July 2022: v1.7.10
- added 'includeAsm', 'includeC', 'includeCpp', 'includeLd' to FileCategoryType of the components element
- added 'headerAsm', 'includeC', 'headerCpp', 'headerLd' to FileCategoryType of the components element
28. June 2022: v1.7.9
- added new section <licenseSets> supporting association of multiple license
files with one or more components
1. June 2022: v1.7.8
- added extension points description for components as suggested by STMicroelectronics
21. April 2022: v1.7.7
- added 'Cortex-M85' to DcoreEnum
- added 'Dpacbti' attribute to Processor
- added 'Dpacbti' attribute to Condition
- added 'DpacbtiEnum'
15. March 2022: v1.7.6
- type of n and m attributes of BoardFeatureType and Pname becomes xs:string
22. February 2022: v1.7.5
- rename DcoreEnum 'Star' to 'Star-MC1'
8. February 2022: v1.7.4
- clarified the usage of the "public" attribute and set public="true" as default.
31. January 2022: v1.7.3
- added 'Star' to DcoreEnum
1. December 2020: v1.7.2
- added 'XC' to CompilerEnumType to enable use of Microchip XC32 compiler
13. November 2020: v1.7.1
- undo removing deprecated attributes as they are still used in latest pdsc file versions:
DeviceVendorEnum: Lapis Semiconductor, DeviceVendorEnum: Pname, BoardReferenceType: Dvendor, Dname
- added condition attribute to TaxonomyDescriptionType supporting context specific taxonomies (e.g. vendor or device specific)
14. September 2020: v1.7.0
- added processor attribute Dcdecp for implemented Custom Datapath Extension Coprocessors (Cortex-M33)
- extended BoardType added DebugProbeType and FlashAlgorithm.
- removed types and references used by deprecated cprj format.
26. March 2020: v1.6.3
- added 'folder' attribute to example's <environment> element.
- added 'ACCESS_AP' to DataPatchAccessTypeEnum.
- added 'Cortex-M55' to DcoreEnum.
- added 'uninit' attribute <memory> element to replace deprecated 'init' attribute.
- updated 'DmveEnum' strings to align with specification.
- reduced minimum length of Cclass, Cgroup and Cvariant names from 3 to 2.
- deprecating all types specific to cpdsc format. Cpdsc is replaced by Cprj with dedicated schema.
05. November 2019: v1.6.2
- added <accessportV1> and <accessportV2> to describe CoreSight access port parameters.
- added attribute '__apid' to <debug> and <datapatch> to reference <accessportV1> and <accessportV2> elements.
- added attribute 'dormant' to <debugconfig> element.
24. October 2019: 1.6.1
- added value to DsecureEnum: 2 = TZ-disabled.
- added component boolean attribute 'custom', indicating that the component requires implementation.
- updated DmveEnum to select between single and double precision floating point support (MVE_FP deprecated).
14. March 2019: 1.6.0
- added Armv8.1-M MVE processor feature attribute 'Dmve'.
- added local and global pre-include section Pre_Include_Local_Component_h, Pre_Include_Global_h.
- added file categories 'preIncludeLocal' and 'preIncludeGlobal' FileCategoryEnum.
- added file attribute 'path' for file category 'header' to add support for relative include paths.
- added to package element the possibility to restrict the usage of the with attributes Dvendor, Dname, Dcore, and Tcompiler.
- added dominate element to overwrite identical APIs, or components.
- added attribute 'condition' to the api element so that an API can be excluded based on a condition.
- added new Software Component Cclasses : "Audio", "Board Part", "Data Exchange", "Extension Board", "IoT Client", "IoT Utility", "Security", "Utility".
19. July 2018: 1.5.0
- added flash info section required for flash programming via debug sequences
- added debug access functions and global debug variables for flash programming via debug sequences
- added repository tag for specifying origin of public repositories
25. January 2017: 1.4.9
- added Toptions attribute for use in conditions
21. November 2016: 1.4.8
- added support for semantic versioning quality information in ConditionVersionType
- relaxed schema by making some more elements optional
07. November 2016: 1.4.7
- added multiple version types to tighten the schema checking depending on context
- added new generator sections for exe, web and eclipse based generators
- added new processor attributes Dtz = Trustzone and Ddsp = DSP instructions for ARMv8-M
- added new attributes Dtz, Ddsp, Dsecure to conditions
- added new processors Cortex-M23 and Cortex-M33
- added new attribute public to books and images to indicate public use of documents and board images
12. July 2016: 1.4.6
- refined Dname string pattern restriction
13. June 2016: 1.4.5
- added: Punits to ProcessorType
- added: Punit to DebugType
26. April 2016: 1.4.4
- added: attribute defaultResetSequence to DebugType.
- added: <requirements> section:
- <packages> defining dependencies between packs
- <languages> defining required language support e.g. C99
- <compiler> defining required toolchains
- added: <create> section used for tool independent project description
- attributes: name, documentation, condition
- <target> specifies the board and device targeted by the project
- <options>
- <files> specifies the grouped files
- updated: <algorith> element
- added attributes: style, parameter and endian
- updated: <memory> element
- added attributes: name, access and alias
- deprecating attribute: id (replaced by name + access)
03. Dec 2015: 1.4.3
- adding attribute "sdf" to devices section element debugconfig
16. Oct 2015: 1.4.1
- Pname, Dname, Dvariant type changed from xs:string to RestrictedString
28. Aug 2015: 1.4.0
- deprecate devices memory tag attribute id and use
introduced name and access attributes instead
- added devices memory tag attribute: alias
- added devices algorithm tag attribute: style
- added attribute to define a default component variant
- added board book category: layout
29. May 2015
- added missing Pname attribute to GeneratorDeviceSelectType used for multi processor
devices
12. Jan. 2014
- allow to link a component with a generator via new component attribute
- generator command extended to deal with more sophisticated command lines / document sequence
-->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="qualified" version="1.7.45">
<!-- NonNegativeInteger specifies the format in which numbers are represented in hexadecimal or decimal format -->
<xs:simpleType name="NonNegativeInteger">
<xs:restriction base="xs:string">
<xs:pattern value="[+]?(0x|0X)?[0-9a-fA-F]+" />
</xs:restriction>
</xs:simpleType>
<!-- Registered Device Vendors -->
<xs:simpleType name="DeviceVendorEnum">
<xs:restriction base="xs:token">
<xs:enumeration value="NO_VENDOR:0" />
<xs:enumeration value="3PEAK:177" />
<xs:enumeration value="ABOV Semiconductor:126" />
<xs:enumeration value="Actel:56" />
<xs:enumeration value="Active-Semi:140" />
<xs:enumeration value="Alif Semiconductor:165" />
<xs:enumeration value="Altera:85" />
<xs:enumeration value="Altium:65" />
<xs:enumeration value="Ambiq Micro:120" />
<xs:enumeration value="Amiccom:147" />
<xs:enumeration value="Analog Devices:1" />
<xs:enumeration value="APEXMIC:153" />
<xs:enumeration value="ARM:82" />
<xs:enumeration value="ARM CMSIS:109" />
<xs:enumeration value="ArmChina:160" />
<xs:enumeration value="ArteryTek:143" />
<xs:enumeration value="Atmel:3" />
<xs:enumeration value="AutoChips:150" />
<xs:enumeration value="BOYAMICRO:182" />
<xs:enumeration value="BrainChip:168" />
<xs:enumeration value="Cmsemicon:161" />
<xs:enumeration value="CSR:118" />
<xs:enumeration value="Cypress:19" />
<xs:enumeration value="Dialog Semiconductor:113" />
<xs:enumeration value="Dolphin:57" />
<xs:enumeration value="Domosys:26" />
<xs:enumeration value="ELAN:162" />
<xs:enumeration value="Elmos:138" />
<xs:enumeration value="Ember:98" />
<xs:enumeration value="Energy Micro:97" />
<xs:enumeration value="EnOcean:91" />
<xs:enumeration value="e-peas:167" />
<xs:enumeration value="EtaCompute:157" />
<xs:enumeration value="Evatronix:64" />
<xs:enumeration value="FMD:169" />
<xs:enumeration value="FMSH:159" />
<xs:enumeration value="Geehy:163" />
<xs:enumeration value="Generic:5" />
<xs:enumeration value="Generalplus:151" />
<xs:enumeration value="GigaDevice:123" />
<xs:enumeration value="Goodix:155" />
<xs:enumeration value="HDSC:145" />
<xs:enumeration value="Hilscher:88" />
<xs:enumeration value="Himax:178" />
<xs:enumeration value="Holtek:106" />
<xs:enumeration value="Hynix Semiconductor:6" />
<xs:enumeration value="Hyundai:35" />
<xs:enumeration value="Infineon:7" />
<xs:enumeration value="Jonzic:174" />
<xs:enumeration value="Kionix:127" />
<xs:enumeration value="LAPIS Technology:10" />
<xs:enumeration value="Lapis Semiconductor:10" />
<xs:enumeration value="Linear Technology:136" />
<xs:enumeration value="Linkedsemi:175" />
<xs:enumeration value="Luminary Micro:76" />
<xs:enumeration value="Maxim:23" />
<xs:enumeration value="MediaTek:129" />
<xs:enumeration value="MegaChips:128" />
<xs:enumeration value="Megawin:70" />
<xs:enumeration value="Mentor Graphics Co.:24" />
<xs:enumeration value="Microchip:3" />
<xs:enumeration value="Micronas:30" />
<xs:enumeration value="Microsemi:112" />
<xs:enumeration value="Milandr:99" />
<xs:enumeration value="MindMotion:132" />
<xs:enumeration value="MinebeaMitsumi:181" />
<xs:enumeration value="Nationstech:184" />
<xs:enumeration value="NetSilicon:67" />
<xs:enumeration value="Nordic Semiconductor:54" />
<xs:enumeration value="NSING:185" />
<xs:enumeration value="Nuvoton:18" />
<xs:enumeration value="NXP:11" />
<xs:enumeration value="OKI SEMICONDUCTOR CO.,LTD.:108" />
<xs:enumeration value="onsemi:141" />
<xs:enumeration value="Panasonic:131" />
<xs:enumeration value="Puya:176" />
<xs:enumeration value="Realtek Semiconductor:124" />
<xs:enumeration value="Redpine Signals:125" />
<xs:enumeration value="RelChip:146" />
<xs:enumeration value="Renesas:117" />
<xs:enumeration value="ROHM:103" />
<xs:enumeration value="RPi:170" />
<xs:enumeration value="Samsung:47" />
<xs:enumeration value="SILAN:164" />
<xs:enumeration value="Silergy Corp:139" />
<xs:enumeration value="Silicon Labs:21" />
<xs:enumeration value="Sinemicro:179" />
<xs:enumeration value="Sinowealth:149" />
<xs:enumeration value="SmartChip:156" />
<xs:enumeration value="SONiX:110" />
<xs:enumeration value="Socionext:171" />
<xs:enumeration value="Spansion:100" />
<xs:enumeration value="STMicroelectronics:13" />
<xs:enumeration value="Sunrise Micro Devices:121" />
<xs:enumeration value="Synwit:144" />
<xs:enumeration value="TI:16" />
<xs:enumeration value="Texas Instruments:16" />
<xs:enumeration value="ThinkTech:172" />
<xs:enumeration value="Toshiba:92" />
<xs:enumeration value="Triad Semiconductor:104" />
<xs:enumeration value="Unisoc:152" />
<xs:enumeration value="Vorago:137" />
<xs:enumeration value="Watech:183" />
<xs:enumeration value="Weltrend:148" />
<xs:enumeration value="WIZnet:122" />
<xs:enumeration value="Xiamen PengPai Microelectronics Co. Ltd:166" />
<xs:enumeration value="XMC:158" />
<xs:enumeration value="YTMicro:180" />
<xs:enumeration value="Zilog:89" />
<!-- deprecated: do not use -->
<xs:enumeration value="Freescale:78" />
<xs:enumeration value="Freescale Semiconductor:78" />
<xs:enumeration value="NXP (founded by Philips):11" />
</xs:restriction>
</xs:simpleType>
<!-- AlgorithmStyleType: allow support of different flash programming algorithm styles -->
<xs:simpleType name="AlgorithmStyleType">
<xs:restriction base="xs:token">
<xs:enumeration value="Keil" />
<xs:enumeration value="IAR" />
<xs:enumeration value="CMSIS" />
</xs:restriction>
</xs:simpleType>
<!-- Component Vendor -->
<xs:simpleType name="CvendorType">
<xs:restriction base="xs:string">
<xs:minLength value="2" />
<xs:maxLength value="32" />
<xs:pattern value="[A-Za-z0-9][A-Za-z0-9\-\s]+" />
</xs:restriction>
</xs:simpleType>
<!-- Component Vendor filter -->
<xs:simpleType name="CvendorFilterType">
<xs:restriction base="xs:string">
<xs:minLength value="2" />
<xs:maxLength value="32" />
<xs:pattern value="[A-Za-z0-9\s\?\*]+" />
</xs:restriction>
</xs:simpleType>
<!-- Component Identifier Part Type -->
<xs:simpleType name="CidPartType">
<xs:restriction base="xs:string">
<xs:minLength value="2" />
<xs:maxLength value="32" />
<xs:pattern value="[A-Za-z0-9][A-Za-z0-9_+()'/\-\s\.]+" />
</xs:restriction>
</xs:simpleType>
<!-- Component Identifier Part Filter Type -->
<xs:simpleType name="CidPartFilterType">
<xs:restriction base="xs:string">
<xs:minLength value="1" />
<xs:maxLength value="32" />
<xs:pattern value="[A-Za-z0-9\?\*][A-Za-z0-9_+()'/\-\s\?\*]*" />
</xs:restriction>
</xs:simpleType>
<!-- Component Sub Name Type -->
<xs:simpleType name="CsubType">
<xs:restriction base="xs:string">
<xs:minLength value="0" />
<xs:maxLength value="32" />
<xs:pattern value="([A-Za-z0-9]{1}[A-Za-z0-9_+():/\- \.]*)?"></xs:pattern>
</xs:restriction>
</xs:simpleType>
<!-- Component Sub Name Filter Type -->
<xs:simpleType name="CsubFilterType">
<xs:restriction base="xs:string">
<xs:minLength value="0" />
<xs:maxLength value="32" />
<xs:pattern value="[A-Za-z0-9]?[A-Za-z0-9_+():/\-\s\.\?\*]*"></xs:pattern>
</xs:restriction>
</xs:simpleType>
<!-- AccessType (added in 1.4.4) -->
<xs:simpleType name="AccessType">
<xs:restriction base="xs:string">
<xs:pattern value="[rwxpsnc]+" />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="Hex8BitType">
<xs:restriction base="xs:string">
<xs:pattern value="(0x|0X)[0-9a-fA-F]{2}" />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="UUID">
<xs:restriction base="xs:string">
<xs:pattern value="[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}"/>
</xs:restriction>
</xs:simpleType>
<!-- a pack can optionally specify its export control classification numbers for US and EU -->
<!-- Export Control Classification Numbers for EU -->
<xs:simpleType name="ECCNEUCodeEnum">
<xs:restriction base="xs:token">
<xs:enumeration value="3A001.a.2.c" />
<xs:enumeration value="3A001.a.7.a" />
<xs:enumeration value="3D001" />
<xs:enumeration value="3E001" />
<xs:enumeration value="3E002.a" />
<xs:enumeration value="3E002.b" />
<xs:enumeration value="3E002.c" />
<xs:enumeration value="5A002.a.1" />
<xs:enumeration value="5A002.a.1.a" />
<xs:enumeration value="5A002.a.2" />
<xs:enumeration value="5A002.a.4" />
<xs:enumeration value="5D002" />
<xs:enumeration value="5D002.a" />
<xs:enumeration value="5D002.a.1" />
<xs:enumeration value="5D002.c.1" />
<xs:enumeration value="5E002.a" />
<xs:enumeration value="5E002.b" />
<xs:enumeration value="NEC" />
</xs:restriction>
</xs:simpleType>
<!-- Export Control Classification Numbers for US -->
<xs:simpleType name="ECCNUSCodeEnum">
<xs:restriction base="xs:token">
<xs:enumeration value="3A001.a.2.c" />
<xs:enumeration value="3A001.a.7.a" />
<xs:enumeration value="3A991.a.2" />
<xs:enumeration value="3A991.a.3" />
<xs:enumeration value="3A991.b.1.a" />
<xs:enumeration value="3A991.b.1.b" />
<xs:enumeration value="3D001" />
<xs:enumeration value="3D991" />
<xs:enumeration value="3D992" />
<xs:enumeration value="3E001" />
<xs:enumeration value="3E002.a" />
<xs:enumeration value="3E002.b" />
<xs:enumeration value="3E002.c" />
<xs:enumeration value="3E991" />
<xs:enumeration value="5A002.a" />
<xs:enumeration value="5A002.a.1" />
<xs:enumeration value="5A002.a.2" />
<xs:enumeration value="5A002.a.4" />
<xs:enumeration value="5A991.b.1" />
<xs:enumeration value="5A991.b.4.a" />
<xs:enumeration value="5A991.b.6.b" />
<xs:enumeration value="5A991.g" />
<xs:enumeration value="5A992" />
<xs:enumeration value="5A992.b" />
<xs:enumeration value="5A992.c" />
<xs:enumeration value="5D002" />
<xs:enumeration value="5D002.a.1" />
<xs:enumeration value="5D002.c.1" />
<xs:enumeration value="5D992.c" />
<xs:enumeration value="5E002.a" />
<xs:enumeration value="5E002.b" />
<xs:enumeration value="5E992.a" />
<xs:enumeration value="5E992.b" />
<xs:enumeration value="7A994" />
<xs:enumeration value="7D994" />
<xs:enumeration value="9E515.f" />
<xs:enumeration value="EAR99" />
<xs:enumeration value="Not subject to EAR" />
</xs:restriction>
</xs:simpleType>
<!-- Export Control Classification types -->
<xs:complexType name="ECCNType">
<xs:sequence>
<xs:element name="ECCN-EU" minOccurs="1" maxOccurs="1" type="ECCNEUCodeEnum"/>
<xs:element name="ECCN-US" minOccurs="1" maxOccurs="1" type="ECCNUSCodeEnum"/>
</xs:sequence>
</xs:complexType>
<!-- Processor Type -->
<xs:complexType name="ProcessorType">
<!-- Pname defines an identifier for a specific processor in a multi-processor devices -->
<xs:attribute name="Pname" type="RestrictedString" />
<!-- Punits specifies the number of processing units in a symmetric multi-processor core -->
<xs:attribute name="Punits" type="InstancesType" />
<!-- Dcore specifies the processor from a list of supported processors -->
<xs:attribute name="Dcore" type="DcoreEnum" />
<!-- Dfpu specifies the hardware floating point unit -->
<xs:attribute name="Dfpu" type="DfpuEnum" />
<!-- Dmpu specifies the memory protection unit -->
<xs:attribute name="Dmpu" type="DmpuEnum" />
<!-- Dtz specifies the processor TrustZone support -->
<xs:attribute name="Dtz" type="DtzEnum" />
<!-- Ddsp specifies the processor support for DSP instructions -->
<xs:attribute name="Ddsp" type="DdspEnum" />
<!-- Dmve specifies the processor Cortex-M vector extensions -->
<xs:attribute name="Dmve" type="DmveEnum" />
<!-- Dendian specifies the endianess supported by the processor -->
<xs:attribute name="Dendian" type="DendianEnum" />
<!-- Dclock specifies the maximum core clock frequency -->
<xs:attribute name="Dclock" type="xs:unsignedInt" />
<!-- DcoreVersion specifies the revision of the processor -->
<xs:attribute name="DcoreVersion" type="xs:string" />
<!-- Dcdecp specifies the custom datapath extension coprocessors that are implemented by the device (8bit hex value bitmask) -->
<xs:attribute name="Dcdecp" type="Hex8BitType" />
<!-- Dpacbti specifies the processor support for PAC/BTI instructions -->
<xs:attribute name="Dpacbti" type="DpacbtiEnum" />
</xs:complexType>
<!-- Compile Type: -->
<xs:complexType name="CompileType">
<!-- Pname identifies the processor this setting belongs to -->
<xs:attribute name="Pname" type="RestrictedString" use="optional" />
<!-- CMSIS-CORE device header file (sets compiler include path) -->
<xs:attribute name="header" type="xs:string" />
<!-- Device specific preprocessor define (sets preprocessor define -->
<xs:attribute name="define" type="xs:string" />
<!-- Processor instance specific preprocessor define (sets preprocessor define on the commandline) -->
<xs:attribute name="Pdefine" type="xs:string" />
</xs:complexType>
<!-- DebugVarsType -->
<xs:complexType name="DebugVarsType">
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="configfile" type="xs:string" use="optional" />
<xs:attribute name="version" type="ComponentVersionType" use="optional" />
<xs:attribute name="Pname" type="xs:string" use="optional" />
<xs:anyAttribute processContents="lax" />
</xs:extension>
</xs:simpleContent>
</xs:complexType>
<!-- Debug Link -->
<xs:simpleType name="DebugLinkEnum">
<xs:restriction base="xs:token">
<xs:enumeration value="jtag" />
<xs:enumeration value="cjtag" /> <!-- deprecated -->
<xs:enumeration value="swd" />
</xs:restriction>
</xs:simpleType>
<!-- DebugConfigType -->
<xs:complexType name="DebugConfigType">
<xs:attribute name="default" type="DebugLinkEnum" use="optional" default="swd" />
<xs:attribute name="clock" type="xs:unsignedInt" use="optional" />
<xs:attribute name="swj" type="xs:boolean" use="optional" />
<xs:attribute name="dormant" type="xs:boolean" use="optional" />
<!-- Debugger System Description File -->
<xs:attribute name="sdf" type="xs:string" use="optional" />
<xs:anyAttribute processContents="lax" />
</xs:complexType>
<!-- JtagType -->
<xs:complexType name="JtagType">
<xs:attribute name="tapindex" type="NonNegativeInteger" use="optional" />
<xs:attribute name="idcode" type="NonNegativeInteger" use="optional" />
<xs:attribute name="targetsel" type="NonNegativeInteger" use="optional" />
<xs:attribute name="irlen" type="xs:unsignedInt" use="optional" />
<xs:anyAttribute processContents="lax" />
</xs:complexType>
<!-- SwdType -->
<xs:complexType name="SwdType">
<xs:attribute name="idcode" type="NonNegativeInteger" use="optional" />
<xs:attribute name="targetsel" type="NonNegativeInteger" use="optional" />
<xs:anyAttribute processContents="lax" />
</xs:complexType>
<!-- DebugPortType -->
<xs:complexType name="DebugPortType">
<xs:sequence>
<xs:element name="jtag" type="JtagType" minOccurs="0" maxOccurs="1" />
<xs:element name="swd" type="SwdType" minOccurs="0" maxOccurs="1" />
</xs:sequence>
<xs:attribute name="__dp" type="xs:unsignedInt" use="optional" />
<xs:anyAttribute processContents="lax" />
</xs:complexType>
<!-- AccessPortV1Type -->
<xs:complexType name="AccessPortV1Type">
<xs:attribute name="__apid" type="xs:unsignedInt" use="required" />
<xs:attribute name="__dp" type="xs:unsignedInt" use="optional" />
<xs:attribute name="index" type="xs:unsignedInt" use="required" />
<xs:anyAttribute processContents="lax" />
</xs:complexType>
<!-- AccessPortV2Type -->
<xs:complexType name="AccessPortV2Type">
<xs:attribute name="__apid" type="xs:unsignedInt" use="required" />
<xs:attribute name="__dp" type="xs:unsignedInt" use="optional" />
<xs:attribute name="address" type="NonNegativeInteger" use="required" />
<xs:attribute name="parent" type="xs:unsignedInt" use="optional" />
<xs:anyAttribute processContents="lax" />
</xs:complexType>
<!-- DataPatchAccessTypeEnum enumeration type -->
<xs:simpleType name="DataPatchAccessTypeEnum">
<xs:restriction base="xs:token">
<xs:enumeration value="DP" />
<xs:enumeration value="AP" />
<xs:enumeration value="ACCESS_AP" />
<xs:enumeration value="Mem" />
</xs:restriction>
</xs:simpleType>
<!-- ExpressionType -->
<xs:simpleType name="ExpressionType">
<xs:restriction base="xs:string" />
</xs:simpleType>
<!-- DataPatchType -->
<xs:complexType name="DataPatchType">
<xs:attribute name="type" type="DataPatchAccessTypeEnum" use="optional" />
<xs:attribute name="address" type="NonNegativeInteger" use="required" />
<xs:attribute name="__dp" type="xs:unsignedInt" use="optional" />
<xs:attribute name="__ap" type="xs:unsignedInt" use="optional" />
<xs:attribute name="value" type="NonNegativeInteger" use="required" />
<xs:attribute name="mask" type="NonNegativeInteger" use="optional" />
<xs:attribute name="info" type="xs:string" use="optional" />
<xs:attribute name="__apid" type="xs:unsignedInt" use="optional" />
<xs:anyAttribute processContents="lax" />
</xs:complexType>
<!-- BlockType -->
<xs:complexType name="SequenceBlockType">
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="atomic" type="xs:boolean" use="optional" />
<xs:attribute name="info" type="xs:string" use="optional" />
<xs:anyAttribute processContents="lax" />
</xs:extension>
</xs:simpleContent>
</xs:complexType>
<!-- ControlType -->
<xs:complexType name="SequenceControlType">
<xs:sequence>
<xs:group ref="SequenceElementGroup" minOccurs="0" maxOccurs="unbounded" />
</xs:sequence>
<xs:attribute name="if" type="xs:string" use="optional" />
<xs:attribute name="while" type="ExpressionType" use="optional" />
<xs:attribute name="timeout" type="xs:unsignedInt" use="optional" />
<xs:attribute name="info" type="xs:string" use="optional" />
<xs:anyAttribute processContents="lax" />
</xs:complexType>
<!-- SequenceElementType -->
<xs:group name="SequenceElementGroup">
<xs:choice>
<xs:element name="block" type="SequenceBlockType" />
<xs:element name="control" type="SequenceControlType" />
</xs:choice>
</xs:group>
<!-- SequenceType -->
<xs:complexType name="SequenceType">
<xs:sequence>
<xs:group ref="SequenceElementGroup" minOccurs="0" maxOccurs="unbounded" />
</xs:sequence>
<xs:attribute name="name" type="xs:string" use="required" />
<xs:attribute name="Pname" type="RestrictedString" use="optional" />
<xs:attribute name="disable" type="xs:boolean" use="optional" />
<xs:attribute name="info" type="xs:string" use="optional" />
<xs:anyAttribute processContents="lax" />
</xs:complexType>
<!-- SequencesType -->
<xs:complexType name="SequencesType">
<xs:sequence>
<xs:element name="sequence" type="SequenceType" minOccurs="1" maxOccurs="unbounded" />
</xs:sequence>
<xs:anyAttribute processContents="lax" />
</xs:complexType>
<!-- DebugType -->
<xs:complexType name="DebugType">
<xs:sequence>
<xs:element name="datapatch" type="DataPatchType" minOccurs="0" maxOccurs="unbounded" />
</xs:sequence>
<xs:attribute name="__dp" type="xs:unsignedInt" use="optional" />
<xs:attribute name="__ap" type="xs:unsignedInt" use="optional"/> <!-- access port index -->
<xs:attribute name="address" type="NonNegativeInteger" use="optional"/> <!-- CPU debug block base address -->
<xs:attribute name="svd" type="xs:string" use="optional"/>
<xs:attribute name="Pname" type="RestrictedString" use="optional" />
<xs:attribute name="Punit" type="xs:unsignedInt" use="optional" />
<xs:attribute name="defaultResetSequence" type="xs:string" use="optional" />
<xs:attribute name="__apid" type="xs:unsignedInt" use="optional" />
<xs:anyAttribute processContents="lax" />
</xs:complexType>
<!-- SerialWireType -->
<xs:complexType name="SerialWireType">
<xs:anyAttribute processContents="lax" />
</xs:complexType>
<!-- TracePortType -->
<xs:complexType name="TracePortType">
<xs:attribute name="width" type="NonNegativeInteger" use="optional" />
<xs:anyAttribute processContents="skip" />
</xs:complexType>
<!-- TraceBufferType -->
<xs:complexType name="TraceBufferType">
<xs:attribute name="start" type="NonNegativeInteger" use="optional" />
<xs:attribute name="size" type="NonNegativeInteger" use="optional" />
<xs:anyAttribute processContents="skip" />
</xs:complexType>
<!-- TraceType -->
<xs:complexType name="TraceType">
<xs:sequence>
<xs:element name="serialwire" type="SerialWireType" minOccurs="0" maxOccurs="unbounded" />
<xs:element name="traceport" type="TracePortType" minOccurs="0" maxOccurs="unbounded" />
<xs:element name="tracebuffer" type="TraceBufferType" minOccurs="0" maxOccurs="unbounded" />
</xs:sequence>
<xs:attribute name="Pname" type="RestrictedString" use="optional" />
<xs:anyAttribute processContents="lax" />
</xs:complexType>
<!-- Memory Type-->
<xs:complexType name="MemoryType">
<!-- Pname identifies the processor this setting belongs to -->
<xs:attribute name="Pname" type="RestrictedString" use="optional" />
<!-- id specifies the enumerated ID of memory (deprecated in 1.4.4) -->
<xs:attribute name="id" type="MemoryIDTypeEnum" use="optional" />
<!-- name specifies an identifier being use to refer to this memory range description (added in 1.4.4) -->
<xs:attribute name="name" type="RestrictedString" use="optional" />
<!-- start specifies the base address of the memory -->
<xs:attribute name="start" type="NonNegativeInteger" use="required" />
<!-- size specifies the size of the memory -->
<xs:attribute name="size" type="NonNegativeInteger" use="required" />
<!-- access: specifies the access permissions of the memory (added in 1.4.4) -->
<xs:attribute name="access" type="AccessType" use="optional" default="r" />
<!-- alias: reference to another memory by 'name' to express that the same physical memory is mapped at another address (added in 1.4.4) -->
<xs:attribute name="alias" type="RestrictedString" use="optional" />
<!-- !!! deprecated, do not use / ignore !!! specifies whether the memory shall NOT be 0 initialized , use uninit instead-->
<xs:attribute name="init" type="xs:boolean" use="optional" default="0" />
<!-- specifies whether the memory shall not be 0 initialized -->
<xs:attribute name="uninit" type="xs:boolean" use="optional" default="0" />
<!-- specifies whether the memory is used as default by linker -->
<xs:attribute name="default" type="xs:boolean" use="optional" default="0" />
<!-- specifies whether the memory shall be used for the startup by linker -->
<xs:attribute name="startup" type="xs:boolean" use="optional" default="0" />
</xs:complexType>
<!-- Algorithm Type -->
<xs:complexType name="AlgorithmType">
<!-- only used by board descriptions with multiple mounted devices -->
<xs:attribute name="deviceIndex" type="xs:string" use="optional" />
<!-- Pname identifies the processor this setting belongs to -->
<xs:attribute name="Pname" type="RestrictedString" use="optional" />
<!-- name specifies the path and filename of the Flash Programming Algorithm -->
<xs:attribute name="name" type="xs:string" use="required" />
<!-- start specifies the base address of the memory range that gets programmed -->
<xs:attribute name="start" type="NonNegativeInteger" use="optional" />
<!-- size specifies the size of the memory range that gets programmed -->
<xs:attribute name="size" type="NonNegativeInteger" use="optional" />
<!-- RAMstart specifies the base address in RAM from where the algorithm is executed -->
<xs:attribute name="RAMstart" type="NonNegativeInteger" use="optional" />
<!-- RAMsize specifies the available RAM for executing the algorithm -->
<xs:attribute name="RAMsize" type="NonNegativeInteger" use="optional" />
<!-- if default is set the algorithm will be configured for any new project -->
<xs:attribute name="default" type="xs:boolean" use="optional" default="0" />
<!-- style attribute: specifies the programming algorithm format (added in 1.4.4) -->
<xs:attribute name="style" type="AlgorithmStyleType" use="optional" default="Keil" />
<!-- parameter attribute: parmeter passed on algorithm invocation (added in 1.4.4) -->
<xs:attribute name="parameter" type="xs:string" use="optional" />
<!-- endian attribute: specifies the endianess of the algorithm (added in 1.4.4) -->
<xs:attribute name="endian" type="DendianEnum" use="optional" default="Little-endian" />
</xs:complexType>
<!-- Flash Info Block Type -->
<xs:complexType name="FlashInfoBlockType">
<!-- count specifies the number of subsequent blocks with identical properties -->
<xs:attribute name="count" type="NonNegativeInteger" use="required"/>
<!-- size specifies the block size in bytes -->
<xs:attribute name="size" type="NonNegativeInteger" use="required"/>
<!-- arg specifies an optional argument to pass to a sequence that is part of a flash operation -->
<xs:attribute name="arg" type="NonNegativeInteger" use="optional"/>
</xs:complexType>
<!-- Flash Info Gap Type -->
<xs:complexType name="FlashInfoGapType">
<!-- size specifies the gap size in bytes -->
<xs:attribute name="size" type="NonNegativeInteger" use="required"/>
</xs:complexType>
<!-- Flash Info Element Group -->
<xs:group name="FlashInfoElementGroup">
<xs:choice>
<xs:element name="block" type="FlashInfoBlockType"/>
<xs:element name="gap" type="FlashInfoGapType"/>
</xs:choice>
</xs:group>
<!-- Flash Info Type -->
<xs:complexType name="FlashInfoType">
<xs:sequence>
<xs:group ref="FlashInfoElementGroup" minOccurs="1" maxOccurs="unbounded"/>
</xs:sequence>
<!-- name specifies the name of the flash device -->
<xs:attribute name="name" type="xs:string" use="required"/>
<!-- start specifies the base address of the flash device as mapped into target memory system -->
<xs:attribute name="start" type="NonNegativeInteger" use="required"/>
<!-- pagesize specifies the programming page size -->
<xs:attribute name="pagesize" type="NonNegativeInteger" use="required"/>
<!-- blankval specifies the expected memory value for unprogrammed address ranges -->
<xs:attribute name="blankval" type="NonNegativeInteger" use="optional"/>
<!-- filler specifies the value that a debugger uses to fill the remainder of a programming page -->
<xs:attribute name="filler" type="NonNegativeInteger" use="optional"/>
<!-- ptime specifies the timeout in milliseconds for programming a page -->
<xs:attribute name="ptime" type="xs:unsignedInt" use="optional"/>
<!-- etime specifies the timeout in milliseconds for erasing a sector -->
<xs:attribute name="etime" type="xs:unsignedInt" use="optional"/>
<!-- Pname identifies the processor this setting belongs to -->
<xs:attribute name="Pname" type="RestrictedString" use="optional"/>
</xs:complexType>
<!-- Book Type -->
<xs:complexType name="BookType">
<!-- Pname identifies the processor this setting belongs to -->
<xs:attribute name="Pname" type="RestrictedString" />
<!-- name specifies either the path in the package and the filename of the document or the link to an external web site -->
<xs:attribute name="name" type="xs:string" use="required" />
<!-- title specifies the string displayed for this document -->
<xs:attribute name="title" type="xs:string" use="required" />
<!-- if true, the vendor gives permission for this file being extracted from the pack and displayed on a web-page -->
<!-- links to web pages are assumed public -->
<xs:attribute name="public" type="xs:boolean" use="optional" default="true" />
</xs:complexType>
<!-- Brief Description Type-->
<xs:simpleType name="BriefDescType">
<xs:restriction base="xs:string">
<!-- <xs:minLength value="1" /> must not be empty -->
<!-- <xs:maxLength value="256" /> not enforced by schema -->
</xs:restriction>
</xs:simpleType>
<!-- Package Description Type-->
<xs:complexType name="PackBriefDescType">
<xs:simpleContent>
<xs:extension base="BriefDescType">
<!-- file reference to overview documentation in Markdown format in pack -->
<xs:attribute name="overview" type="xs:string" use="optional" />
</xs:extension>
</xs:simpleContent>
</xs:complexType>
<!-- Description Type-->
<xs:complexType name="DescriptionType">
<xs:simpleContent>
<xs:extension base="xs:string">
<!-- Pname identifies the processor this setting belongs to -->
<xs:attribute name="Pname" type="RestrictedString" />
</xs:extension>
</xs:simpleContent>
</xs:complexType>
<!-- Device Feature Type -->
<xs:complexType name="DeviceFeatureType">
<xs:attribute name="Pname" type="RestrictedString" use="optional" />
<!-- <xs:attribute name="type" type="DeviceFeatureTypeEnum" use="required"/> -->
<xs:attribute name="type" type="xs:string" use="required" />
<xs:attribute name="n" type="xs:string" use="optional" />
<xs:attribute name="m" type="xs:string" use="optional" />
<xs:attribute name="name" type="xs:string" use="optional" />
<!-- deprecated, only for backwards compatibility -->
<xs:attribute name="count" type="xs:int" use="optional" />
</xs:complexType>
<!-- Board Feature Type -->
<xs:complexType name="BoardFeatureType">
<!-- <xs:attribute name="type" type="BoardFeatureTypeEnum" use="required"/> -->
<xs:attribute name="type" type="xs:string" use="required" />
<xs:attribute name="n" type="xs:string" use="optional" />
<xs:attribute name="m" type="xs:string" use="optional" />
<xs:attribute name="name" type="xs:string" use="optional" />
</xs:complexType>
<!-- Environment Type -->
<xs:complexType name="EnvironmentType">
<xs:sequence>
<xs:any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
</xs:sequence>
<!-- name identifies the environment (e.g. "uv" for uVision ) this setting belongs to -->
<xs:attribute name="name" type="xs:string" use="required" />
<!-- Pname identifies the processor this setting belongs to -->
<xs:attribute name="Pname" type="RestrictedString" use="optional" />
<xs:anyAttribute></xs:anyAttribute>
</xs:complexType>
<!-- Default Device Properties Group -->
<xs:group name="DefaultDevicePropertiesGroup">
<!-- multi-core devices have unique Pname attribute. One entry per processor and level -->
<xs:choice>
<xs:element name="compile" type="CompileType" />
<xs:element name="memory" type="MemoryType" />
<xs:element name="algorithm" type="AlgorithmType" />
<xs:element name="book" type="BookType" />
<xs:element name="description" type="DescriptionType" />
<xs:element name="feature" type="DeviceFeatureType" />
<xs:element name="environment" type="EnvironmentType" />
<xs:element name="debugport" type="DebugPortType" />
<xs:element name="accessportV1" type="AccessPortV1Type" />
<xs:element name="accessportV2" type="AccessPortV2Type" />
<xs:element name="debug" type="DebugType" />
<xs:element name="trace" type="TraceType" />
<xs:element name="debugvars" type="DebugVarsType" />
<xs:element name="sequences" type="SequencesType" />
<xs:element name="flashinfo" type="FlashInfoType" />
</xs:choice>
</xs:group>
<!-- Device Properties Group -->
<xs:group name="DevicePropertiesGroup">
<!-- multi-core devices have unique Pname attribute. One entry per processor and level -->
<xs:sequence>
<!-- date of deprecation of family, subFamily, device and variant depending on position in the hierachy -->
<xs:element name="deprecated" type="xs:date" minOccurs="0"/>
<xs:element name="processor" type="ProcessorType" minOccurs="0" maxOccurs="unbounded" />
<xs:element name="debugconfig" type="DebugConfigType" minOccurs="0" maxOccurs="1" />
<xs:group ref="DefaultDevicePropertiesGroup" minOccurs="0" maxOccurs="unbounded" />
</xs:sequence>
</xs:group>
<xs:complexType name="DeviceType">
<xs:sequence>
<xs:group ref="DevicePropertiesGroup" />
<!-- Variant Level begin-->
<xs:element name="variant" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:group ref="DevicePropertiesGroup" />
</xs:sequence>
<xs:attribute name="Dvariant" type="RestrictedStringDname" use="required" />
</xs:complexType>
</xs:element>
<!-- Variant Level end -->
</xs:sequence>
<xs:attribute name="Dname" type="RestrictedStringDname" use="required" />
<!-- <xs:attributeGroup ref="DefaultDeviceAttributesGroup"/> -->
</xs:complexType>
<!-- Dcore enumeration type -->