From a9f2f86552cc87311fa0d906c88bd29f5f3593a3 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 11 Oct 2024 08:59:31 +0000 Subject: [PATCH] Bump stm32f4xx-hal from 0.21.0 to 0.22.0 Bumps [stm32f4xx-hal](https://github.com/stm32-rs/stm32f4xx-hal) from 0.21.0 to 0.22.0. - [Release notes](https://github.com/stm32-rs/stm32f4xx-hal/releases) - [Changelog](https://github.com/stm32-rs/stm32f4xx-hal/blob/master/CHANGELOG.md) - [Commits](https://github.com/stm32-rs/stm32f4xx-hal/compare/v0.21.0...v0.22.0) --- updated-dependencies: - dependency-name: stm32f4xx-hal dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Cargo.lock | 70 +++++++++++++++++++++++++++++++++++++++++++++++------- Cargo.toml | 2 +- 2 files changed, 63 insertions(+), 9 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index f7f4f74..59042ad 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -334,6 +334,38 @@ dependencies = [ "doc-comment", ] +[[package]] +name = "defmt" +version = "0.3.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a99dd22262668b887121d4672af5a64b238f026099f1a2a1b322066c9ecfe9e0" +dependencies = [ + "bitflags 1.3.2", + "defmt-macros", +] + +[[package]] +name = "defmt-macros" +version = "0.3.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e3a9f309eff1f79b3ebdf252954d90ae440599c26c2c553fe87a2d17195f2dcb" +dependencies = [ + "defmt-parser", + "proc-macro-error", + "proc-macro2", + "quote", + "syn 2.0.79", +] + +[[package]] +name = "defmt-parser" +version = "0.3.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ff4a5fefe330e8d7f31b16a318f9ce81000d8e35e69b93eae154d16d2278f70f" +dependencies = [ + "thiserror", +] + [[package]] name = "deranged" version = "0.3.11" @@ -1507,22 +1539,24 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" [[package]] -name = "stm32f4" -version = "0.15.1" +name = "stm32f4-staging" +version = "0.16.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fb94729242cd1aebe6dab42a2ca0131985ae93bc3ab2751b680df724bb35528d" +checksum = "97a6d5e873d8f15406aadd4349b491e28617173a90f152c0635863b1919070af" dependencies = [ - "bare-metal 1.0.0", "cortex-m", "cortex-m-rt", + "critical-section", + "defmt", + "portable-atomic", "vcell", ] [[package]] name = "stm32f4xx-hal" -version = "0.21.0" +version = "0.22.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ceed60591531f4da636d828701c74861a3d100e5c4e36677cadbd2eb6f46eb67" +checksum = "243ab58411b5b063098402d18a5d44916336ec86a288b613796e376bd83eaf80" dependencies = [ "bare-metal 1.0.0", "cortex-m", @@ -1532,16 +1566,16 @@ dependencies = [ "embedded-hal 0.2.7", "embedded-hal 1.0.0", "embedded-hal-nb", + "embedded-io", "embedded-storage", "enumflags2", "fugit", "fugit-timer", "nb 1.1.0", "rand_core", - "stm32f4", + "stm32f4-staging", "synopsys-usb-otg", "time", - "vcell", "void", ] @@ -1626,6 +1660,26 @@ dependencies = [ "embedded-hal 1.0.0", ] +[[package]] +name = "thiserror" +version = "1.0.64" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d50af8abc119fb8bb6dbabcfa89656f46f84aa0ac7688088608076ad2b459a84" +dependencies = [ + "thiserror-impl", +] + +[[package]] +name = "thiserror-impl" +version = "1.0.64" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "08904e7672f5eb876eaaf87e0ce17857500934f4981c4a0ab2b4aa98baac7fc3" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.79", +] + [[package]] name = "time" version = "0.3.36" diff --git a/Cargo.toml b/Cargo.toml index e63c040..95c6c82 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -64,7 +64,7 @@ enc424j600 = "0.4" embedded-hal = "1" smoltcp-nal = { version = "0.5", features=["shared-stack"] } serial-settings = "0.1" -stm32f4xx-hal = {version = "0.21.0", features = ["stm32f407", "usb_fs"] } +stm32f4xx-hal = {version = "0.22.0", features = ["stm32f407", "usb_fs"] } postcard = "1"