From ed7ed50c25ace5c724246d367b713a844cfcd527 Mon Sep 17 00:00:00 2001 From: broke Date: Wed, 22 May 2024 19:38:20 +0200 Subject: [PATCH] updated esp32c3 dependency to version 0.22.0 (#937) * Update Cargo.toml esp32c3 dependency * fixed esp32c3 example to build with esp32c3=0.22.0 dependency * added CHANGELOG.md entry for esp32c3 version update --- examples/esp32c3/Cargo.lock | 16 +++++++++++++--- examples/esp32c3/Cargo.toml | 2 +- rtic/CHANGELOG.md | 1 + rtic/Cargo.toml | 2 +- 4 files changed, 16 insertions(+), 5 deletions(-) diff --git a/examples/esp32c3/Cargo.lock b/examples/esp32c3/Cargo.lock index 7e6d0d0e21..6297c40ced 100644 --- a/examples/esp32c3/Cargo.lock +++ b/examples/esp32c3/Cargo.lock @@ -220,7 +220,7 @@ dependencies = [ "esp-riscv-rt", "esp32", "esp32c2", - "esp32c3", + "esp32c3 0.21.0", "esp32c6", "esp32h2", "esp32p4", @@ -292,7 +292,7 @@ dependencies = [ "esp-backtrace", "esp-hal", "esp-println", - "esp32c3", + "esp32c3 0.22.0", "rtic", ] @@ -316,6 +316,16 @@ dependencies = [ "vcell", ] +[[package]] +name = "esp32c3" +version = "0.22.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4c22d8c27e7d675ef79db212b9e41df80aef6db1a5c819e4e726735f64ee0700" +dependencies = [ + "critical-section", + "vcell", +] + [[package]] name = "esp32c6" version = "0.12.0" @@ -604,7 +614,7 @@ dependencies = [ "atomic-polyfill", "bare-metal", "critical-section", - "esp32c3", + "esp32c3 0.22.0", "riscv", "rtic-core", "rtic-macros", diff --git a/examples/esp32c3/Cargo.toml b/examples/esp32c3/Cargo.toml index 9a4e813c19..fa2a4e0d68 100644 --- a/examples/esp32c3/Cargo.toml +++ b/examples/esp32c3/Cargo.toml @@ -16,7 +16,7 @@ esp-backtrace = { version = "0.11.0", features = [ "println", ] } -esp32c3 = {version = "0.21.0", features = ["critical-section"]} +esp32c3 = {version = "0.22.0", features = ["critical-section"]} esp-println = { version = "0.9.0", features = ["esp32c3", "uart"] } [features] diff --git a/rtic/CHANGELOG.md b/rtic/CHANGELOG.md index 853c3ab335..fbfe3edca4 100644 --- a/rtic/CHANGELOG.md +++ b/rtic/CHANGELOG.md @@ -9,6 +9,7 @@ For each category, *Added*, *Changed*, *Fixed* add new entries at the top! ### Changed +- Updated esp32c3 dependency to v0.22.0 - Use `riscv-slic` from `crates.io` - Remove unused dependency `rtic-monotonics` diff --git a/rtic/Cargo.toml b/rtic/Cargo.toml index d4b56568d0..d21246c2f5 100644 --- a/rtic/Cargo.toml +++ b/rtic/Cargo.toml @@ -26,7 +26,7 @@ name = "rtic" [dependencies] riscv-slic = { version = "0.1.1", optional = true } -esp32c3 = { version = "0.21.0", optional = true } +esp32c3 = { version = "0.22.0", optional = true } riscv = { version = "0.11.0", optional = true } cortex-m = { version = "0.7.0", optional = true } bare-metal = "1.0.0"