mirror of
https://github.com/rust-embedded/heapless.git
synced 2025-09-27 12:30:35 +00:00
Merge pull request #423 from MabezDev/new-0.7-release
Backport xtensa cas polyfil and bump to 0.7.17
This commit is contained in:
commit
0eea6da5bc
@ -13,6 +13,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
|
||||
|
||||
### Fixed
|
||||
|
||||
## [v0.7.17] - 2023-12-04
|
||||
|
||||
### Added
|
||||
|
||||
- Backported cas polyfil for the `xtensa-esp32s2-none-elf` target.
|
||||
|
||||
## [v0.7.16] - 2022-08-09
|
||||
|
||||
### Added
|
||||
|
13
Cargo.toml
13
Cargo.toml
@ -12,7 +12,7 @@ keywords = ["static", "no-heap"]
|
||||
license = "MIT OR Apache-2.0"
|
||||
name = "heapless"
|
||||
repository = "https://github.com/japaric/heapless"
|
||||
version = "0.7.16"
|
||||
version = "0.7.17"
|
||||
|
||||
[features]
|
||||
default = ["cas"]
|
||||
@ -28,16 +28,19 @@ mpmc_large = []
|
||||
defmt-impl = ["defmt"]
|
||||
|
||||
[target.thumbv6m-none-eabi.dependencies]
|
||||
atomic-polyfill = { version = "0.1.2", optional = true }
|
||||
atomic-polyfill = { version = "1", optional = true }
|
||||
|
||||
[target.riscv32i-unknown-none-elf.dependencies]
|
||||
atomic-polyfill = { version = "0.1.4" }
|
||||
atomic-polyfill = { version = "1" }
|
||||
|
||||
[target.riscv32imc-unknown-none-elf.dependencies]
|
||||
atomic-polyfill = { version = "0.1.4" }
|
||||
atomic-polyfill = { version = "1" }
|
||||
|
||||
[target.xtensa-esp32s2-none-elf.dependencies]
|
||||
atomic-polyfill = { version = "1" }
|
||||
|
||||
[target.'cfg(target_arch = "avr")'.dependencies]
|
||||
atomic-polyfill = { version = "0.1.8", optional = true }
|
||||
atomic-polyfill = { version = "1", optional = true }
|
||||
|
||||
[dependencies]
|
||||
hash32 = "0.2.1"
|
||||
|
4
build.rs
4
build.rs
@ -40,6 +40,7 @@ fn main() -> Result<(), Box<dyn Error>> {
|
||||
// | "riscv32imc-unknown-none-elf" // supported by atomic-polyfill
|
||||
| "thumbv4t-none-eabi"
|
||||
// | "thumbv6m-none-eabi" // supported by atomic-polyfill
|
||||
// | "xtensa-esp32s2-none-elf" // supported by atomic-polyfill
|
||||
=> {}
|
||||
|
||||
_ => {
|
||||
@ -55,6 +56,7 @@ fn main() -> Result<(), Box<dyn Error>> {
|
||||
"msp430-none-elf"
|
||||
// | "riscv32i-unknown-none-elf" // supported by atomic-polyfill
|
||||
// | "riscv32imc-unknown-none-elf" // supported by atomic-polyfill
|
||||
// | "xtensa-esp32s2-none-elf" // supported by atomic-polyfill
|
||||
=> {}
|
||||
|
||||
_ => {
|
||||
@ -75,7 +77,7 @@ fn main() -> Result<(), Box<dyn Error>> {
|
||||
println!("cargo:rustc-cfg=cas_atomic_polyfill");
|
||||
}
|
||||
|
||||
"thumbv6m-none-eabi" => {
|
||||
"thumbv6m-none-eabi" | "xtensa-esp32s2-none-elf" => {
|
||||
println!("cargo:rustc-cfg=cas_atomic_polyfill");
|
||||
}
|
||||
_ => {}
|
||||
|
Loading…
x
Reference in New Issue
Block a user