Hello,
We have started using the CMSIS standard for distribution of some Software Components. For this we use the CMSIS conditions to ensure the correct components and their files are extracted from our CMSIS Pack files.
However one issue we have noticed is that there is no CMSIS condition attribute for "board" (e,g. "Dboard"). Currently we are not using the "BSP" section of CMSIS for describing our boards, but simply our Packs contain only software components. Then those components use conditions to filter according to compiler, device, and so on. (our packs intend to support multiple boards, and the conditions are intended to filter against the selected board for the current project). What we really could do with is a 'board' condition attribute too.
Is this likely to be introduced? Perhaps this is not the intended behaviour?
ThanksJames
Hello James,
thanks for the explanation. At the moment, the only way to do this is using a bundle. You can then use the Cbundle in a condition to filter for a specific board. In the tutorial section of the documentation, there is an example for creating a BSP bundle: Pack with Board Support. Apart from that, we will consider your request for the next version of CMSIS.
Kind regards,
Christopher
Hi Christopher,
Thanks for your reply. Unfortunately I don't think we can use bundle at the moment. Currently we only parse the Components and Conditions sections (we kept things simple, and based on an earlier parser) and also I think our colleagues might not be keen to change the Pack files that have already been developed. I think this would be some reasonable work for us.
However if you would consider the addition of a board condition in the next release it would be much appreciated.
Thank you.
Best regardsJames
I have already forwarded your request internally and it will be reviewed for the next release.
Kind regards and have a nice weekend,