-
Notifications
You must be signed in to change notification settings - Fork 3k
Update CMSIS to 5.5.1 #10366
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.5.1 #10366
Conversation
Having them in cmsis causes grief when attempting to update CMSIS with the importer script.
(cherry picked from commit b882548)
(cherry picked from commit 1752803)
(cherry picked from commit 6a6e3ac)
- TF-M v8m secure-side implements their own TZ context APIs so need to avoid building the Mbed implementation. (cherry picked from commit d3f7abd)
In case of ARM compiler, idle and timer thread stack though assigned to `.bss.os` section since not zero initialized are part of `data` section. In this commit, we are moving stacks of idle and timer thread to bss section and thereby saving ROM space. (cherry picked from commit ba92372)
CMSIS repo does not support pre-processor defines, hence multiple assembly files are added for secure/non-secure and floating point tools. Mbed OS tools support assembly file pre-processing, but the build system does not support multiple assembly files for each target, hence updating the assembly files. 1. Patch RTX so irq_cm4f.S files work with no FPU targets 2. Patch RTX so irq_armv8mml.S files to work with and without FPU 2. Patch RTX so irq_armv8mml.S and irq_armv8mbl.S files to work with secure and non-secure builds (cherry picked from commit 0946627)
@kjbracey-arm, thank you for your changes. |
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.
Thanks for updating CMSIS, looks good to me 👍
while we wait for some additional reviews, CI scheduled |
Test run: FAILEDSummary: 1 of 11 test jobs failed Failed test jobs:
|
Restarting test, both show success in logs |
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.
Looks fine to me! Nice work!
Description
Import CMSIS 5.5.1.
Replaces #10148, which was cherry-picking just one RTX update.
Slight changes made to the importer JSON, and fault handler/exception code moved from
cmsis
toplatform
, as its presence incmsis
complicates the import process. (Was moved fromrtos
toplatform
early in first version of #8332, then was moved tocmsis
on the grounds that "core specific code is in CMSIS", but it doesn't make sense to mix our own code with the CMSIS code for maintenance purposes).Pull request type
Reviewers
@deepikabhavnani, @SenRamakri, @bulislaw, @c1728p9
Release Notes