diff options
| author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2022-06-12 19:49:15 +0000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-06-12 19:49:15 +0000 |
| commit | fff0a03fe0f9e84209dd40fd8f93790871d03d75 (patch) | |
| tree | f0d0d0adf0731fb7326f34f8adaec3676bbe22c7 /examples/stm32f3/src | |
| parent | 6b3499a5c831e6deb1c8550efdfe7601fa4c6e56 (diff) | |
| parent | 5085100df2845745f13715669c18a785a374a879 (diff) | |
Merge #806
806: Add embassy-cortex-m crate. r=Dirbaio a=Dirbaio
- 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`.
Co-authored-by: Dario Nieuwenhuis <[email protected]>
Diffstat (limited to 'examples/stm32f3/src')
| -rw-r--r-- | examples/stm32f3/src/bin/multiprio.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/stm32f3/src/bin/multiprio.rs b/examples/stm32f3/src/bin/multiprio.rs index 02380de72..684295609 100644 --- a/examples/stm32f3/src/bin/multiprio.rs +++ b/examples/stm32f3/src/bin/multiprio.rs | |||
| @@ -62,11 +62,11 @@ use defmt_rtt as _; // global logger | |||
| 62 | use panic_probe as _; | 62 | use panic_probe as _; |
| 63 | 63 | ||
| 64 | use cortex_m_rt::entry; | 64 | use cortex_m_rt::entry; |
| 65 | use embassy::executor::{Executor, InterruptExecutor}; | ||
| 66 | use embassy::interrupt::InterruptExt; | ||
| 67 | use embassy::time::{Duration, Instant, Timer}; | 65 | use embassy::time::{Duration, Instant, Timer}; |
| 68 | use embassy::util::Forever; | 66 | use embassy::util::Forever; |
| 67 | use embassy_stm32::executor::{Executor, InterruptExecutor}; | ||
| 69 | use embassy_stm32::interrupt; | 68 | use embassy_stm32::interrupt; |
| 69 | use embassy_stm32::interrupt::InterruptExt; | ||
| 70 | 70 | ||
| 71 | #[embassy::task] | 71 | #[embassy::task] |
| 72 | async fn run_high() { | 72 | async fn run_high() { |
