Add embassy-cortex-m crate.
- Move Interrupt and InterruptExecutor from `embassy` to `embassy-cortex-m`. - Move Unborrow from `embassy` to `embassy-hal-common` (nothing in `embassy` requires it anymore) - Move PeripheralMutex from `embassy-hal-common` to `embassy-cortex-m`.
This commit is contained in:
@ -16,9 +16,9 @@
|
||||
//!
|
||||
|
||||
use crate::peripherals;
|
||||
use crate::Unborrow;
|
||||
use core::marker::PhantomData;
|
||||
use core::ptr::NonNull;
|
||||
use embassy::util::Unborrow;
|
||||
use embassy_hal_common::unsafe_impl_unborrow;
|
||||
|
||||
#[cfg(feature = "_dppi")]
|
||||
|
Reference in New Issue
Block a user