-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check interrupt existence in the caller's scope
This updates our `interrupt` macro, adapting it from a newer iteration of `cortex-m-rt`'s. In particular, this makes generation of the sibling `vector` module unneeded, since the check of whether the named interrupt exists is done via checking a newly exported `Interrupt` enum in the PAC (we use the path `::avr_device::Interrupt`, which does not require avr_device to be imported in the caller's scope). There is one downside, though: we can't enable more than one MCU feature, because that causes duplicate items. As such, docs.rs now only builds for the `atmega328p`.
- Loading branch information
1 parent
f4934c6
commit 9a99870
Showing
7 changed files
with
162 additions
and
170 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.