From 507e13211851be12cc45c9e0a4f24e6d2912d73d Mon Sep 17 00:00:00 2001 From: Dario Nieuwenhuis Date: Thu, 23 Sep 2021 19:10:42 +0200 Subject: [PATCH] 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. --- Cargo.toml | 1 - src/lib.rs | 2 -- 2 files changed, 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 99951149b4..67564786da 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -53,7 +53,6 @@ required-features = ["__v7"] [dependencies] cortex-m-rtic-macros = { path = "macros", version = "0.5.3" } rtic-core = "0.3.0" -cortex-m-rt = "0.6.9" heapless = "0.6.1" [dependencies.cortex-m] diff --git a/src/lib.rs b/src/lib.rs index 42735383f0..2fb257192f 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -53,8 +53,6 @@ extern crate cortex_m_7 as cortex_m; use cortex_m::interrupt::InterruptNumber; 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 rtic_core::{Exclusive, Mutex};