Closed fred-r closed 1 year ago
Hi Frederic,
You can reuse what is available for components. If you want to match a family, you have to go through Dname
condition attribute, as Dfamily
is deprecated. For example: <accept Dname="STM32F4*"/>
Indeed, what you highlight in your link is dedicated to device description.
@mdortel-stm thanks a lot for responding.
@fred-r the <feature>
/html/pdsc_family_pg.html#element_feature) is used for display/search purposes rather than for component/file condition purposes.
see an example here, where this information is displayed: https://www.keil.com/dd2/stmicroelectronics/stm32f407ietx/
or here you can even search devices based on features:
https://developer.arm.com/tools-and-software/embedded/cmsis/cmsis-search
Does that answer your question?
@fred-r can we close this issue or do you expect any changes?
@jkrech : as you confirmed that we will be able to put conditions on the HW description, this is fine for me.
In the current spec, the conditions have a limited scope.
My use-case is:
I planned to use the feature: https://open-cmsis-pack.github.io/Open-CMSIS-Pack-Spec/main/html/pdsc_family_pg.html#element_feature
But it is unclear to me how precise I can be here and I cannot use it in conditions.