diff --git a/Cargo.lock b/Cargo.lock index 32a21d6..8033f61 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -29,6 +29,12 @@ dependencies = [ "rustc_version", ] +[[package]] +name = "bit_field" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a165d606cf084741d4ac3a28fb6e9b1eb0bd31f6cd999098cfddb0b2ab381dc0" + [[package]] name = "bitflags" version = "1.2.1" @@ -69,9 +75,9 @@ dependencies = [ [[package]] name = "cortex-m-log" -version = "0.5.0" +version = "0.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "584a62cf37ddd834b8bfc21317bf3396915844298bf346dd1f4ca0572180ac7f" +checksum = "978caafe65d1023d38b00c76b83564788fc351d954a5005fb72cf992c0d61458" dependencies = [ "cortex-m", "cortex-m-semihosting", @@ -254,6 +260,7 @@ checksum = "dba1a27d3efae4351c8051072d619e3ade2820635c3958d826bfea39d59b54c8" [[package]] name = "stm32-eth" version = "0.1.2" +source = "git+https://github.com/stm32-rs/stm32-eth.git#2c5dce379b85a31fb0b9c58a028b6454be1727aa" dependencies = [ "aligned", "log", @@ -307,6 +314,8 @@ name = "thermostat" version = "0.0.0" dependencies = [ "bare-metal", + "bit_field", + "byteorder", "cortex-m", "cortex-m-log", "cortex-m-rt", diff --git a/Cargo.toml b/Cargo.toml index 174c9a8..ebdbafb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -20,12 +20,14 @@ log = "0.4" bare-metal = "0.2" cortex-m = "0.6" cortex-m-rt = { version = "0.6", features = ["device"] } -cortex-m-log = { version = "0.5", features = ["log-integration"] } +cortex-m-log = { version = "0.6", features = ["log-integration"] } embedded-hal = "0.2" stm32f4xx-hal = { version = "0.7", features = ["rt", "stm32f427"] } -stm32-eth = { version = "0.1.2", features = ["smoltcp-phy"], path = "../../stm32f4/stm32-eth" } +stm32-eth = { version = "0.1.2", features = ["smoltcp-phy"], git = "https://github.com/stm32-rs/stm32-eth.git" } smoltcp = { version = "0.6.0", default-features = false, features = ["proto-ipv4", "socket-tcp", "log"] } hash2hwaddr = { version = "0.0", optional = true } +bit_field = "0.10" +byteorder = { version = "1", default-features = false } [features] semihosting = ["panic-semihosting", "cortex-m-log/semihosting"] diff --git a/cargosha256.nix b/cargosha256.nix index f897702..a69e1d7 100644 --- a/cargosha256.nix +++ b/cargosha256.nix @@ -1 +1 @@ -"07i5sybwrmvixx9sqr4i48rma9q7zjhcgz6v1id1wmzyfga15cxz" +"0yqq7z4qz29vxxc40cp2pjaifvnhacz6hm3v1s839n1q4qlkcjm5"