aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDario Nieuwenhuis <[email protected]>2021-09-11 00:10:46 +0200
committerDario Nieuwenhuis <[email protected]>2021-09-11 01:35:23 +0200
commitf2623e7e9b03bc6539827e8c9d1a9cb6dd7ede2e (patch)
treeb2b97c894dc78a907455a6718b9122d461ec87e5
parent9082e5f6c5982e7d220f54c8e64e0dd27c6c579d (diff)
Update lots of deps
-rw-r--r--.gitignore3
-rw-r--r--.vscode/settings.json3
-rw-r--r--embassy-hal-common/Cargo.toml8
-rw-r--r--embassy-macros/Cargo.toml8
-rw-r--r--embassy-net/Cargo.toml14
-rw-r--r--embassy-nrf/Cargo.toml26
-rw-r--r--embassy-rp/Cargo.toml10
-rw-r--r--embassy-stm32/Cargo.toml20
-rw-r--r--embassy-traits/Cargo.toml4
-rw-r--r--embassy/Cargo.toml22
-rw-r--r--embassy/src/util/mpsc.rs2
-rw-r--r--examples/nrf/Cargo.toml8
-rw-r--r--examples/rp/Cargo.toml10
-rw-r--r--examples/std/Cargo.toml18
-rw-r--r--examples/std/src/serial_port.rs9
-rw-r--r--examples/stm32f0/Cargo.toml8
-rw-r--r--examples/stm32f4/Cargo.toml16
-rw-r--r--examples/stm32g0/Cargo.toml14
-rw-r--r--examples/stm32h7/Cargo.toml16
-rw-r--r--examples/stm32l0/Cargo.toml14
-rw-r--r--examples/stm32l4/Cargo.toml14
-rw-r--r--examples/stm32wb55/Cargo.toml14
-rw-r--r--examples/stm32wl55/Cargo.toml14
-rw-r--r--stm32-metapac-gen/Cargo.toml8
-rw-r--r--stm32-metapac/Cargo.toml2
-rw-r--r--xtask/Cargo.toml8
26 files changed, 145 insertions, 148 deletions
diff --git a/.gitignore b/.gitignore
index 30628ed58..7faa2c32d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,5 +1,6 @@
1target 1target
2target_ci
2Cargo.lock 3Cargo.lock
3third_party 4third_party
4/Cargo.toml 5/Cargo.toml
5stm32-metapac-gen/out/ \ No newline at end of file 6stm32-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 @@
6 "rust-analyzer.checkOnSave.allTargets": false, 6 "rust-analyzer.checkOnSave.allTargets": false,
7 "rust-analyzer.cargo.noDefaultFeatures": true, 7 "rust-analyzer.cargo.noDefaultFeatures": true,
8 "rust-analyzer.checkOnSave.noDefaultFeatures": true, 8 "rust-analyzer.checkOnSave.noDefaultFeatures": true,
9 "rust-analyzer.cargo.target": "thumbv7em-none-eabi", 9 //"rust-analyzer.cargo.target": "thumbv7em-none-eabi",
10 "rust-analyzer.cargo.features": [ 10 "rust-analyzer.cargo.features": [
11 // These are needed to prevent embassy-net from failing to build 11 // These are needed to prevent embassy-net from failing to build
12 "embassy-net/medium-ethernet", 12 "embassy-net/medium-ethernet",
13 "embassy-net/tcp", 13 "embassy-net/tcp",
14 "embassy-net/pool-16",
15 ], 14 ],
16 "rust-analyzer.procMacro.enable": true, 15 "rust-analyzer.procMacro.enable": true,
17 "rust-analyzer.cargo.runBuildScripts": true, 16 "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 = [ ]
14[dependencies] 14[dependencies]
15embassy = { version = "0.1.0", path = "../embassy" } 15embassy = { version = "0.1.0", path = "../embassy" }
16 16
17defmt = { version = "0.2.0", optional = true } 17defmt = { version = "0.2.3", optional = true }
18log = { version = "0.4.11", optional = true } 18log = { version = "0.4.14", optional = true }
19cortex-m = "0.7.1" 19cortex-m = "0.7.3"
20usb-device = "0.2.7" 20usb-device = "0.2.8"
21num-traits = { version = "0.2.14", default-features = false } 21num-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 <[email protected]>"]
5edition = "2018" 5edition = "2018"
6 6
7[dependencies] 7[dependencies]
8syn = { version = "1.0.39", features = ["full", "extra-traits"] } 8syn = { version = "1.0.76", features = ["full", "extra-traits"] }
9quote = "1.0.7" 9quote = "1.0.9"
10darling = "0.10.2" 10darling = "0.13.0"
11proc-macro2 = "1.0.24" 11proc-macro2 = "1.0.29"
12 12
13[lib] 13[lib]
14proc-macro = true 14proc-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 = []
25 25
26[dependencies] 26[dependencies]
27 27
28defmt = { version = "0.2.0", optional = true } 28defmt = { version = "0.2.3", optional = true }
29log = { version = "0.4.11", optional = true } 29log = { version = "0.4.14", optional = true }
30 30
31embassy = { version = "0.1.0", path = "../embassy" } 31embassy = { version = "0.1.0", path = "../embassy" }
32 32
33managed = { version = "0.8.0", default-features = false, features = [ "map" ]} 33managed = { version = "0.8.0", default-features = false, features = [ "map" ] }
34heapless = { version = "0.7.1", default-features = false } 34heapless = { version = "0.7.5", default-features = false }
35as-slice = { version = "0.1.4" } 35as-slice = "0.2.1"
36generic-array = { version = "0.14.4", default-features = false } 36generic-array = { version = "0.14.4", default-features = false }
37stable_deref_trait = { version = "1.2.0", default-features = false } 37stable_deref_trait = { version = "1.2.0", default-features = false }
38futures = { version = "0.3.5", default-features = false, features = [ "async-await" ]} 38futures = { version = "0.3.17", default-features = false, features = [ "async-await" ] }
39atomic-pool = "0.2.0" 39atomic-pool = "0.2.1"
40 40
41[dependencies.smoltcp] 41[dependencies.smoltcp]
42git = "https://github.com/smoltcp-rs/smoltcp" 42git = "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" }
38embassy-macros = { version = "0.1.0", path = "../embassy-macros", features = ["nrf"]} 38embassy-macros = { version = "0.1.0", path = "../embassy-macros", features = ["nrf"]}
39embassy-hal-common = {version = "0.1.0", path = "../embassy-hal-common" } 39embassy-hal-common = {version = "0.1.0", path = "../embassy-hal-common" }
40 40
41defmt = { version = "0.2.0", optional = true } 41defmt = { version = "0.2.3", optional = true }
42log = { version = "0.4.11", optional = true } 42log = { version = "0.4.14", optional = true }
43cortex-m-rt = ">=0.6.15,<0.8" 43cortex-m-rt = ">=0.6.15,<0.8"
44cortex-m = "0.7.1" 44cortex-m = "0.7.3"
45embedded-hal = { version = "0.2.4" } 45embedded-hal = "0.2.6"
46embedded-dma = { version = "0.1.2" } 46embedded-dma = "0.1.2"
47futures = { version = "0.3.5", default-features = false } 47futures = { version = "0.3.17", default-features = false }
48critical-section = "0.2.1" 48critical-section = "0.2.1"
49rand_core = "0.6.3" 49rand_core = "0.6.3"
50 50
51nrf52805-pac = { version = "0.10.1", optional = true, features = [ "rt" ]} 51nrf52805-pac = { version = "0.10.1", optional = true, features = [ "rt" ] }
52nrf52810-pac = { version = "0.10.1", optional = true, features = [ "rt" ]} 52nrf52810-pac = { version = "0.10.1", optional = true, features = [ "rt" ] }
53nrf52811-pac = { version = "0.10.1", optional = true, features = [ "rt" ]} 53nrf52811-pac = { version = "0.10.1", optional = true, features = [ "rt" ] }
54nrf52820-pac = { version = "0.10.1", optional = true, features = [ "rt" ]} 54nrf52820-pac = { version = "0.10.1", optional = true, features = [ "rt" ] }
55nrf52832-pac = { version = "0.10.1", optional = true, features = [ "rt" ]} 55nrf52832-pac = { version = "0.10.1", optional = true, features = [ "rt" ] }
56nrf52833-pac = { version = "0.10.1", optional = true, features = [ "rt" ]} 56nrf52833-pac = { version = "0.10.1", optional = true, features = [ "rt" ] }
57nrf52840-pac = { version = "0.10.1", optional = true, features = [ "rt" ]} 57nrf52840-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 = [ ]
22embassy = { version = "0.1.0", path = "../embassy", features = [ "time-tick-1mhz" ] } 22embassy = { version = "0.1.0", path = "../embassy", features = [ "time-tick-1mhz" ] }
23embassy-hal-common = {version = "0.1.0", path = "../embassy-hal-common" } 23embassy-hal-common = {version = "0.1.0", path = "../embassy-hal-common" }
24embassy-macros = { version = "0.1.0", path = "../embassy-macros", features = ["rp"]} 24embassy-macros = { version = "0.1.0", path = "../embassy-macros", features = ["rp"]}
25atomic-polyfill = { version = "0.1.2" } 25atomic-polyfill = "0.1.3"
26defmt = { version = "0.2.0", optional = true } 26defmt = { version = "0.2.3", optional = true }
27log = { version = "0.4.11", optional = true } 27log = { version = "0.4.14", optional = true }
28cortex-m-rt = ">=0.6.15,<0.8" 28cortex-m-rt = ">=0.6.15,<0.8"
29cortex-m = "0.7.1" 29cortex-m = "0.7.3"
30critical-section = "0.2.1" 30critical-section = "0.2.1"
31 31
32rp2040-pac2 = { git = "https://github.com/embassy-rs/rp2040-pac2", rev="9ad7223a48a065e612bc7dc7be5bf5bd0b41cfc4", features = ["rt"] } 32rp2040-pac2 = { git = "https://github.com/embassy-rs/rp2040-pac2", rev="9ad7223a48a065e612bc7dc7be5bf5bd0b41cfc4", features = ["rt"] }
33#rp2040-pac2 = { path = "../../rp/rp2040-pac2", features = ["rt"] } 33#rp2040-pac2 = { path = "../../rp/rp2040-pac2", features = ["rt"] }
34embedded-hal = { version = "0.2.4", features = [ "unproven" ] } 34embedded-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" }
12embassy-traits = {version = "0.1.0", path = "../embassy-traits" } 12embassy-traits = {version = "0.1.0", path = "../embassy-traits" }
13embassy-net = { version = "0.1.0", path = "../embassy-net", default-features = false, optional = true } 13embassy-net = { version = "0.1.0", path = "../embassy-net", default-features = false, optional = true }
14 14
15defmt = { version = "0.2.0", optional = true } 15defmt = { version = "0.2.3", optional = true }
16log = { version = "0.4.11", optional = true } 16log = { version = "0.4.14", optional = true }
17cortex-m-rt = ">=0.6.15,<0.8" 17cortex-m-rt = ">=0.6.15,<0.8"
18cortex-m = "0.7.1" 18cortex-m = "0.7.3"
19embedded-hal = { version = "0.2.4", features = ["unproven"] } 19embedded-hal = { version = "0.2.6", features = ["unproven"] }
20futures = { version = "0.3.5", default-features = false, features = ["async-await"] } 20futures = { version = "0.3.17", default-features = false, features = ["async-await"] }
21rand_core = { version = "0.6.2" } 21rand_core = "0.6.3"
22sdio-host = { version = "0.5.0" } 22sdio-host = "0.5.0"
23embedded-sdmmc = { git = "https://github.com/thalesfragoso/embedded-sdmmc-rs", branch = "async", optional = true } 23embedded-sdmmc = { git = "https://github.com/thalesfragoso/embedded-sdmmc-rs", branch = "async", optional = true }
24critical-section = "0.2.1" 24critical-section = "0.2.1"
25bare-metal = "1.0.0" 25bare-metal = "1.0.0"
26atomic-polyfill = "0.1.3" 26atomic-polyfill = "0.1.3"
27stm32-metapac = { version = "0.1.0", path = "../stm32-metapac", features = ["rt"] } 27stm32-metapac = { version = "0.1.0", path = "../stm32-metapac", features = ["rt"] }
28vcell = { version = "0.1.3", optional = true } 28vcell = { version = "0.1.3", optional = true }
29bxcan = { version = "0.5.1" } 29bxcan = "0.5.1"
30 30
31cfg-if = "1.0.0" 31cfg-if = "1.0.0"
32 32
33[build-dependencies] 33[build-dependencies]
34stm32-metapac = { version = "0.1.0", path = "../stm32-metapac", default-features = false } 34stm32-metapac = { version = "0.1.0", path = "../stm32-metapac", default-features = false }
35serde = { version = "1.0.123", features = [ "derive" ]} 35serde = { version = "1.0.130", features = [ "derive" ] }
36serde_yaml = "0.8.15" 36serde_yaml = "0.8.21"
37 37
38[features] 38[features]
39defmt-trace = [ ] 39defmt-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"
8std = [] 8std = []
9 9
10[dependencies] 10[dependencies]
11defmt = { version = "0.2.0", optional = true } 11defmt = { version = "0.2.3", optional = true }
12embedded-hal = { version = "0.2.3", features = ["unproven"] } 12embedded-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 = []
31executor-agnostic = [] 31executor-agnostic = []
32 32
33[dependencies] 33[dependencies]
34defmt = { version = "0.2.0", optional = true } 34defmt = { version = "0.2.3", optional = true }
35log = { version = "0.4.11", optional = true } 35log = { version = "0.4.14", optional = true }
36 36
37cortex-m = "0.7.1" 37cortex-m = "0.7.3"
38futures = { version = "0.3.5", default-features = false, features = [ "cfg-target-has-atomic", "unstable" ] } 38futures = { version = "0.3.17", default-features = false, features = [ "cfg-target-has-atomic", "unstable" ] }
39pin-project = { version = "1.0.2", default-features = false } 39pin-project = { version = "1.0.8", default-features = false }
40embassy-macros = { version = "0.1.0", path = "../embassy-macros"} 40embassy-macros = { version = "0.1.0", path = "../embassy-macros"}
41embassy-traits = { version = "0.1.0", path = "../embassy-traits"} 41embassy-traits = { version = "0.1.0", path = "../embassy-traits"}
42atomic-polyfill = { version = "0.1.1" } 42atomic-polyfill = "0.1.3"
43critical-section = "0.2.1" 43critical-section = "0.2.1"
44embedded-hal = "0.2.5" 44embedded-hal = "0.2.6"
45 45
46[dev-dependencies] 46[dev-dependencies]
47embassy = { path = ".", features = ["executor-agnostic"] } 47embassy = { path = ".", features = ["executor-agnostic"] }
48futures-executor = { version = "0.3", features = [ "thread-pool" ] } 48futures-executor = { version = "0.3.17", features = [ "thread-pool" ] }
49futures-test = "0.3" 49futures-test = "0.3.17"
50futures-timer = "0.3" 50futures-timer = "3.0.2"
51futures-util = { version = "0.3", features = [ "channel" ] } 51futures-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 {
868 let send_task_2 = executor.spawn_with_handle(async move { s1.send(3).await }); 868 let send_task_2 = executor.spawn_with_handle(async move { s1.send(3).await });
869 // Wish I could think of a means of determining that the async send is waiting instead. 869 // Wish I could think of a means of determining that the async send is waiting instead.
870 // However, I've used the debugger to observe that the send does indeed wait. 870 // However, I've used the debugger to observe that the send does indeed wait.
871 assert!(Delay::new(Duration::from_millis(500)).await.is_ok()); 871 Delay::new(Duration::from_millis(500)).await;
872 assert_eq!(r.recv().await, Some(1)); 872 assert_eq!(r.recv().await, Some(1));
873 assert!(executor 873 assert!(executor
874 .spawn(async move { while let Some(_) = r.recv().await {} }) 874 .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
21embassy-traits = { version = "0.1.0", path = "../../embassy-traits", features = ["defmt"] } 21embassy-traits = { version = "0.1.0", path = "../../embassy-traits", features = ["defmt"] }
22embassy-nrf = { version = "0.1.0", path = "../../embassy-nrf", features = ["defmt", "defmt-trace", "nrf52840", "time-driver-rtc1", "gpiote"] } 22embassy-nrf = { version = "0.1.0", path = "../../embassy-nrf", features = ["defmt", "defmt-trace", "nrf52840", "time-driver-rtc1", "gpiote"] }
23 23
24defmt = "0.2.0" 24defmt = "0.2.3"
25defmt-rtt = "0.2.0" 25defmt-rtt = "0.2.0"
26 26
27cortex-m = { version = "0.7.1", features = ["inline-asm"] } 27cortex-m = { version = "0.7.3", features = ["inline-asm"] }
28cortex-m-rt = "0.7.0" 28cortex-m-rt = "0.7.0"
29embedded-hal = { version = "0.2.4" } 29embedded-hal = "0.2.6"
30panic-probe = { version = "0.2.0", features = ["print-defmt"] } 30panic-probe = { version = "0.2.0", features = ["print-defmt"] }
31futures = { version = "0.3.8", default-features = false, features = ["async-await"] } 31futures = { version = "0.3.17", default-features = false, features = ["async-await"] }
32rand = { version = "0.8.4", default-features = false } 32rand = { 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 = []
19[dependencies] 19[dependencies]
20embassy = { version = "0.1.0", path = "../../embassy", features = ["defmt", "defmt-trace"] } 20embassy = { version = "0.1.0", path = "../../embassy", features = ["defmt", "defmt-trace"] }
21embassy-rp = { version = "0.1.0", path = "../../embassy-rp", features = ["defmt", "defmt-trace"] } 21embassy-rp = { version = "0.1.0", path = "../../embassy-rp", features = ["defmt", "defmt-trace"] }
22atomic-polyfill = { version = "0.1.1" } 22atomic-polyfill = "0.1.3"
23 23
24defmt = "0.2.0" 24defmt = "0.2.3"
25defmt-rtt = "0.2.0" 25defmt-rtt = "0.2.0"
26 26
27cortex-m = { version = "0.7.1", features = ["inline-asm"] } 27cortex-m = { version = "0.7.3", features = ["inline-asm"] }
28cortex-m-rt = "0.7.0" 28cortex-m-rt = "0.7.0"
29embedded-hal = { version = "0.2.4" } 29embedded-hal = "0.2.6"
30panic-probe = { version = "0.2.0", features = ["print-defmt"] } 30panic-probe = { version = "0.2.0", features = ["print-defmt"] }
31futures = { version = "0.3.8", default-features = false, features = ["async-await", "cfg-target-has-atomic", "unstable"] } 31futures = { version = "0.3.17", default-features = false, features = ["async-await", "cfg-target-has-atomic", "unstable"] }
32display-interface-spi = "0.4.1" 32display-interface-spi = "0.4.1"
33embedded-graphics = "0.7.1" 33embedded-graphics = "0.7.1"
34st7789 = "0.6.1" 34st7789 = "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",
9embassy-net = { version = "0.1.0", path = "../../embassy-net", features=["std", "log", "medium-ethernet", "tcp", "dhcpv4"] } 9embassy-net = { version = "0.1.0", path = "../../embassy-net", features=["std", "log", "medium-ethernet", "tcp", "dhcpv4"] }
10smoltcp = { git = "https://github.com/smoltcp-rs/smoltcp", rev="e4241510337e095b9d21136c5f58b2eaa1b78479", default-features = false } 10smoltcp = { git = "https://github.com/smoltcp-rs/smoltcp", rev="e4241510337e095b9d21136c5f58b2eaa1b78479", default-features = false }
11 11
12async-io = "1.3.1" 12async-io = "1.6.0"
13env_logger = "0.8.2" 13env_logger = "0.9.0"
14futures = { version = "0.3.8", default-features = false, features = ["async-await"] } 14futures = { version = "0.3.17", default-features = false, features = ["async-await"] }
15log = "0.4.11" 15log = "0.4.14"
16nix = "0.21.0" 16nix = "0.22.1"
17libc = "0.2.81" 17libc = "0.2.101"
18clap = { version = "3.0.0-beta.2", features = ["derive"] } 18clap = { version = "3.0.0-beta.4", features = ["derive"] }
19rand_core = { version = "0.6.0", features = ["std"] } 19rand_core = { version = "0.6.3", features = ["std"] }
20heapless = { version = "0.7.1", default-features = false } 20heapless = { 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 @@
1use nix::errno::Errno;
1use nix::fcntl::OFlag; 2use nix::fcntl::OFlag;
2use nix::sys::termios; 3use nix::sys::termios;
3use nix::Error;
4use std::io; 4use std::io;
5use std::os::unix::io::{AsRawFd, RawFd}; 5use std::os::unix::io::{AsRawFd, RawFd};
6 6
@@ -63,9 +63,6 @@ impl io::Write for SerialPort {
63 } 63 }
64} 64}
65 65
66fn to_io_error(e: Error) -> io::Error { 66fn to_io_error(e: Errno) -> io::Error {
67 match e { 67 e.into()
68 Error::Sys(errno) => errno.into(),
69 e => io::Error::new(io::ErrorKind::InvalidInput, e),
70 }
71} 68}
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"
8# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html 8# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
9 9
10[dependencies] 10[dependencies]
11cortex-m = { version = "0.7.1", features = ["inline-asm"] } 11cortex-m = { version = "0.7.3", features = ["inline-asm"] }
12cortex-m-rt = "0.7.0" 12cortex-m-rt = "0.7.0"
13defmt = "0.2.0" 13defmt = "0.2.3"
14defmt-rtt = "0.2.0" 14defmt-rtt = "0.2.0"
15panic-probe = { version = "0.2.0" } 15panic-probe = "0.2.0"
16rtt-target = { version = "0.3", features = ["cortex-m"] } 16rtt-target = { version = "0.3.1", features = ["cortex-m"] }
17embassy = { path = "../../embassy", features = ["defmt"] } 17embassy = { path = "../../embassy", features = ["defmt"] }
18embassy-stm32 = { path = "../../embassy-stm32", features = ["defmt", "stm32f030f4", "time-driver-tim3"] } 18embassy-stm32 = { path = "../../embassy-stm32", features = ["defmt", "stm32f030f4", "time-driver-tim3"] }
19 19
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 =
22embassy-stm32 = { version = "0.1.0", path = "../../embassy-stm32", features = ["defmt", "defmt-trace", "stm32f429zi", "unstable-pac", "memory-x", "time-driver-tim2"] } 22embassy-stm32 = { version = "0.1.0", path = "../../embassy-stm32", features = ["defmt", "defmt-trace", "stm32f429zi", "unstable-pac", "memory-x", "time-driver-tim2"] }
23embassy-hal-common = {version = "0.1.0", path = "../../embassy-hal-common" } 23embassy-hal-common = {version = "0.1.0", path = "../../embassy-hal-common" }
24 24
25defmt = "0.2.0" 25defmt = "0.2.3"
26defmt-rtt = "0.2.0" 26defmt-rtt = "0.2.0"
27 27
28cortex-m = "0.7.1" 28cortex-m = "0.7.3"
29cortex-m-rt = "0.7.0" 29cortex-m-rt = "0.7.0"
30embedded-hal = { version = "0.2.4" } 30embedded-hal = "0.2.6"
31panic-probe = { version = "0.2.0", features= ["print-defmt"] } 31panic-probe = { version = "0.2.0", features = ["print-defmt"] }
32futures = { version = "0.3.8", default-features = false, features = ["async-await"] } 32futures = { version = "0.3.17", default-features = false, features = ["async-await"] }
33rtt-target = { version = "0.3", features = ["cortex-m"] } 33rtt-target = { version = "0.3.1", features = ["cortex-m"] }
34heapless = { version = "0.7.1", default-features = false } 34heapless = { version = "0.7.5", default-features = false }
35nb = { version = "1.0" } 35nb = "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 =
22embassy-stm32 = { version = "0.1.0", path = "../../embassy-stm32", features = ["defmt", "defmt-trace", "time-driver-tim2", "stm32g071rb", "unstable-pac"] } 22embassy-stm32 = { version = "0.1.0", path = "../../embassy-stm32", features = ["defmt", "defmt-trace", "time-driver-tim2", "stm32g071rb", "unstable-pac"] }
23embassy-hal-common = {version = "0.1.0", path = "../../embassy-hal-common" } 23embassy-hal-common = {version = "0.1.0", path = "../../embassy-hal-common" }
24 24
25defmt = "0.2.0" 25defmt = "0.2.3"
26defmt-rtt = "0.2.0" 26defmt-rtt = "0.2.0"
27 27
28cortex-m = "0.7.1" 28cortex-m = "0.7.3"
29cortex-m-rt = "0.7.0" 29cortex-m-rt = "0.7.0"
30embedded-hal = { version = "0.2.4" } 30embedded-hal = "0.2.6"
31panic-probe = { version = "0.2.0", features= ["print-defmt"] } 31panic-probe = { version = "0.2.0", features = ["print-defmt"] }
32futures = { version = "0.3.8", default-features = false, features = ["async-await"] } 32futures = { version = "0.3.17", default-features = false, features = ["async-await"] }
33rtt-target = { version = "0.3", features = ["cortex-m"] } 33rtt-target = { version = "0.3.1", features = ["cortex-m"] }
34heapless = { version = "0.7.1", default-features = false } 34heapless = { 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" }
24embassy-net = { path = "../../embassy-net", default-features = false, features = ["defmt-debug", "defmt", "tcp", "medium-ethernet", "pool-16"] } 24embassy-net = { path = "../../embassy-net", default-features = false, features = ["defmt-debug", "defmt", "tcp", "medium-ethernet", "pool-16"] }
25embassy-macros = { path = "../../embassy-macros" } 25embassy-macros = { path = "../../embassy-macros" }
26 26
27defmt = "0.2.0" 27defmt = "0.2.3"
28defmt-rtt = "0.2.0" 28defmt-rtt = "0.2.0"
29 29
30cortex-m = "0.7.1" 30cortex-m = "0.7.3"
31cortex-m-rt = "0.7.0" 31cortex-m-rt = "0.7.0"
32embedded-hal = { version = "0.2.4" } 32embedded-hal = "0.2.6"
33panic-probe = { version = "0.2.0", features= ["print-defmt"] } 33panic-probe = { version = "0.2.0", features = ["print-defmt"] }
34futures = { version = "0.3.8", default-features = false, features = ["async-await"] } 34futures = { version = "0.3.17", default-features = false, features = ["async-await"] }
35rtt-target = { version = "0.3", features = ["cortex-m"] } 35rtt-target = { version = "0.3.1", features = ["cortex-m"] }
36heapless = { version = "0.7.1", default-features = false } 36heapless = { version = "0.7.5", default-features = false }
37rand_core = { version = "0.6.2" } 37rand_core = "0.6.3"
38critical-section = "0.2.1" 38critical-section = "0.2.1"
39 39
40micromath = "2.0.0" 40micromath = "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 = ["
23embassy-hal-common = {version = "0.1.0", path = "../../embassy-hal-common" } 23embassy-hal-common = {version = "0.1.0", path = "../../embassy-hal-common" }
24embassy-macros = { path = "../../embassy-macros" } 24embassy-macros = { path = "../../embassy-macros" }
25 25
26defmt = "0.2.0" 26defmt = "0.2.3"
27defmt-rtt = "0.2.0" 27defmt-rtt = "0.2.0"
28 28
29cortex-m = "0.7.1" 29cortex-m = "0.7.3"
30cortex-m-rt = "0.7.0" 30cortex-m-rt = "0.7.0"
31embedded-hal = { version = "0.2.4" } 31embedded-hal = "0.2.6"
32panic-probe = { version = "0.2.0", features= ["print-defmt"] } 32panic-probe = { version = "0.2.0", features = ["print-defmt"] }
33futures = { version = "0.3.8", default-features = false, features = ["async-await"] } 33futures = { version = "0.3.17", default-features = false, features = ["async-await"] }
34rtt-target = { version = "0.3", features = ["cortex-m"] } 34rtt-target = { version = "0.3.1", features = ["cortex-m"] }
35heapless = { version = "0.7.1", default-features = false } 35heapless = { 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 =
22embassy-stm32 = { version = "0.1.0", path = "../../embassy-stm32", features = ["defmt", "defmt-trace", "unstable-pac", "stm32l4s5vi", "time-driver-tim2"] } 22embassy-stm32 = { version = "0.1.0", path = "../../embassy-stm32", features = ["defmt", "defmt-trace", "unstable-pac", "stm32l4s5vi", "time-driver-tim2"] }
23embassy-hal-common = {version = "0.1.0", path = "../../embassy-hal-common" } 23embassy-hal-common = {version = "0.1.0", path = "../../embassy-hal-common" }
24 24
25defmt = "0.2.0" 25defmt = "0.2.3"
26defmt-rtt = "0.2.0" 26defmt-rtt = "0.2.0"
27 27
28cortex-m = "0.7.1" 28cortex-m = "0.7.3"
29cortex-m-rt = "0.7.0" 29cortex-m-rt = "0.7.0"
30embedded-hal = { version = "0.2.4" } 30embedded-hal = "0.2.6"
31panic-probe = { version = "0.2.0", features= ["print-defmt"] } 31panic-probe = { version = "0.2.0", features = ["print-defmt"] }
32futures = { version = "0.3.8", default-features = false, features = ["async-await"] } 32futures = { version = "0.3.17", default-features = false, features = ["async-await"] }
33rtt-target = { version = "0.3", features = ["cortex-m"] } 33rtt-target = { version = "0.3.1", features = ["cortex-m"] }
34heapless = { version = "0.7.1", default-features = false } 34heapless = { version = "0.7.5", default-features = false }
35 35
36micromath = "2.0.0" 36micromath = "2.0.0"
37 37
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 =
22embassy-stm32 = { version = "0.1.0", path = "../../embassy-stm32", features = ["defmt", "defmt-trace", "stm32wb55cc", "time-driver-tim2"] } 22embassy-stm32 = { version = "0.1.0", path = "../../embassy-stm32", features = ["defmt", "defmt-trace", "stm32wb55cc", "time-driver-tim2"] }
23embassy-hal-common = {version = "0.1.0", path = "../../embassy-hal-common" } 23embassy-hal-common = {version = "0.1.0", path = "../../embassy-hal-common" }
24 24
25defmt = "0.2.0" 25defmt = "0.2.3"
26defmt-rtt = "0.2.0" 26defmt-rtt = "0.2.0"
27 27
28cortex-m = "0.7.1" 28cortex-m = "0.7.3"
29cortex-m-rt = "0.7.0" 29cortex-m-rt = "0.7.0"
30embedded-hal = { version = "0.2.4" } 30embedded-hal = "0.2.6"
31panic-probe = { version = "0.2.0", features= ["print-defmt"] } 31panic-probe = { version = "0.2.0", features = ["print-defmt"] }
32futures = { version = "0.3.8", default-features = false, features = ["async-await"] } 32futures = { version = "0.3.17", default-features = false, features = ["async-await"] }
33rtt-target = { version = "0.3", features = ["cortex-m"] } 33rtt-target = { version = "0.3.1", features = ["cortex-m"] }
34heapless = { version = "0.7.1", default-features = false } 34heapless = { 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 =
22embassy-stm32 = { version = "0.1.0", path = "../../embassy-stm32", features = ["defmt", "defmt-trace", "stm32wl55jc_cm4", "time-driver-tim2", "memory-x", "subghz"] } 22embassy-stm32 = { version = "0.1.0", path = "../../embassy-stm32", features = ["defmt", "defmt-trace", "stm32wl55jc_cm4", "time-driver-tim2", "memory-x", "subghz"] }
23embassy-hal-common = {version = "0.1.0", path = "../../embassy-hal-common" } 23embassy-hal-common = {version = "0.1.0", path = "../../embassy-hal-common" }
24 24
25defmt = "0.2.0" 25defmt = "0.2.3"
26defmt-rtt = "0.2.0" 26defmt-rtt = "0.2.0"
27 27
28cortex-m = "0.7.1" 28cortex-m = "0.7.3"
29cortex-m-rt = "0.7.0" 29cortex-m-rt = "0.7.0"
30embedded-hal = { version = "0.2.4" } 30embedded-hal = "0.2.6"
31panic-probe = { version = "0.2.0", features= ["print-defmt"] } 31panic-probe = { version = "0.2.0", features = ["print-defmt"] }
32futures = { version = "0.3.8", default-features = false, features = ["async-await"] } 32futures = { version = "0.3.17", default-features = false, features = ["async-await"] }
33rtt-target = { version = "0.3", features = ["cortex-m"] } 33rtt-target = { version = "0.3.1", features = ["cortex-m"] }
34heapless = { version = "0.7.1", default-features = false } 34heapless = { 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"
5 5
6 6
7[dependencies] 7[dependencies]
8regex = "1.4.6" 8regex = "1.5.4"
9chiptool = { git = "https://github.com/embassy-rs/chiptool", rev = "31c3c09197d63d29eddbf4c70d6158edac0ac5d3" } 9chiptool = { git = "https://github.com/embassy-rs/chiptool", rev = "31c3c09197d63d29eddbf4c70d6158edac0ac5d3" }
10serde = { version = "1.0.123", features = [ "derive" ]} 10serde = { version = "1.0.130", features = [ "derive" ] }
11serde_yaml = "0.8.15" 11serde_yaml = "0.8.21"
12proc-macro2 = "1.0" 12proc-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"
5resolver = "2" 5resolver = "2"
6 6
7[dependencies] 7[dependencies]
8cortex-m = "0.7.2" 8cortex-m = "0.7.3"
9cortex-m-rt = { version = ">=0.6.15,<0.8", optional = true } 9cortex-m-rt = { version = ">=0.6.15,<0.8", optional = true }
10 10
11# BEGIN BUILD DEPENDENCIES 11# 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"
8version = "0.1.0" 8version = "0.1.0"
9 9
10[dependencies] 10[dependencies]
11anyhow = "1.0" 11anyhow = "1.0.43"
12xshell = "0.1" 12xshell = "0.1.17"
13yaml-rust = "0.4" 13yaml-rust = "0.4.5"
14walkdir = "2.3.2" \ No newline at end of file 14walkdir = "2.3.2"