diff --git a/.gitignore b/.gitignore index 30628ed58..7faa2c32d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ target +target_ci Cargo.lock third_party /Cargo.toml -stm32-metapac-gen/out/ \ No newline at end of file +stm32-metapac-gen/out/ diff --git a/.vscode/settings.json b/.vscode/settings.json index a5a656637..ed01f7557 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -6,12 +6,11 @@ "rust-analyzer.checkOnSave.allTargets": false, "rust-analyzer.cargo.noDefaultFeatures": true, "rust-analyzer.checkOnSave.noDefaultFeatures": true, - "rust-analyzer.cargo.target": "thumbv7em-none-eabi", + //"rust-analyzer.cargo.target": "thumbv7em-none-eabi", "rust-analyzer.cargo.features": [ // These are needed to prevent embassy-net from failing to build "embassy-net/medium-ethernet", "embassy-net/tcp", - "embassy-net/pool-16", ], "rust-analyzer.procMacro.enable": true, "rust-analyzer.cargo.runBuildScripts": true, diff --git a/embassy-hal-common/Cargo.toml b/embassy-hal-common/Cargo.toml index 0e28085ff..575007070 100644 --- a/embassy-hal-common/Cargo.toml +++ b/embassy-hal-common/Cargo.toml @@ -14,8 +14,8 @@ defmt-error = [ ] [dependencies] embassy = { version = "0.1.0", path = "../embassy" } -defmt = { version = "0.2.0", optional = true } -log = { version = "0.4.11", optional = true } -cortex-m = "0.7.1" -usb-device = "0.2.7" +defmt = { version = "0.2.3", optional = true } +log = { version = "0.4.14", optional = true } +cortex-m = "0.7.3" +usb-device = "0.2.8" num-traits = { version = "0.2.14", default-features = false } diff --git a/embassy-macros/Cargo.toml b/embassy-macros/Cargo.toml index 06dc6f072..b56f0f72f 100644 --- a/embassy-macros/Cargo.toml +++ b/embassy-macros/Cargo.toml @@ -5,10 +5,10 @@ authors = ["Dario Nieuwenhuis "] edition = "2018" [dependencies] -syn = { version = "1.0.39", features = ["full", "extra-traits"] } -quote = "1.0.7" -darling = "0.10.2" -proc-macro2 = "1.0.24" +syn = { version = "1.0.76", features = ["full", "extra-traits"] } +quote = "1.0.9" +darling = "0.13.0" +proc-macro2 = "1.0.29" [lib] proc-macro = true diff --git a/embassy-net/Cargo.toml b/embassy-net/Cargo.toml index 0f4571761..161a3946e 100644 --- a/embassy-net/Cargo.toml +++ b/embassy-net/Cargo.toml @@ -25,18 +25,18 @@ pool-32 = [] [dependencies] -defmt = { version = "0.2.0", optional = true } -log = { version = "0.4.11", optional = true } +defmt = { version = "0.2.3", optional = true } +log = { version = "0.4.14", optional = true } embassy = { version = "0.1.0", path = "../embassy" } -managed = { version = "0.8.0", default-features = false, features = [ "map" ]} -heapless = { version = "0.7.1", default-features = false } -as-slice = { version = "0.1.4" } +managed = { version = "0.8.0", default-features = false, features = [ "map" ] } +heapless = { version = "0.7.5", default-features = false } +as-slice = "0.2.1" generic-array = { version = "0.14.4", default-features = false } stable_deref_trait = { version = "1.2.0", default-features = false } -futures = { version = "0.3.5", default-features = false, features = [ "async-await" ]} -atomic-pool = "0.2.0" +futures = { version = "0.3.17", default-features = false, features = [ "async-await" ] } +atomic-pool = "0.2.1" [dependencies.smoltcp] git = "https://github.com/smoltcp-rs/smoltcp" diff --git a/embassy-nrf/Cargo.toml b/embassy-nrf/Cargo.toml index ea7efec19..f42840133 100644 --- a/embassy-nrf/Cargo.toml +++ b/embassy-nrf/Cargo.toml @@ -38,20 +38,20 @@ embassy = { version = "0.1.0", path = "../embassy" } embassy-macros = { version = "0.1.0", path = "../embassy-macros", features = ["nrf"]} embassy-hal-common = {version = "0.1.0", path = "../embassy-hal-common" } -defmt = { version = "0.2.0", optional = true } -log = { version = "0.4.11", optional = true } +defmt = { version = "0.2.3", optional = true } +log = { version = "0.4.14", optional = true } cortex-m-rt = ">=0.6.15,<0.8" -cortex-m = "0.7.1" -embedded-hal = { version = "0.2.4" } -embedded-dma = { version = "0.1.2" } -futures = { version = "0.3.5", default-features = false } +cortex-m = "0.7.3" +embedded-hal = "0.2.6" +embedded-dma = "0.1.2" +futures = { version = "0.3.17", default-features = false } critical-section = "0.2.1" rand_core = "0.6.3" -nrf52805-pac = { version = "0.10.1", optional = true, features = [ "rt" ]} -nrf52810-pac = { version = "0.10.1", optional = true, features = [ "rt" ]} -nrf52811-pac = { version = "0.10.1", optional = true, features = [ "rt" ]} -nrf52820-pac = { version = "0.10.1", optional = true, features = [ "rt" ]} -nrf52832-pac = { version = "0.10.1", optional = true, features = [ "rt" ]} -nrf52833-pac = { version = "0.10.1", optional = true, features = [ "rt" ]} -nrf52840-pac = { version = "0.10.1", optional = true, features = [ "rt" ]} +nrf52805-pac = { version = "0.10.1", optional = true, features = [ "rt" ] } +nrf52810-pac = { version = "0.10.1", optional = true, features = [ "rt" ] } +nrf52811-pac = { version = "0.10.1", optional = true, features = [ "rt" ] } +nrf52820-pac = { version = "0.10.1", optional = true, features = [ "rt" ] } +nrf52832-pac = { version = "0.10.1", optional = true, features = [ "rt" ] } +nrf52833-pac = { version = "0.10.1", optional = true, features = [ "rt" ] } +nrf52840-pac = { version = "0.10.1", optional = true, features = [ "rt" ] } diff --git a/embassy-rp/Cargo.toml b/embassy-rp/Cargo.toml index 3702404b8..770005119 100644 --- a/embassy-rp/Cargo.toml +++ b/embassy-rp/Cargo.toml @@ -22,13 +22,13 @@ defmt-error = [ ] embassy = { version = "0.1.0", path = "../embassy", features = [ "time-tick-1mhz" ] } embassy-hal-common = {version = "0.1.0", path = "../embassy-hal-common" } embassy-macros = { version = "0.1.0", path = "../embassy-macros", features = ["rp"]} -atomic-polyfill = { version = "0.1.2" } -defmt = { version = "0.2.0", optional = true } -log = { version = "0.4.11", optional = true } +atomic-polyfill = "0.1.3" +defmt = { version = "0.2.3", optional = true } +log = { version = "0.4.14", optional = true } cortex-m-rt = ">=0.6.15,<0.8" -cortex-m = "0.7.1" +cortex-m = "0.7.3" critical-section = "0.2.1" rp2040-pac2 = { git = "https://github.com/embassy-rs/rp2040-pac2", rev="9ad7223a48a065e612bc7dc7be5bf5bd0b41cfc4", features = ["rt"] } #rp2040-pac2 = { path = "../../rp/rp2040-pac2", features = ["rt"] } -embedded-hal = { version = "0.2.4", features = [ "unproven" ] } +embedded-hal = { version = "0.2.6", features = [ "unproven" ] } diff --git a/embassy-stm32/Cargo.toml b/embassy-stm32/Cargo.toml index 325e128d2..b34d56854 100644 --- a/embassy-stm32/Cargo.toml +++ b/embassy-stm32/Cargo.toml @@ -12,28 +12,28 @@ embassy-hal-common = {version = "0.1.0", path = "../embassy-hal-common" } embassy-traits = {version = "0.1.0", path = "../embassy-traits" } embassy-net = { version = "0.1.0", path = "../embassy-net", default-features = false, optional = true } -defmt = { version = "0.2.0", optional = true } -log = { version = "0.4.11", optional = true } +defmt = { version = "0.2.3", optional = true } +log = { version = "0.4.14", optional = true } cortex-m-rt = ">=0.6.15,<0.8" -cortex-m = "0.7.1" -embedded-hal = { version = "0.2.4", features = ["unproven"] } -futures = { version = "0.3.5", default-features = false, features = ["async-await"] } -rand_core = { version = "0.6.2" } -sdio-host = { version = "0.5.0" } +cortex-m = "0.7.3" +embedded-hal = { version = "0.2.6", features = ["unproven"] } +futures = { version = "0.3.17", default-features = false, features = ["async-await"] } +rand_core = "0.6.3" +sdio-host = "0.5.0" embedded-sdmmc = { git = "https://github.com/thalesfragoso/embedded-sdmmc-rs", branch = "async", optional = true } critical-section = "0.2.1" bare-metal = "1.0.0" atomic-polyfill = "0.1.3" stm32-metapac = { version = "0.1.0", path = "../stm32-metapac", features = ["rt"] } vcell = { version = "0.1.3", optional = true } -bxcan = { version = "0.5.1" } +bxcan = "0.5.1" cfg-if = "1.0.0" [build-dependencies] stm32-metapac = { version = "0.1.0", path = "../stm32-metapac", default-features = false } -serde = { version = "1.0.123", features = [ "derive" ]} -serde_yaml = "0.8.15" +serde = { version = "1.0.130", features = [ "derive" ] } +serde_yaml = "0.8.21" [features] defmt-trace = [ ] diff --git a/embassy-traits/Cargo.toml b/embassy-traits/Cargo.toml index 737f91181..9e23453a8 100644 --- a/embassy-traits/Cargo.toml +++ b/embassy-traits/Cargo.toml @@ -8,5 +8,5 @@ edition = "2018" std = [] [dependencies] -defmt = { version = "0.2.0", optional = true } -embedded-hal = { version = "0.2.3", features = ["unproven"] } +defmt = { version = "0.2.3", optional = true } +embedded-hal = { version = "0.2.6", features = ["unproven"] } diff --git a/embassy/Cargo.toml b/embassy/Cargo.toml index ecb53325f..0a8ab4434 100644 --- a/embassy/Cargo.toml +++ b/embassy/Cargo.toml @@ -31,21 +31,21 @@ defmt-error = [] executor-agnostic = [] [dependencies] -defmt = { version = "0.2.0", optional = true } -log = { version = "0.4.11", optional = true } +defmt = { version = "0.2.3", optional = true } +log = { version = "0.4.14", optional = true } -cortex-m = "0.7.1" -futures = { version = "0.3.5", default-features = false, features = [ "cfg-target-has-atomic", "unstable" ] } -pin-project = { version = "1.0.2", default-features = false } +cortex-m = "0.7.3" +futures = { version = "0.3.17", default-features = false, features = [ "cfg-target-has-atomic", "unstable" ] } +pin-project = { version = "1.0.8", default-features = false } embassy-macros = { version = "0.1.0", path = "../embassy-macros"} embassy-traits = { version = "0.1.0", path = "../embassy-traits"} -atomic-polyfill = { version = "0.1.1" } +atomic-polyfill = "0.1.3" critical-section = "0.2.1" -embedded-hal = "0.2.5" +embedded-hal = "0.2.6" [dev-dependencies] embassy = { path = ".", features = ["executor-agnostic"] } -futures-executor = { version = "0.3", features = [ "thread-pool" ] } -futures-test = "0.3" -futures-timer = "0.3" -futures-util = { version = "0.3", features = [ "channel" ] } +futures-executor = { version = "0.3.17", features = [ "thread-pool" ] } +futures-test = "0.3.17" +futures-timer = "3.0.2" +futures-util = { version = "0.3.17", features = [ "channel" ] } diff --git a/embassy/src/util/mpsc.rs b/embassy/src/util/mpsc.rs index 4257ecd40..a0f884ec6 100644 --- a/embassy/src/util/mpsc.rs +++ b/embassy/src/util/mpsc.rs @@ -868,7 +868,7 @@ mod tests { let send_task_2 = executor.spawn_with_handle(async move { s1.send(3).await }); // Wish I could think of a means of determining that the async send is waiting instead. // However, I've used the debugger to observe that the send does indeed wait. - assert!(Delay::new(Duration::from_millis(500)).await.is_ok()); + Delay::new(Duration::from_millis(500)).await; assert_eq!(r.recv().await, Some(1)); assert!(executor .spawn(async move { while let Some(_) = r.recv().await {} }) diff --git a/examples/nrf/Cargo.toml b/examples/nrf/Cargo.toml index 0f932e25c..b71dfa0d4 100644 --- a/examples/nrf/Cargo.toml +++ b/examples/nrf/Cargo.toml @@ -21,12 +21,12 @@ embassy = { version = "0.1.0", path = "../../embassy", features = ["defmt", "def embassy-traits = { version = "0.1.0", path = "../../embassy-traits", features = ["defmt"] } embassy-nrf = { version = "0.1.0", path = "../../embassy-nrf", features = ["defmt", "defmt-trace", "nrf52840", "time-driver-rtc1", "gpiote"] } -defmt = "0.2.0" +defmt = "0.2.3" defmt-rtt = "0.2.0" -cortex-m = { version = "0.7.1", features = ["inline-asm"] } +cortex-m = { version = "0.7.3", features = ["inline-asm"] } cortex-m-rt = "0.7.0" -embedded-hal = { version = "0.2.4" } +embedded-hal = "0.2.6" panic-probe = { version = "0.2.0", features = ["print-defmt"] } -futures = { version = "0.3.8", default-features = false, features = ["async-await"] } +futures = { version = "0.3.17", default-features = false, features = ["async-await"] } rand = { version = "0.8.4", default-features = false } diff --git a/examples/rp/Cargo.toml b/examples/rp/Cargo.toml index db222e071..d168c39fa 100644 --- a/examples/rp/Cargo.toml +++ b/examples/rp/Cargo.toml @@ -19,16 +19,16 @@ defmt-error = [] [dependencies] embassy = { version = "0.1.0", path = "../../embassy", features = ["defmt", "defmt-trace"] } embassy-rp = { version = "0.1.0", path = "../../embassy-rp", features = ["defmt", "defmt-trace"] } -atomic-polyfill = { version = "0.1.1" } +atomic-polyfill = "0.1.3" -defmt = "0.2.0" +defmt = "0.2.3" defmt-rtt = "0.2.0" -cortex-m = { version = "0.7.1", features = ["inline-asm"] } +cortex-m = { version = "0.7.3", features = ["inline-asm"] } cortex-m-rt = "0.7.0" -embedded-hal = { version = "0.2.4" } +embedded-hal = "0.2.6" panic-probe = { version = "0.2.0", features = ["print-defmt"] } -futures = { version = "0.3.8", default-features = false, features = ["async-await", "cfg-target-has-atomic", "unstable"] } +futures = { version = "0.3.17", default-features = false, features = ["async-await", "cfg-target-has-atomic", "unstable"] } display-interface-spi = "0.4.1" embedded-graphics = "0.7.1" st7789 = "0.6.1" diff --git a/examples/std/Cargo.toml b/examples/std/Cargo.toml index 34b8ebb67..3ba495e59 100644 --- a/examples/std/Cargo.toml +++ b/examples/std/Cargo.toml @@ -9,12 +9,12 @@ embassy = { version = "0.1.0", path = "../../embassy", features = ["log", "std", embassy-net = { version = "0.1.0", path = "../../embassy-net", features=["std", "log", "medium-ethernet", "tcp", "dhcpv4"] } smoltcp = { git = "https://github.com/smoltcp-rs/smoltcp", rev="e4241510337e095b9d21136c5f58b2eaa1b78479", default-features = false } -async-io = "1.3.1" -env_logger = "0.8.2" -futures = { version = "0.3.8", default-features = false, features = ["async-await"] } -log = "0.4.11" -nix = "0.21.0" -libc = "0.2.81" -clap = { version = "3.0.0-beta.2", features = ["derive"] } -rand_core = { version = "0.6.0", features = ["std"] } -heapless = { version = "0.7.1", default-features = false } +async-io = "1.6.0" +env_logger = "0.9.0" +futures = { version = "0.3.17", default-features = false, features = ["async-await"] } +log = "0.4.14" +nix = "0.22.1" +libc = "0.2.101" +clap = { version = "3.0.0-beta.4", features = ["derive"] } +rand_core = { version = "0.6.3", features = ["std"] } +heapless = { version = "0.7.5", default-features = false } diff --git a/examples/std/src/serial_port.rs b/examples/std/src/serial_port.rs index 7ac1b1edb..aadaeb81d 100644 --- a/examples/std/src/serial_port.rs +++ b/examples/std/src/serial_port.rs @@ -1,6 +1,6 @@ +use nix::errno::Errno; use nix::fcntl::OFlag; use nix::sys::termios; -use nix::Error; use std::io; use std::os::unix::io::{AsRawFd, RawFd}; @@ -63,9 +63,6 @@ impl io::Write for SerialPort { } } -fn to_io_error(e: Error) -> io::Error { - match e { - Error::Sys(errno) => errno.into(), - e => io::Error::new(io::ErrorKind::InvalidInput, e), - } +fn to_io_error(e: Errno) -> io::Error { + e.into() } diff --git a/examples/stm32f0/Cargo.toml b/examples/stm32f0/Cargo.toml index d37391e4f..2db98488d 100644 --- a/examples/stm32f0/Cargo.toml +++ b/examples/stm32f0/Cargo.toml @@ -8,12 +8,12 @@ resolver = "2" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -cortex-m = { version = "0.7.1", features = ["inline-asm"] } +cortex-m = { version = "0.7.3", features = ["inline-asm"] } cortex-m-rt = "0.7.0" -defmt = "0.2.0" +defmt = "0.2.3" defmt-rtt = "0.2.0" -panic-probe = { version = "0.2.0" } -rtt-target = { version = "0.3", features = ["cortex-m"] } +panic-probe = "0.2.0" +rtt-target = { version = "0.3.1", features = ["cortex-m"] } embassy = { path = "../../embassy", features = ["defmt"] } embassy-stm32 = { path = "../../embassy-stm32", features = ["defmt", "stm32f030f4", "time-driver-tim3"] } diff --git a/examples/stm32f4/Cargo.toml b/examples/stm32f4/Cargo.toml index 8a7f45877..ce3a26bbf 100644 --- a/examples/stm32f4/Cargo.toml +++ b/examples/stm32f4/Cargo.toml @@ -22,14 +22,14 @@ embassy-traits = { version = "0.1.0", path = "../../embassy-traits", features = embassy-stm32 = { version = "0.1.0", path = "../../embassy-stm32", features = ["defmt", "defmt-trace", "stm32f429zi", "unstable-pac", "memory-x", "time-driver-tim2"] } embassy-hal-common = {version = "0.1.0", path = "../../embassy-hal-common" } -defmt = "0.2.0" +defmt = "0.2.3" defmt-rtt = "0.2.0" -cortex-m = "0.7.1" +cortex-m = "0.7.3" cortex-m-rt = "0.7.0" -embedded-hal = { version = "0.2.4" } -panic-probe = { version = "0.2.0", features= ["print-defmt"] } -futures = { version = "0.3.8", default-features = false, features = ["async-await"] } -rtt-target = { version = "0.3", features = ["cortex-m"] } -heapless = { version = "0.7.1", default-features = false } -nb = { version = "1.0" } +embedded-hal = "0.2.6" +panic-probe = { version = "0.2.0", features = ["print-defmt"] } +futures = { version = "0.3.17", default-features = false, features = ["async-await"] } +rtt-target = { version = "0.3.1", features = ["cortex-m"] } +heapless = { version = "0.7.5", default-features = false } +nb = "1.0.0" diff --git a/examples/stm32g0/Cargo.toml b/examples/stm32g0/Cargo.toml index 83f535b91..58a62f7be 100644 --- a/examples/stm32g0/Cargo.toml +++ b/examples/stm32g0/Cargo.toml @@ -22,13 +22,13 @@ embassy-traits = { version = "0.1.0", path = "../../embassy-traits", features = embassy-stm32 = { version = "0.1.0", path = "../../embassy-stm32", features = ["defmt", "defmt-trace", "time-driver-tim2", "stm32g071rb", "unstable-pac"] } embassy-hal-common = {version = "0.1.0", path = "../../embassy-hal-common" } -defmt = "0.2.0" +defmt = "0.2.3" defmt-rtt = "0.2.0" -cortex-m = "0.7.1" +cortex-m = "0.7.3" cortex-m-rt = "0.7.0" -embedded-hal = { version = "0.2.4" } -panic-probe = { version = "0.2.0", features= ["print-defmt"] } -futures = { version = "0.3.8", default-features = false, features = ["async-await"] } -rtt-target = { version = "0.3", features = ["cortex-m"] } -heapless = { version = "0.7.1", default-features = false } +embedded-hal = "0.2.6" +panic-probe = { version = "0.2.0", features = ["print-defmt"] } +futures = { version = "0.3.17", default-features = false, features = ["async-await"] } +rtt-target = { version = "0.3.1", features = ["cortex-m"] } +heapless = { version = "0.7.5", default-features = false } diff --git a/examples/stm32h7/Cargo.toml b/examples/stm32h7/Cargo.toml index 1370cd9ab..94586b8ac 100644 --- a/examples/stm32h7/Cargo.toml +++ b/examples/stm32h7/Cargo.toml @@ -24,17 +24,17 @@ embassy-hal-common = {version = "0.1.0", path = "../../embassy-hal-common" } embassy-net = { path = "../../embassy-net", default-features = false, features = ["defmt-debug", "defmt", "tcp", "medium-ethernet", "pool-16"] } embassy-macros = { path = "../../embassy-macros" } -defmt = "0.2.0" +defmt = "0.2.3" defmt-rtt = "0.2.0" -cortex-m = "0.7.1" +cortex-m = "0.7.3" cortex-m-rt = "0.7.0" -embedded-hal = { version = "0.2.4" } -panic-probe = { version = "0.2.0", features= ["print-defmt"] } -futures = { version = "0.3.8", default-features = false, features = ["async-await"] } -rtt-target = { version = "0.3", features = ["cortex-m"] } -heapless = { version = "0.7.1", default-features = false } -rand_core = { version = "0.6.2" } +embedded-hal = "0.2.6" +panic-probe = { version = "0.2.0", features = ["print-defmt"] } +futures = { version = "0.3.17", default-features = false, features = ["async-await"] } +rtt-target = { version = "0.3.1", features = ["cortex-m"] } +heapless = { version = "0.7.5", default-features = false } +rand_core = "0.6.3" critical-section = "0.2.1" micromath = "2.0.0" diff --git a/examples/stm32l0/Cargo.toml b/examples/stm32l0/Cargo.toml index 07b033c1e..7dfcdb0fe 100644 --- a/examples/stm32l0/Cargo.toml +++ b/examples/stm32l0/Cargo.toml @@ -23,13 +23,13 @@ embassy-stm32 = { version = "0.1.0", path = "../../embassy-stm32", features = [" embassy-hal-common = {version = "0.1.0", path = "../../embassy-hal-common" } embassy-macros = { path = "../../embassy-macros" } -defmt = "0.2.0" +defmt = "0.2.3" defmt-rtt = "0.2.0" -cortex-m = "0.7.1" +cortex-m = "0.7.3" cortex-m-rt = "0.7.0" -embedded-hal = { version = "0.2.4" } -panic-probe = { version = "0.2.0", features= ["print-defmt"] } -futures = { version = "0.3.8", default-features = false, features = ["async-await"] } -rtt-target = { version = "0.3", features = ["cortex-m"] } -heapless = { version = "0.7.1", default-features = false } +embedded-hal = "0.2.6" +panic-probe = { version = "0.2.0", features = ["print-defmt"] } +futures = { version = "0.3.17", default-features = false, features = ["async-await"] } +rtt-target = { version = "0.3.1", features = ["cortex-m"] } +heapless = { version = "0.7.5", default-features = false } diff --git a/examples/stm32l4/Cargo.toml b/examples/stm32l4/Cargo.toml index 3fa6fa467..26d4cae48 100644 --- a/examples/stm32l4/Cargo.toml +++ b/examples/stm32l4/Cargo.toml @@ -22,16 +22,16 @@ embassy-traits = { version = "0.1.0", path = "../../embassy-traits", features = embassy-stm32 = { version = "0.1.0", path = "../../embassy-stm32", features = ["defmt", "defmt-trace", "unstable-pac", "stm32l4s5vi", "time-driver-tim2"] } embassy-hal-common = {version = "0.1.0", path = "../../embassy-hal-common" } -defmt = "0.2.0" +defmt = "0.2.3" defmt-rtt = "0.2.0" -cortex-m = "0.7.1" +cortex-m = "0.7.3" cortex-m-rt = "0.7.0" -embedded-hal = { version = "0.2.4" } -panic-probe = { version = "0.2.0", features= ["print-defmt"] } -futures = { version = "0.3.8", default-features = false, features = ["async-await"] } -rtt-target = { version = "0.3", features = ["cortex-m"] } -heapless = { version = "0.7.1", default-features = false } +embedded-hal = "0.2.6" +panic-probe = { version = "0.2.0", features = ["print-defmt"] } +futures = { version = "0.3.17", default-features = false, features = ["async-await"] } +rtt-target = { version = "0.3.1", features = ["cortex-m"] } +heapless = { version = "0.7.5", default-features = false } micromath = "2.0.0" diff --git a/examples/stm32wb55/Cargo.toml b/examples/stm32wb55/Cargo.toml index c12e489f7..3a6f63baf 100644 --- a/examples/stm32wb55/Cargo.toml +++ b/examples/stm32wb55/Cargo.toml @@ -22,13 +22,13 @@ embassy-traits = { version = "0.1.0", path = "../../embassy-traits", features = embassy-stm32 = { version = "0.1.0", path = "../../embassy-stm32", features = ["defmt", "defmt-trace", "stm32wb55cc", "time-driver-tim2"] } embassy-hal-common = {version = "0.1.0", path = "../../embassy-hal-common" } -defmt = "0.2.0" +defmt = "0.2.3" defmt-rtt = "0.2.0" -cortex-m = "0.7.1" +cortex-m = "0.7.3" cortex-m-rt = "0.7.0" -embedded-hal = { version = "0.2.4" } -panic-probe = { version = "0.2.0", features= ["print-defmt"] } -futures = { version = "0.3.8", default-features = false, features = ["async-await"] } -rtt-target = { version = "0.3", features = ["cortex-m"] } -heapless = { version = "0.7.1", default-features = false } +embedded-hal = "0.2.6" +panic-probe = { version = "0.2.0", features = ["print-defmt"] } +futures = { version = "0.3.17", default-features = false, features = ["async-await"] } +rtt-target = { version = "0.3.1", features = ["cortex-m"] } +heapless = { version = "0.7.5", default-features = false } diff --git a/examples/stm32wl55/Cargo.toml b/examples/stm32wl55/Cargo.toml index 1bdfe9bc9..d0c727862 100644 --- a/examples/stm32wl55/Cargo.toml +++ b/examples/stm32wl55/Cargo.toml @@ -22,13 +22,13 @@ embassy-traits = { version = "0.1.0", path = "../../embassy-traits", features = embassy-stm32 = { version = "0.1.0", path = "../../embassy-stm32", features = ["defmt", "defmt-trace", "stm32wl55jc_cm4", "time-driver-tim2", "memory-x", "subghz"] } embassy-hal-common = {version = "0.1.0", path = "../../embassy-hal-common" } -defmt = "0.2.0" +defmt = "0.2.3" defmt-rtt = "0.2.0" -cortex-m = "0.7.1" +cortex-m = "0.7.3" cortex-m-rt = "0.7.0" -embedded-hal = { version = "0.2.4" } -panic-probe = { version = "0.2.0", features= ["print-defmt"] } -futures = { version = "0.3.8", default-features = false, features = ["async-await"] } -rtt-target = { version = "0.3", features = ["cortex-m"] } -heapless = { version = "0.7.1", default-features = false } +embedded-hal = "0.2.6" +panic-probe = { version = "0.2.0", features = ["print-defmt"] } +futures = { version = "0.3.17", default-features = false, features = ["async-await"] } +rtt-target = { version = "0.3.1", features = ["cortex-m"] } +heapless = { version = "0.7.5", default-features = false } diff --git a/stm32-metapac-gen/Cargo.toml b/stm32-metapac-gen/Cargo.toml index b36a0c3f4..74939aec4 100644 --- a/stm32-metapac-gen/Cargo.toml +++ b/stm32-metapac-gen/Cargo.toml @@ -5,8 +5,8 @@ edition = "2018" [dependencies] -regex = "1.4.6" +regex = "1.5.4" chiptool = { git = "https://github.com/embassy-rs/chiptool", rev = "31c3c09197d63d29eddbf4c70d6158edac0ac5d3" } -serde = { version = "1.0.123", features = [ "derive" ]} -serde_yaml = "0.8.15" -proc-macro2 = "1.0" +serde = { version = "1.0.130", features = [ "derive" ] } +serde_yaml = "0.8.21" +proc-macro2 = "1.0.29" diff --git a/stm32-metapac/Cargo.toml b/stm32-metapac/Cargo.toml index 894b101e0..6aba696ab 100644 --- a/stm32-metapac/Cargo.toml +++ b/stm32-metapac/Cargo.toml @@ -5,7 +5,7 @@ edition = "2018" resolver = "2" [dependencies] -cortex-m = "0.7.2" +cortex-m = "0.7.3" cortex-m-rt = { version = ">=0.6.15,<0.8", optional = true } # BEGIN BUILD DEPENDENCIES diff --git a/xtask/Cargo.toml b/xtask/Cargo.toml index ffa06ea9e..1f9eabdf5 100644 --- a/xtask/Cargo.toml +++ b/xtask/Cargo.toml @@ -8,7 +8,7 @@ name = "xtask" version = "0.1.0" [dependencies] -anyhow = "1.0" -xshell = "0.1" -yaml-rust = "0.4" -walkdir = "2.3.2" \ No newline at end of file +anyhow = "1.0.43" +xshell = "0.1.17" +yaml-rust = "0.4.5" +walkdir = "2.3.2"