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:
		| @@ -1,10 +1,10 @@ | ||||
| #![macro_use] | ||||
|  | ||||
| use crate::interrupt::{Interrupt, InterruptExt}; | ||||
| use crate::Unborrow; | ||||
| use core::marker::PhantomData; | ||||
| use core::ptr; | ||||
| use core::task::Poll; | ||||
| use embassy::interrupt::{Interrupt, InterruptExt}; | ||||
| use embassy::util::Unborrow; | ||||
| use embassy_hal_common::drop::DropBomb; | ||||
| use embassy_hal_common::unborrow; | ||||
| use futures::future::poll_fn; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user