aboutsummaryrefslogtreecommitdiff
path: root/check-blobs.sh
diff options
context:
space:
mode:
authorGravatar bors[bot] <26634292+bors[bot]@users.noreply.github.com> 2020-07-22 07:12:25 +0000
committerGravatar GitHub <noreply@github.com> 2020-07-22 07:12:25 +0000
commit9dee813277e200f431d0f63522fafe327cdb5034 (patch)
treec5c70526f9d7a84db4352ad9f423c49a00c8d5fb /check-blobs.sh
parent498a7a12529bc652727afa5768f4bd5357991401 (diff)
parenta83e5f342711ad9436b95623b6326e58350160ab (diff)
downloadcortex-m-9dee813277e200f431d0f63522fafe327cdb5034.tar.gz
cortex-m-9dee813277e200f431d0f63522fafe327cdb5034.tar.zst
cortex-m-9dee813277e200f431d0f63522fafe327cdb5034.zip
Merge #241
241: Add new InterruptNumber trait r=therealprof a=adamgreig This is a first go at the new trait needed for https://github.com/rust-embedded/svd2rust/pull/455 since we removed `Nr` from bare-metal. In this case I've written it as `unsafe trait InterruptNumber: Into<u16>` rather than providing a conversion method inside the trait; I think this is neat and idiomatic but please correct me if there's a reason to not do it like this. [Here's](https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=4f2f8b9604b5a62298f9907780d844c7) a playground link showing an example implementation. Co-authored-by: Adam Greig <adam@adamgreig.com>
Diffstat (limited to 'check-blobs.sh')
0 files changed, 0 insertions, 0 deletions