diff --git a/rtic_v0.5/stm32f3_blinky/Cargo.lock b/rtic_v0.5/stm32f3_blinky/Cargo.lock index 56cb88c..9ecc69b 100644 --- a/rtic_v0.5/stm32f3_blinky/Cargo.lock +++ b/rtic_v0.5/stm32f3_blinky/Cargo.lock @@ -54,7 +54,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "40ac3d0c0a542d0ab5521211f873f62706a7136df415676f676d347e5a41dd80" dependencies = [ "bitflags", - "embedded-hal", + "embedded-hal 0.2.7", "nb 1.1.0", "vcell", ] @@ -89,7 +89,7 @@ checksum = "8ec610d8f49840a5b376c69663b6369e71f4b34484b9b2eb29fb918d92516cb9" dependencies = [ "bare-metal 0.2.5", "bitfield", - "embedded-hal", + "embedded-hal 0.2.7", "volatile-register", ] @@ -206,6 +206,12 @@ dependencies = [ "void", ] +[[package]] +name = "embedded-hal" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "361a90feb7004eca4019fb28352a9465666b24f840f5c3cddf0ff13920590b89" + [[package]] name = "embedded-time" version = "0.12.1" @@ -522,7 +528,7 @@ version = "0.1.0" dependencies = [ "cortex-m-rtic", "cortex-m-semihosting", - "embedded-hal", + "embedded-hal 1.0.0", "panic-halt", "panic-semihosting", "stm32f3xx-hal", @@ -540,7 +546,7 @@ dependencies = [ "cortex-m-rt", "critical-section", "embedded-dma", - "embedded-hal", + "embedded-hal 0.2.7", "embedded-time", "enumset", "nb 1.1.0", diff --git a/rtic_v0.5/stm32f3_blinky/Cargo.toml b/rtic_v0.5/stm32f3_blinky/Cargo.toml index 706fb67..2624203 100644 --- a/rtic_v0.5/stm32f3_blinky/Cargo.toml +++ b/rtic_v0.5/stm32f3_blinky/Cargo.toml @@ -9,7 +9,7 @@ version = "0.1.0" panic-halt = "0.2" panic-semihosting = "0.6" cortex-m-semihosting = "0.5.0" -embedded-hal = "0.2.7" +embedded-hal = "1.0.0" cortex-m-rtic = { version = "0.5.9", default-features = false, features = ["cortex-m-7"] } [dependencies.stm32f3xx-hal] diff --git a/rtic_v0.5/stm32f3_blinky/src/main.rs b/rtic_v0.5/stm32f3_blinky/src/main.rs index bba1106..01d374a 100644 --- a/rtic_v0.5/stm32f3_blinky/src/main.rs +++ b/rtic_v0.5/stm32f3_blinky/src/main.rs @@ -4,7 +4,6 @@ #![no_std] extern crate panic_semihosting; -use embedded_hal::digital::v2::OutputPin; use rtic::app; use rtic::cyccnt::U32Ext; use stm32f3xx_hal::gpio::{gpioe::PE10, Output, PushPull};