-
Notifications
You must be signed in to change notification settings - Fork 65
platform: ext: add local copy of CMSIS v6 files #109
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
platform: ext: add local copy of CMSIS v6 files #109
Conversation
This adds all the files (minus `.git*` and `CMSIS/Documentation/` for saving on size) from the CMSIS v6 repository (https://github.com/ARM-software/CMSIS_6) at the revision `d0c460c169` as defined in `lib/ext/cmsis/CMakeLists.txt`. The patch `lib/ext/cmsis/0001-iar-Add-missing-v8.1m-check` is applied on top. This is because as of v2.1.0 TF-M has updated to CMSIS v6 and switched from hosting the sources to depending on the upstream repository, cloning it at build time. To prevent a download from happening during the build, CMSIS v6 sources are pushed and the CMSIS_PATH CMake variable is used to point to them. Signed-off-by: Tomi Fontanilles <tomi.fontanilles@nordicsemi.no>
e1bca77 to
9695866
Compare
ithinuel
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It doesn't seem to be an appropriate answer for the mid/long term but considering it's criticality for the release I'm giving it a ✅
Yeah, it can then be reverted and the proper solution implemented. |
d3zd3z
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Two concerns here:
- Why are we pulling this into trusted-firmware-m instead of creating a module for cmsis 6? We're already pulling in cmsis_5.
- We need approval from the TSC in order to pull in additional external code.
Because this is a quick fix that was suggested to get it in 3.7. Indeed creating a module is the proper way and shall be done. I don't know if people will accept creating a new module directly and integrating it into 3.7, which is why this quick fix. |
d3zd3z
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No objections from the TSC
This adds all the files (minus
.git*andCMSIS/Documentation/for saving on size) from the CMSIS v6 repository(https://github.com/ARM-software/CMSIS_6) at the revision
d0c460c169as defined inlib/ext/cmsis/CMakeLists.txt.The patch
lib/ext/cmsis/0001-iar-Add-missing-v8.1m-checkis applied on top.This is because as of v2.1.0 TF-M has updated to CMSIS v6 and switched from hosting the sources to depending on the upstream repository, cloning it at build time.
To prevent a download from happening during the build, CMSIS v6 sources are pushed and the CMSIS_PATH CMake variable is used to point to them.