diff options
| -rw-r--r-- | embassy-executor/CHANGELOG.md | 4 | ||||
| -rw-r--r-- | embassy-executor/Cargo.toml | 1 | ||||
| -rw-r--r-- | embassy-executor/src/arch/riscv32.rs | 2 |
3 files changed, 5 insertions, 2 deletions
diff --git a/embassy-executor/CHANGELOG.md b/embassy-executor/CHANGELOG.md index cade48f02..ad3e2e957 100644 --- a/embassy-executor/CHANGELOG.md +++ b/embassy-executor/CHANGELOG.md | |||
| @@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file. | |||
| 5 | The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), | 5 | The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), |
| 6 | and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | 6 | and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). |
| 7 | 7 | ||
| 8 | ## 0.3.2 | ||
| 9 | |||
| 10 | - Use `atomic-polyfill` for `riscv32` | ||
| 11 | |||
| 8 | ## 0.3.1 - 2023-11-01 | 12 | ## 0.3.1 - 2023-11-01 |
| 9 | 13 | ||
| 10 | - Fix spurious "Found waker not created by the Embassy executor" error in recent nightlies. | 14 | - Fix spurious "Found waker not created by the Embassy executor" error in recent nightlies. |
diff --git a/embassy-executor/Cargo.toml b/embassy-executor/Cargo.toml index 8e36637a3..f59d0f977 100644 --- a/embassy-executor/Cargo.toml +++ b/embassy-executor/Cargo.toml | |||
| @@ -57,7 +57,6 @@ defmt = { version = "0.3", optional = true } | |||
| 57 | log = { version = "0.4.14", optional = true } | 57 | log = { version = "0.4.14", optional = true } |
| 58 | rtos-trace = { version = "0.1.2", optional = true } | 58 | rtos-trace = { version = "0.1.2", optional = true } |
| 59 | 59 | ||
| 60 | futures-util = { version = "0.3.17", default-features = false } | ||
| 61 | embassy-macros = { version = "0.2.1", path = "../embassy-macros" } | 60 | embassy-macros = { version = "0.2.1", path = "../embassy-macros" } |
| 62 | embassy-time = { version = "0.1.5", path = "../embassy-time", optional = true} | 61 | embassy-time = { version = "0.1.5", path = "../embassy-time", optional = true} |
| 63 | atomic-polyfill = "1.0.1" | 62 | atomic-polyfill = "1.0.1" |
diff --git a/embassy-executor/src/arch/riscv32.rs b/embassy-executor/src/arch/riscv32.rs index 40c6877e2..e5c0ff2ec 100644 --- a/embassy-executor/src/arch/riscv32.rs +++ b/embassy-executor/src/arch/riscv32.rs | |||
| @@ -6,8 +6,8 @@ pub use thread::*; | |||
| 6 | #[cfg(feature = "executor-thread")] | 6 | #[cfg(feature = "executor-thread")] |
| 7 | mod thread { | 7 | mod thread { |
| 8 | use core::marker::PhantomData; | 8 | use core::marker::PhantomData; |
| 9 | use core::sync::atomic::{AtomicBool, Ordering}; | ||
| 10 | 9 | ||
| 10 | use atomic_polyfill::{AtomicBool, Ordering}; | ||
| 11 | #[cfg(feature = "nightly")] | 11 | #[cfg(feature = "nightly")] |
| 12 | pub use embassy_macros::main_riscv as main; | 12 | pub use embassy_macros::main_riscv as main; |
| 13 | 13 | ||
