mirror of
https://github.com/rtic-rs/rtic.git
synced 2025-12-16 12:55:23 +01:00
esp32c3 support
This commit is contained in:
parent
3b8d787a91
commit
2b2208e217
27 changed files with 525 additions and 60 deletions
|
|
@ -13,4 +13,8 @@ For each category, *Added*, *Changed*, *Fixed* add new entries at the top!
|
|||
|
||||
### Fixed
|
||||
|
||||
## [v1.0.1]
|
||||
|
||||
- `portable-atomic` used as a drop in replacement for `core::sync::atomic` in code and macros. `portable-atomic` imported with `default-features = false`, as we do not require CAS.
|
||||
|
||||
## [v1.0.0] - 2023-05-31
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "rtic-common"
|
||||
version = "1.0.0"
|
||||
version = "1.0.1"
|
||||
|
||||
edition = "2021"
|
||||
authors = [
|
||||
|
|
@ -18,6 +18,7 @@ license = "MIT OR Apache-2.0"
|
|||
|
||||
[dependencies]
|
||||
critical-section = "1"
|
||||
portable-atomic = { version = "1", default-features = false }
|
||||
|
||||
[features]
|
||||
default = []
|
||||
|
|
|
|||
|
|
@ -3,9 +3,9 @@
|
|||
use core::marker::PhantomPinned;
|
||||
use core::pin::Pin;
|
||||
use core::ptr::null_mut;
|
||||
use core::sync::atomic::{AtomicBool, AtomicPtr, Ordering};
|
||||
use core::task::Waker;
|
||||
use critical_section as cs;
|
||||
use portable_atomic::{AtomicBool, AtomicPtr, Ordering};
|
||||
|
||||
/// A helper definition of a wait queue.
|
||||
pub type WaitQueue = DoublyLinkedList<Waker>;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue