Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validate define attribute of compile element #161

Closed
wants to merge 3 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 11 additions & 2 deletions schema/PACK.xsd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>

Check failure on line 1 in schema/PACK.xsd

View workflow job for this annotation

GitHub Actions / Validate pack schema

Schema validation failed for AlifSemiconductor.Ensemble.pdsc

Check failure on line 1 in schema/PACK.xsd

View workflow job for this annotation

GitHub Actions / Validate pack schema

Schema validation failed for Keil.FM3Basic_DFP.pdsc

Check failure on line 1 in schema/PACK.xsd

View workflow job for this annotation

GitHub Actions / Validate pack schema

Schema validation failed for Keil.Kinetis_K00_DFP.pdsc

Check failure on line 1 in schema/PACK.xsd

View workflow job for this annotation

GitHub Actions / Validate pack schema

Schema validation failed for Puya.PY32L0xx_DFP.pdsc

Check failure on line 1 in schema/PACK.xsd

View workflow job for this annotation

GitHub Actions / Validate pack schema

Schema validation failed for GigaDevice.GD32E10x_DFP.pdsc

Check failure on line 1 in schema/PACK.xsd

View workflow job for this annotation

GitHub Actions / Validate pack schema

Schema validation failed for MindMotion.MM32L3xx_DFP.pdsc

Check failure on line 1 in schema/PACK.xsd

View workflow job for this annotation

GitHub Actions / Validate pack schema

Schema validation failed for Keil.FM4_DFP.pdsc

Check failure on line 1 in schema/PACK.xsd

View workflow job for this annotation

GitHub Actions / Validate pack schema

Schema validation failed for Keil.LM3S_DFP.pdsc

Check failure on line 1 in schema/PACK.xsd

View workflow job for this annotation

GitHub Actions / Validate pack schema

Schema validation failed for MindMotion.MM32W0xxB_DFP.pdsc

Check failure on line 1 in schema/PACK.xsd

View workflow job for this annotation

GitHub Actions / Validate pack schema

Schema validation failed for MindMotion.MM32F103x8xB_DFP.pdsc
<!--

Copyright (c) 2013-2024 ARM Limited. All rights reserved.
Expand Down Expand Up @@ -399,6 +399,15 @@
</xs:restriction>
</xs:simpleType>

<!-- DefineType -->
<xs:simpleType name="DefineType">
<xs:restriction base="xs:string">
<xs:minLength value="1" />
<xs:maxLength value="128" />
<xs:pattern value="\S(.[a-zA-Z_]{1}[a-zA-Z0-9_]*)"/>
</xs:restriction>
</xs:simpleType>

<!-- AccessType (added in 1.4.4) -->
<xs:simpleType name="AccessType">
<xs:restriction base="xs:string">
Expand Down Expand Up @@ -455,9 +464,9 @@
<!-- 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" />
<xs:attribute name="define" type="DefineType" />
<!-- Processor instance specific preprocessor define (sets preprocessor define on the commandline) -->
<xs:attribute name="Pdefine" type="xs:string" />
<xs:attribute name="Pdefine" type="DefineType" />
</xs:complexType>

<!-- DebugVarsType -->
Expand Down