diff options
author | 2021-01-19 19:28:15 +0000 | |
---|---|---|
committer | 2021-01-19 19:28:15 +0000 | |
commit | 6cbf98ff70823b152eb54ce846f73eddbd8bf82c (patch) | |
tree | 4dfe07b8ef461f3c355b090a8fb1850016da3972 | |
parent | e208b044158ff275e5164ea868702d96192f642a (diff) | |
parent | 503366c791bc6a323c3545aee7a914e59036f99d (diff) | |
download | rtic-6cbf98ff70823b152eb54ce846f73eddbd8bf82c.tar.gz rtic-6cbf98ff70823b152eb54ce846f73eddbd8bf82c.tar.zst rtic-6cbf98ff70823b152eb54ce846f73eddbd8bf82c.zip |
Merge #437
437: Bump cortex-m to 0.7.0 r=korken89 a=nickray
Co-authored-by: Nicolas Stalder <n@stalder.io>
-rw-r--r-- | Cargo.toml | 5 | ||||
-rw-r--r-- | src/lib.rs | 4 |
2 files changed, 6 insertions, 3 deletions
@@ -55,7 +55,7 @@ name = "double_schedule" required-features = ["__v7"] [dependencies] -cortex-m = "0.6.2" +cortex-m = "0.7.0" cortex-m-rtic-macros = { path = "macros", version = "0.6.0-alpha.0" } rtic-core = "0.3.1" heapless = "0.5.0" @@ -105,3 +105,6 @@ debug = false debug-assertions = false opt-level = 0 overflow-checks = false + +[patch.crates-io] +lm3s6965 = { git = "https://github.com/japaric/lm3s6965" } @@ -38,7 +38,7 @@ use core::ops::Sub; use cortex_m::{ - interrupt::Nr, + interrupt::InterruptNumber, peripheral::{CBP, CPUID, DCB, DWT, FPB, FPU, ITM, MPU, NVIC, SCB, TPIU}, }; pub use cortex_m_rtic_macros::app; @@ -158,7 +158,7 @@ pub trait Monotonic { /// [`NVIC::pend`](../cortex_m/peripheral/struct.NVIC.html#method.pend) pub fn pend<I>(interrupt: I) where - I: Nr, + I: InterruptNumber, { NVIC::pend(interrupt) } |