Skip to content

Add ITNS field to NVIC peripheral #422

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

Merged
merged 2 commits into from
Nov 12, 2022

Conversation

sphw
Copy link
Contributor

@sphw sphw commented Feb 16, 2022

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.

@sphw sphw requested a review from a team as a code owner February 16, 2022 03:22
@rust-highfive
Copy link

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @thalesfragoso (or someone else) soon.

Please see the contribution instructions for more information.

@rust-highfive rust-highfive added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-cortex-m labels Feb 16, 2022
@sphw sphw requested a review from adamgreig March 15, 2022 15:57
@sphw sphw force-pushed the feature/add-itns-nvic branch from 2ffb8d0 to 9bff0c8 Compare July 16, 2022 15:42
@sphw sphw requested a review from reitermarkus July 16, 2022 15:42
@macthestack
Copy link

Nice to see this! i was just about to submit a PR myself until I saw this.

Hopefully someone picks it up :)

Copy link
Member

@adamgreig adamgreig left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the reminder @macthestack! This looks good now, sorry for the wait after the first round of reviews @sphw!

bors r+

@bors
Copy link
Contributor

bors bot commented Nov 12, 2022

@bors bors bot merged commit 1a21591 into rust-embedded:master Nov 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-cortex-m
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants