diff options
| author | Dario Nieuwenhuis <[email protected]> | 2022-06-11 05:08:57 +0200 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2022-06-12 21:45:38 +0200 |
| commit | 5085100df2845745f13715669c18a785a374a879 (patch) | |
| tree | d24d264b23753d628e58fa3b92da77a78e28ce35 /embassy-lora/src | |
| parent | db344c2bda55bd0352a43720788185cc4d3a420e (diff) | |
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`.
Diffstat (limited to 'embassy-lora/src')
| -rw-r--r-- | embassy-lora/src/stm32wl/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/embassy-lora/src/stm32wl/mod.rs b/embassy-lora/src/stm32wl/mod.rs index 7dc750cf9..b5ce278dc 100644 --- a/embassy-lora/src/stm32wl/mod.rs +++ b/embassy-lora/src/stm32wl/mod.rs | |||
| @@ -2,9 +2,9 @@ | |||
| 2 | use core::future::Future; | 2 | use core::future::Future; |
| 3 | use core::mem::MaybeUninit; | 3 | use core::mem::MaybeUninit; |
| 4 | use embassy::channel::signal::Signal; | 4 | use embassy::channel::signal::Signal; |
| 5 | use embassy::interrupt::InterruptExt; | ||
| 6 | use embassy::util::Unborrow; | ||
| 7 | use embassy_hal_common::unborrow; | 5 | use embassy_hal_common::unborrow; |
| 6 | use embassy_stm32::interrupt::InterruptExt; | ||
| 7 | use embassy_stm32::Unborrow; | ||
| 8 | use embassy_stm32::{ | 8 | use embassy_stm32::{ |
| 9 | dma::NoDma, | 9 | dma::NoDma, |
| 10 | gpio::{AnyPin, Output}, | 10 | gpio::{AnyPin, Output}, |
