Skip to content

arch: arm: cortex_m: Implement USE_SWITCH support for armv8-m.mainline (and some other changes) #85080

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

Closed
wants to merge 3 commits into from

Conversation

ithinuel
Copy link
Contributor

@ithinuel ithinuel commented Feb 3, 2025

This Draft implements initial USE_SWITCH support for armv8-m.mainline.

It is unlikely to be correct. This PR also include changes that would be better delivered through independent PR.

This Draft PR aims at collecting feedback and advice as to how/where to implement the required changeds.

This commit updates cortex_m related code to align it with the rules from
.clang-format. This is done to simplify future changes in these files as
we are about to implement use_switch support.

Some rules conflict with checkpatch and therefore some small part of the
code locally disable clang-format.

Signed-off-by: Wilfried Chauveau <wilfried.chauveau@arm.com>
This adds a variant to an521 limiting features to that shared by both
cores.

Signed-off-by: Wilfried Chauveau <wilfried.chauveau@arm.com>
This adds preliminary support for USE_SWITCH scheduler on the
armv8-m.main architecture.

Signed-off-by: Wilfried Chauveau <wilfried.chauveau@arm.com>
@ithinuel
Copy link
Contributor Author

ithinuel commented Feb 5, 2025

Closing if favor of #85248, will provide feedback over there.

@ithinuel ithinuel closed this Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant