-
Notifications
You must be signed in to change notification settings - Fork 6.9k
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
Module for CMSIS v6 #77220
Comments
Why can't https://github.com/zephyrproject-rtos/cmsis be updated to version 6 and pulled in? Why do we need a completely duplicate module of the same thing and to pull it in twice? |
Because it's not there for TF-M. TF-M used to push the CMSIS sources to their repository. The existing CMSIS repository is used by/for something else. |
It's for CMSIS in general for zephyr, so if it can be updated to version 6 then tf-m can use it? |
@stephanosio can you update cmsis to version 6? |
Yes from TF-M's point of view, it doesn't matter. I just haven't dug into whether the already existing CMSIS module could be updated, assuming that no. |
ping @stephanosio |
For updating the existing CMSIS
Unfortunately, I do not have the bandwidth for the above tasks at this time. Since Arm is now an active member of the project, I would prefer if someone from Arm takes over the maintainership of this module (maybe @ithinuel?). Alternatively, we can create a new module for CMSIS-Core v6 ( |
Some parts of CMSIS-Core require soc specific headers and definitions. IMHO, I think it’d be better to get a fork of the upstream repository to ease tracking of the history. We have a pretty limited bandwidth so I cannot give a timeframe for when we would be able to implement this. However, I’ll be happy to help with reviews 👍 |
This issue has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this issue will automatically be closed in 14 days. Note, that you can always re-open a closed issue at any time. |
This is needed for IAR support or https://github.com/ARM-software/CMSIS_6/pull/102/files cherry-picked into cmsis_5 module. |
Since I've wanted use clang from arm 19.1.1 on Renesas ek_ra8m1 devboard and hit missing cmsis5 include ( After replacing CMSIS v5 with v6 I've built and run few examples successfully for While clang needs some changes (in Extent of changes that was needed was adding: If other hals don't use any of header symbols that have changed (there is small list of few struct members) From clang support perspective would be nice to have CMSIS v6 since it started to distinguish gcc/clang differences rather than treating clang as if it was gcc compatible. Maybe starting at some point on per hal basis would be a good idea? |
Origin
https://github.com/ARM-software/CMSIS_6
Purpose
At version 2.1.0 TF-M switched to using CMSIS v6. It's hosted by Arm in a different repository than CMSIS v5.
Mode of integration
As a module. Name suggestion: CMSISv6
Also, the CMSIS v5 module could be considered for renaming from cmsis to specify the version.
Maintainership
(based on the current
West project: cmsis
entry)Description
A quick fix was made right before the 3.7.0 release for TF-M: pushing the CMSIS v6 sources to Zephyr's fork of TF-M repository (#76094).
The proper way is to fork the CMSIS v6 repository and make it a new module.
Revision
d0c460c169
License
Apache-2.0
The text was updated successfully, but these errors were encountered: