diff --git a/examples/stm32f411_adc/Cargo.lock b/examples/stm32f411_adc/Cargo.lock index afcfa077d372..631cfe19d088 100644 --- a/examples/stm32f411_adc/Cargo.lock +++ b/examples/stm32f411_adc/Cargo.lock @@ -557,7 +557,7 @@ dependencies = [ "cortex-m-rt", "defmt", "defmt-rtt", - "embedded-hal 0.2.7", + "embedded-hal 1.0.0", "panic-halt", "rtic", "rtic-sync", @@ -566,9 +566,9 @@ dependencies = [ [[package]] name = "stm32f4xx-hal" -version = "0.20.0" +version = "0.21.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "10c41454f262c0be0c35b8cfc0d971e598281f7a9be32e894dc97a0b21deadfe" +checksum = "ceed60591531f4da636d828701c74861a3d100e5c4e36677cadbd2eb6f46eb67" dependencies = [ "bare-metal 1.0.0", "cortex-m", diff --git a/examples/stm32f411_adc/Cargo.toml b/examples/stm32f411_adc/Cargo.toml index 1ec8156abf00..8d354b0e11e8 100644 --- a/examples/stm32f411_adc/Cargo.toml +++ b/examples/stm32f411_adc/Cargo.toml @@ -12,13 +12,13 @@ cortex-m = { version = "0.7.6", features = ["critical-section-single-core"] } cortex-m-rt = "0.7.1" rtic = {version = "2.0.1", features=["thumbv7-backend", "rtic-monotonics"]} panic-halt = "0.2.0" -embedded-hal = "0.2.7" +embedded-hal = "1.0.0" defmt = "0.3.5" defmt-rtt = { version = "0.4.0"} rtic-sync = "1.0.2" [dependencies.stm32f4xx-hal] -version = "0.20.0" +version = "0.21.0" features = ["stm32f411"] # replace the model of your microcontroller here # this lets you use `cargo fix`!