Skip to content

Conversation

reitermarkus
Copy link
Member

Changes:

  • Add a Vector::map_interrupt function to allow mapping the Vector::Interrupt variant to e.g. a HAL's interrupt type.
  • Add a SCB::vect_pendingfunction for getting the pending vector, if any.

@reitermarkus reitermarkus requested a review from a team as a code owner May 5, 2022 11:57
@rust-highfive
Copy link

r? @thalesfragoso

(rust-highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-cortex-m labels May 5, 2022
@reitermarkus reitermarkus force-pushed the active-vector branch 3 times, most recently from ef6fb9b to fd04623 Compare May 5, 2022 12:13
@reitermarkus reitermarkus force-pushed the active-vector branch 5 times, most recently from 0b207d0 to 75c8227 Compare May 5, 2022 13:57
@reitermarkus
Copy link
Member Author

reitermarkus commented Jul 5, 2023

@thalesfragoso, ping.

@jonathanpallant
Copy link
Contributor

Sorry we dropped this one. It looks OK to me, but it's a breaking change.

@rust-embedded/arm how do we feel about breaking changes in cortex-m / cortex-m-rt 0.8?

}

impl TryFrom<i8> for Exception {
type Error = i8;
Copy link
Member

Choose a reason for hiding this comment

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

Any reason for returning the argument back on error?

@adamgreig
Copy link
Member

@rust-embedded/arm how do we feel about breaking changes in cortex-m / cortex-m-rt 0.8?

I don't have a problem with breaking changes in 0.8 per se, but breaking both c-m and c-m-rt at the same time in an inter-dependent way will make upgrading even harder than it already is, so the change would have to be really well motivated and I don't really understand the motivation here.

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.

5 participants