-
Notifications
You must be signed in to change notification settings - Fork 22
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
Add environment
element at boards
and components
level
#230
Comments
@jkrech, @ReinhardKeil, what do you think? |
@silviooliva, thanks for the systematic review of the tag. Adding more places for environment specific information adds flexibility to capture additional tool dependent meta information in the package description. |
@jkrech, I understand your concern, even if the presence of the mandatory elements (and their mandatory attributes) in the standard should provide the set of information ensuring that a pack is working in tools ignoring the meta information. |
@jkrech I get your concern. Up to each tool owner to check the reusability of its own packs. But let's say that, even if a pack becomes "not portable", it gives at least visibility for the standard. In other words, as long as the standard is not able to cover all specificities, we need those entry points to keep using it. At least that's my feeling. |
Understood. @silviooliva I did not mean to say that you should not prepare the PR adding |
Commit related to issue Open-CMSIS-Pack#230. Signed-off-by: Silvio Lucio Oliva <[email protected]>
@silviooliva: Thanks for the PR. We had previously added
Are we certain we need both? |
Commit related to issue #230. --------- Signed-off-by: Silvio Lucio Oliva <[email protected]>
The
environment
element is used in the standard atdevice
andpart
level.It may contains child elements that are specific for a development tool (identified by the
environment
's attribute name). The structure of an element inside theenvironment
is not specified in the xsd schema file, which gives the development tool full control of the element usage.So far, the
environment
can be used in elements:/package/devices/family
/package/devices/family/device
/package/devices/family/device/variant
/package/devices/family/subfamily
/package/devices/family/subfamily/device
/package/devices/family/subfamily/device/variant
/package/parts/part
To me, it should be introduced also at
boards
andcomponents
level since, also for these elements, there could be the need to define some tool-specific information.So my proposal is to extend the standard introducing the
environment
as (optional) child element of the following elements:/package/components/bundle
/package/components/bundle/component
/package/components/component
/package/boards/board
The text was updated successfully, but these errors were encountered: