-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Update CMSIS to 5.8.0 #14900
Update CMSIS to 5.8.0 #14900
Conversation
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.
I am able to compile a simple test now if I comment out rtx_def, so at least something
* | ||
* ----------------------------------------------------------------------------- | ||
*/ | ||
|
||
|
||
.syntax unified | ||
|
||
#include "rtx_def.h" |
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.
this is causing a problem as we somehow get some C/C++ headers to this .S file and it just errors with strange errors.
We ignored the inclusion previously because of this, will need to check how to fix it this time.
2902af9
to
14beb29
Compare
@@ -22,7 +22,7 @@ | |||
* limitations under the License. | |||
*/ | |||
|
|||
#if !FEATURE_TFM | |||
#if !TARGET_TFM |
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.
this one should be reverted as well, will check how it got in
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.
removed
14beb29
to
551bceb
Compare
@0xc0170, thank you for your changes. |
CI started |
|
* Title: RTX derived definitions | ||
* | ||
* ----------------------------------------------------------------------------- | ||
*/ |
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.
This file failed CI due to missing SPDX header
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.
I am reporting this upstream, it should be fixed asap. I assume as this is already released and new version might take some time, we can patch this file manually. I'll check.
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.
Fix for upstream ARM-software/CMSIS_5#1238
Jenkins CI Test : ❌ FAILEDBuild Number: 1 | 🔒 Jenkins CI Job | 🌐 Logs & ArtifactsCLICK for Detailed Summary
|
9639d83
to
2b3bb8b
Compare
I rebased instead of fixup 🤦 I patched rtx_def, we had similar patch in place but they introduced this via the new version. I provided details in commit msg. I already asked cmsis team for clarification and will create an issue once I get details what should be fixed to get this fix upstream or our codebase needs some refactoring. Commit 89d9642 |
@0xc0170, thank you for your changes. |
I started another round of tests. I can locally build Gcc Arm without errors (I assume TFM related things might have issues or FPU - both things were patched previously in Mbed OS, I reverted some patches so lets see what we still need or do not need). ARMClang reports an error with one overload, I am checking it now. |
I fixed also locally ARMClang (removing old compat header, we should use CMSIS functionality instead) |
Aborting the current build and reruning CI |
188b73f
to
5e29db6
Compare
Fixed both |
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.
LGTM. I guess remaining work is to update the patch list in cmsis_importer.json with final hashes.
See specific SHA for details.
SHAs added to importer. I'll rerun CI |
Jenkins CI Test : ✔️ SUCCESSBuild Number: 12 | 🔒 Jenkins CI Job | 🌐 Logs & ArtifactsCLICK for Detailed Summary
|
Lets get this in and monitor nightly over the weekend. |
This PR has dropped IAR support.... again.... :-( |
Summary of changes
Update CMSIS to 5.8.0. It brings lot of fixes, see https://github.com/ARM-software/CMSIS_5/releases/tag/5.8.0
We again had some breakages, mainly it was arm compat (workaround implemented).
Impact of changes
Migration actions required
Documentation
Pull request type
Test results
Reviewers