mirror of
https://github.com/rust-embedded/heapless.git
synced 2025-10-02 06:50:32 +00:00
Merge pull request #241 from japaric/arc-thumbv6
Allow arc pool on thumbv6
This commit is contained in:
commit
95f122a0d9
@ -17,6 +17,7 @@ pub mod arc;
|
|||||||
/// Instantiates a pool as a global singleton
|
/// Instantiates a pool as a global singleton
|
||||||
// NOTE(any(test)) makes testing easier (no need to enable Cargo features for testing)
|
// NOTE(any(test)) makes testing easier (no need to enable Cargo features for testing)
|
||||||
#[cfg(any(
|
#[cfg(any(
|
||||||
|
armv6m,
|
||||||
armv7a,
|
armv7a,
|
||||||
armv7r,
|
armv7r,
|
||||||
armv7m,
|
armv7m,
|
||||||
|
@ -92,6 +92,7 @@ use crate::pool::{self, stack::Ptr, Node};
|
|||||||
/// Instantiates a pool of Arc pointers as a global singleton
|
/// Instantiates a pool of Arc pointers as a global singleton
|
||||||
// NOTE(any(test)) makes testing easier (no need to enable Cargo features for testing)
|
// NOTE(any(test)) makes testing easier (no need to enable Cargo features for testing)
|
||||||
#[cfg(any(
|
#[cfg(any(
|
||||||
|
armv6m,
|
||||||
armv7a,
|
armv7a,
|
||||||
armv7r,
|
armv7r,
|
||||||
armv7m,
|
armv7m,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user