mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-11-27 14:04:56 +01:00
Remove cortex-m-rt dependency.
It's not needed, since the user has to supply a PAC which will already depend on a suitable cortex-m-rt version. This allows using RTIC v0.5 with either cortex-m-rt 0.6 or 0.7.
This commit is contained in:
parent
b4e54df856
commit
507e132118
2 changed files with 0 additions and 3 deletions
|
@ -53,7 +53,6 @@ required-features = ["__v7"]
|
||||||
[dependencies]
|
[dependencies]
|
||||||
cortex-m-rtic-macros = { path = "macros", version = "0.5.3" }
|
cortex-m-rtic-macros = { path = "macros", version = "0.5.3" }
|
||||||
rtic-core = "0.3.0"
|
rtic-core = "0.3.0"
|
||||||
cortex-m-rt = "0.6.9"
|
|
||||||
heapless = "0.6.1"
|
heapless = "0.6.1"
|
||||||
|
|
||||||
[dependencies.cortex-m]
|
[dependencies.cortex-m]
|
||||||
|
|
|
@ -53,8 +53,6 @@ extern crate cortex_m_7 as cortex_m;
|
||||||
use cortex_m::interrupt::InterruptNumber;
|
use cortex_m::interrupt::InterruptNumber;
|
||||||
|
|
||||||
use cortex_m::peripheral::{CBP, CPUID, DCB, DWT, FPB, FPU, ITM, MPU, NVIC, SCB, TPIU};
|
use cortex_m::peripheral::{CBP, CPUID, DCB, DWT, FPB, FPU, ITM, MPU, NVIC, SCB, TPIU};
|
||||||
#[cfg(all(not(feature = "heterogeneous"), not(feature = "homogeneous")))]
|
|
||||||
use cortex_m_rt as _; // vector table
|
|
||||||
pub use cortex_m_rtic_macros::app;
|
pub use cortex_m_rtic_macros::app;
|
||||||
pub use rtic_core::{Exclusive, Mutex};
|
pub use rtic_core::{Exclusive, Mutex};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue