Skip to content

Cherrypick old cortex-m PRs #606

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

Open
wants to merge 16 commits into
base: master
Choose a base branch
from
Open

Cherrypick old cortex-m PRs #606

wants to merge 16 commits into from

Conversation

adamgreig
Copy link
Member

PRs backported:

PRs that we should still backport in this PR but I haven't got to yet:

PRs that are breaking and we will probably want one day but can't include in 0.7.x:

Besides those listed above I don't think there are any PRs to the old cortex-m master branch between when we split it to 0.7.x (#375) and when we recently reverted it (#605).

Abrahamh08 and others added 12 commits August 6, 2025 00:36
Optimize critical_section: use MSR instruction
422: Add ITNS field to NVIC peripheral r=adamgreig a=sphw

This PR adds the ITNS (Interrupt Target Non-secure) field to the NIVC peripheral. This field is required to write a boot loader for TrustZone-M devices, since it allows the user to use interrupts from non-secure states.

I believe I have maintained the correct padding for the next fields, but I have not tested these changes on a non M33 device. So a close review and test would be appreciated.  

Co-authored-by: Sascha Wise <[email protected]>
singleton: forward attributes
451: Small critical-section-related fixes. r=adamgreig a=Dirbaio

See individual commit messages.

Co-authored-by: Dario Nieuwenhuis <[email protected]>
@adamgreig adamgreig force-pushed the c-m-cherrypick branch 3 times, most recently from 24c3df2 to 7bb5dbd Compare August 6, 2025 00:51
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.

6 participants