Skip to content

deprecate interrupt::InterruptNumber and remove bare_metal::interrupt::Nr blanket impl - #704

Open
robamu wants to merge 1 commit into
mainfrom
deprecate-old-interrupt-number
Open

robamu wants to merge 1 commit into
mainfrom
deprecate-old-interrupt-number

Conversation

@robamu

@robamu robamu commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

Alternative to #654 which is less breaking. It is still a breaking change though.

  • Mark the interrupt::InterruptNumber trait as deprecated to encourage PACs/HALs to switch to new trait
  • Remove bare_metal::interrupt::Nr blanket implementation to allow removal of the dependency
  • NVIC module still uses old trait to avoid breaking change
  • Add blanket implementation of trait for all impelmentors of new trait.

@robamu robamu changed the title deprecate interrupt::InterruptNumber deprecate interrupt::InterruptNumber and remove bare_metal::interrupt::Nr blanket impl Oct 28, 2026
@robamu
robamu force-pushed the deprecate-old-interrupt-number branch 3 times, most recently from cb63454 to 94f018a Compare October 28, 2026 17:33
@robamu
robamu requested review from adamgreig and thejpster October 28, 2026 17:34
@robamu
robamu force-pushed the deprecate-old-interrupt-number branch from 94f018a to 4580fec Compare October 28, 2026 17:37
- Mark the `interrupt::InterruptNumber` trait as deprecated to encourage
  PACs/HALs to switch to new trait
- Remove `bare_metal::interrupt::Nr` blanket implementation to allow
  removal of the dependency
- NVIC module still uses old trait to avoid breaking change
- Add blanket implementation of trait for all implementors of new trait.
@robamu
robamu force-pushed the deprecate-old-interrupt-number branch from 4580fec to 27b89ff Compare October 28, 2026 17:40
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