-
Notifications
You must be signed in to change notification settings - Fork 51
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
Definition mismatch between Cvariant in pdsc and component in cproject yml file #600
Comments
@jeromecoutant this is something to discuss for all parts of the componentID. What exact requirements do you have/see?
|
Maybe space ? edit: and "/" ? ex:
|
Analyzing current package descriptions listed in https://www.keil.com/pack/index.pidx we find in:
In conditions we additionally find No leading:
If we limit the use of
because once Csub starts any further |
@jkrech can we come to a conclusion here? Are there changes suggested? What exactly should change? |
Both the Pack Schema File (https://github.com/Open-CMSIS-Pack/Open-CMSIS-Pack-Spec/tree/main/schema) as well as the csolution, cproject, clayer json schema files (https://github.com/Open-CMSIS-Pack/devtools/tree/main/tools/projmgr/schemas) shall be refined to restrict the allowed characters in componentIDs and to align on the exact same restrictions.
|
@soumeh01, could you please check the restrictions now present in PACK.xsd and match them with the componentID schema for the yml files so we are consistent. |
Will be part of cmsis-toolbox 1.5.0 |
fixed in CMSIS-Toolbox 1.5.0 |
From https://github.com/Open-CMSIS-Pack/Open-CMSIS-Pack-Spec/blob/main/schema/PACK.xsd#L329
Seems that variant name could be a string "with no condition"
In https://github.com/Open-CMSIS-Pack/devtools/blob/main/tools/projmgr/schemas/common.schema.json#L340
component and variant name are not "full" string and doesn't accept "(" for example
The text was updated successfully, but these errors were encountered: