mirror of
https://github.com/rtic-rs/rtic.git
synced 2025-12-19 06:15:45 +01:00
Brutally yank out multicore
This commit is contained in:
parent
c5e6d1fa49
commit
76cf14c520
30 changed files with 704 additions and 739 deletions
|
|
@ -12,14 +12,12 @@ pub use cortex_m::{
|
|||
peripheral::{scb::SystemHandler, syst::SystClkSource, DWT, NVIC},
|
||||
Peripherals,
|
||||
};
|
||||
use heapless::spsc::{MultiCore, SingleCore};
|
||||
use heapless::spsc::SingleCore;
|
||||
pub use heapless::{consts, i::Queue as iQueue, spsc::Queue};
|
||||
pub use heapless::{i::BinaryHeap as iBinaryHeap, BinaryHeap};
|
||||
#[cfg(feature = "heterogeneous")]
|
||||
pub use microamp::shared;
|
||||
|
||||
pub type MCFQ<N> = Queue<u8, N, u8, MultiCore>;
|
||||
pub type MCRQ<T, N> = Queue<(T, u8), N, u8, MultiCore>;
|
||||
pub type SCFQ<N> = Queue<u8, N, u8, SingleCore>;
|
||||
pub type SCRQ<T, N> = Queue<(T, u8), N, u8, SingleCore>;
|
||||
|
||||
|
|
@ -108,13 +106,6 @@ where
|
|||
{
|
||||
}
|
||||
|
||||
#[inline(always)]
|
||||
pub fn assert_multicore<T>()
|
||||
where
|
||||
T: super::MultiCore,
|
||||
{
|
||||
}
|
||||
|
||||
#[cfg(armv7m)]
|
||||
#[inline(always)]
|
||||
pub unsafe fn lock<T, R>(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue