aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2022-08-17 17:05:37 +0000
committerGitHub <[email protected]>2022-08-17 17:05:37 +0000
commitd881f3ad9186cf3279aa1ba27093bad94035c186 (patch)
treee9d4cf483195fce6c8c34c514fc9a5e338771ce9
parent16d0ae76782475c0f759c3310e068507a0a9f8ab (diff)
parent67edea41686084a444e1455d17d5482b10c54abd (diff)
Merge #901
901: Update to critical-section 1.0, atomic-polyfill 1.0 r=Dirbaio a=Dirbaio TODO - [x] Wait for cortex-m 0.7.6 release https://github.com/rust-embedded/cortex-m/pull/449 - [x] ~~Wait for defmt-rtt 0.4 release https://github.com/knurling-rs/defmt/pull/689~~ we're still going to use defmt 0.3 for now, which will use the `critical-section` 0.2 default impl, which works. - [x] Wait for critical-secton `std` impl https://github.com/rust-embedded/critical-section/pull/22 Co-authored-by: Dario Nieuwenhuis <[email protected]>
-rw-r--r--embassy-boot/nrf/Cargo.toml2
-rw-r--r--embassy-boot/stm32/Cargo.toml2
-rw-r--r--embassy-cortex-m/Cargo.toml6
-rw-r--r--embassy-executor/Cargo.toml4
-rw-r--r--embassy-nrf/Cargo.toml4
-rw-r--r--embassy-rp/Cargo.toml6
-rw-r--r--embassy-stm32/Cargo.toml7
-rw-r--r--embassy-stm32/src/interrupt.rs3
-rw-r--r--embassy-util/Cargo.toml7
-rw-r--r--examples/boot/application/nrf/Cargo.toml2
-rw-r--r--examples/boot/application/stm32f3/Cargo.toml2
-rw-r--r--examples/boot/application/stm32f7/Cargo.toml2
-rw-r--r--examples/boot/application/stm32h7/Cargo.toml2
-rw-r--r--examples/boot/application/stm32l0/Cargo.toml2
-rw-r--r--examples/boot/application/stm32l1/Cargo.toml2
-rw-r--r--examples/boot/application/stm32l4/Cargo.toml2
-rw-r--r--examples/boot/application/stm32wl/Cargo.toml2
-rw-r--r--examples/boot/bootloader/nrf/Cargo.toml2
-rw-r--r--examples/boot/bootloader/stm32/Cargo.toml2
-rw-r--r--examples/nrf/Cargo.toml2
-rw-r--r--examples/rp/Cargo.toml3
-rw-r--r--examples/std/Cargo.toml1
-rw-r--r--examples/stm32f0/Cargo.toml2
-rw-r--r--examples/stm32f1/Cargo.toml2
-rw-r--r--examples/stm32f2/Cargo.toml2
-rw-r--r--examples/stm32f3/Cargo.toml2
-rw-r--r--examples/stm32f4/Cargo.toml2
-rw-r--r--examples/stm32f7/Cargo.toml4
-rw-r--r--examples/stm32g0/Cargo.toml2
-rw-r--r--examples/stm32g4/Cargo.toml2
-rw-r--r--examples/stm32h7/Cargo.toml4
-rw-r--r--examples/stm32l0/Cargo.toml2
-rw-r--r--examples/stm32l1/Cargo.toml2
-rw-r--r--examples/stm32l4/Cargo.toml2
-rw-r--r--examples/stm32l5/Cargo.toml2
-rw-r--r--examples/stm32u5/Cargo.toml2
-rw-r--r--examples/stm32wb/Cargo.toml2
-rw-r--r--examples/stm32wl/Cargo.toml2
-rw-r--r--examples/wasm/Cargo.toml2
-rw-r--r--stm32-metapac/Cargo.toml2
-rw-r--r--tests/rp/Cargo.toml2
-rw-r--r--tests/stm32/Cargo.toml2
42 files changed, 56 insertions, 55 deletions
diff --git a/embassy-boot/nrf/Cargo.toml b/embassy-boot/nrf/Cargo.toml
index 4db6892b9..b06e8102c 100644
--- a/embassy-boot/nrf/Cargo.toml
+++ b/embassy-boot/nrf/Cargo.toml
@@ -18,7 +18,7 @@ defmt = { version = "0.3", optional = true }
18embassy-util = { path = "../../embassy-util" } 18embassy-util = { path = "../../embassy-util" }
19embassy-nrf = { path = "../../embassy-nrf", default-features = false, features = ["nightly"] } 19embassy-nrf = { path = "../../embassy-nrf", default-features = false, features = ["nightly"] }
20embassy-boot = { path = "../boot", default-features = false } 20embassy-boot = { path = "../boot", default-features = false }
21cortex-m = { version = "0.7" } 21cortex-m = { version = "0.7.6" }
22cortex-m-rt = { version = "0.7" } 22cortex-m-rt = { version = "0.7" }
23embedded-storage = "0.3.0" 23embedded-storage = "0.3.0"
24embedded-storage-async = "0.3.0" 24embedded-storage-async = "0.3.0"
diff --git a/embassy-boot/stm32/Cargo.toml b/embassy-boot/stm32/Cargo.toml
index f891f7691..d8f492531 100644
--- a/embassy-boot/stm32/Cargo.toml
+++ b/embassy-boot/stm32/Cargo.toml
@@ -20,7 +20,7 @@ log = { version = "0.4", optional = true }
20embassy-util = { path = "../../embassy-util" } 20embassy-util = { path = "../../embassy-util" }
21embassy-stm32 = { path = "../../embassy-stm32", default-features = false, features = ["nightly"] } 21embassy-stm32 = { path = "../../embassy-stm32", default-features = false, features = ["nightly"] }
22embassy-boot = { path = "../boot", default-features = false } 22embassy-boot = { path = "../boot", default-features = false }
23cortex-m = { version = "0.7" } 23cortex-m = { version = "0.7.6" }
24cortex-m-rt = { version = "0.7" } 24cortex-m-rt = { version = "0.7" }
25embedded-storage = "0.3.0" 25embedded-storage = "0.3.0"
26embedded-storage-async = "0.3.0" 26embedded-storage-async = "0.3.0"
diff --git a/embassy-cortex-m/Cargo.toml b/embassy-cortex-m/Cargo.toml
index 454f34e0b..1f16da31b 100644
--- a/embassy-cortex-m/Cargo.toml
+++ b/embassy-cortex-m/Cargo.toml
@@ -39,8 +39,8 @@ embassy-util = { version = "0.1.0", path = "../embassy-util" }
39embassy-executor = { version = "0.1.0", path = "../embassy-executor"} 39embassy-executor = { version = "0.1.0", path = "../embassy-executor"}
40embassy-macros = { version = "0.1.0", path = "../embassy-macros"} 40embassy-macros = { version = "0.1.0", path = "../embassy-macros"}
41embassy-hal-common = { version = "0.1.0", path = "../embassy-hal-common"} 41embassy-hal-common = { version = "0.1.0", path = "../embassy-hal-common"}
42atomic-polyfill = "0.1.5" 42atomic-polyfill = "1.0.1"
43critical-section = "0.2.5" 43critical-section = "1.1"
44cfg-if = "1.0.0" 44cfg-if = "1.0.0"
45cortex-m = "0.7.3" 45cortex-m = "0.7.6"
46 46
diff --git a/embassy-executor/Cargo.toml b/embassy-executor/Cargo.toml
index d8ac4ac00..45d0d2de6 100644
--- a/embassy-executor/Cargo.toml
+++ b/embassy-executor/Cargo.toml
@@ -60,8 +60,8 @@ embedded-hal-async = { version = "0.1.0-alpha.1", optional = true}
60 60
61futures-util = { version = "0.3.17", default-features = false } 61futures-util = { version = "0.3.17", default-features = false }
62embassy-macros = { version = "0.1.0", path = "../embassy-macros"} 62embassy-macros = { version = "0.1.0", path = "../embassy-macros"}
63atomic-polyfill = "0.1.5" 63atomic-polyfill = "1.0.1"
64critical-section = "0.2.5" 64critical-section = "1.1"
65cfg-if = "1.0.0" 65cfg-if = "1.0.0"
66 66
67# WASM dependencies 67# WASM dependencies
diff --git a/embassy-nrf/Cargo.toml b/embassy-nrf/Cargo.toml
index 75780d417..72f4b538f 100644
--- a/embassy-nrf/Cargo.toml
+++ b/embassy-nrf/Cargo.toml
@@ -80,9 +80,9 @@ embedded-io = { version = "0.3.0", features = ["async"], optional = true }
80defmt = { version = "0.3", optional = true } 80defmt = { version = "0.3", optional = true }
81log = { version = "0.4.14", optional = true } 81log = { version = "0.4.14", optional = true }
82cortex-m-rt = ">=0.6.15,<0.8" 82cortex-m-rt = ">=0.6.15,<0.8"
83cortex-m = "0.7.3" 83cortex-m = "0.7.6"
84futures = { version = "0.3.17", default-features = false } 84futures = { version = "0.3.17", default-features = false }
85critical-section = "0.2.5" 85critical-section = "1.1"
86rand_core = "0.6.3" 86rand_core = "0.6.3"
87fixed = "1.10.0" 87fixed = "1.10.0"
88embedded-storage = "0.3.0" 88embedded-storage = "0.3.0"
diff --git a/embassy-rp/Cargo.toml b/embassy-rp/Cargo.toml
index 303617ffc..eeb4ec43d 100644
--- a/embassy-rp/Cargo.toml
+++ b/embassy-rp/Cargo.toml
@@ -33,12 +33,12 @@ embassy-cortex-m = { version = "0.1.0", path = "../embassy-cortex-m", features =
33embassy-hal-common = {version = "0.1.0", path = "../embassy-hal-common" } 33embassy-hal-common = {version = "0.1.0", path = "../embassy-hal-common" }
34embassy-embedded-hal = {version = "0.1.0", path = "../embassy-embedded-hal" } 34embassy-embedded-hal = {version = "0.1.0", path = "../embassy-embedded-hal" }
35embassy-macros = { version = "0.1.0", path = "../embassy-macros", features = ["rp"]} 35embassy-macros = { version = "0.1.0", path = "../embassy-macros", features = ["rp"]}
36atomic-polyfill = "0.1.5" 36atomic-polyfill = "1.0.1"
37defmt = { version = "0.3", optional = true } 37defmt = { version = "0.3", optional = true }
38log = { version = "0.4.14", optional = true } 38log = { version = "0.4.14", optional = true }
39cortex-m-rt = ">=0.6.15,<0.8" 39cortex-m-rt = ">=0.6.15,<0.8"
40cortex-m = "0.7.3" 40cortex-m = "0.7.6"
41critical-section = "0.2.5" 41critical-section = "1.1"
42futures = { version = "0.3.17", default-features = false, features = ["async-await"] } 42futures = { version = "0.3.17", default-features = false, features = ["async-await"] }
43 43
44rp2040-pac2 = { git = "https://github.com/embassy-rs/rp2040-pac2", rev="9ad7223a48a065e612bc7dc7be5bf5bd0b41cfc4", features = ["rt"] } 44rp2040-pac2 = { git = "https://github.com/embassy-rs/rp2040-pac2", rev="9ad7223a48a065e612bc7dc7be5bf5bd0b41cfc4", features = ["rt"] }
diff --git a/embassy-stm32/Cargo.toml b/embassy-stm32/Cargo.toml
index ff228cc85..7260f06d2 100644
--- a/embassy-stm32/Cargo.toml
+++ b/embassy-stm32/Cargo.toml
@@ -50,14 +50,13 @@ embedded-storage-async = { version = "0.3.0", optional = true }
50defmt = { version = "0.3", optional = true } 50defmt = { version = "0.3", optional = true }
51log = { version = "0.4.14", optional = true } 51log = { version = "0.4.14", optional = true }
52cortex-m-rt = ">=0.6.15,<0.8" 52cortex-m-rt = ">=0.6.15,<0.8"
53cortex-m = "0.7.3" 53cortex-m = "0.7.6"
54futures = { version = "0.3.17", default-features = false, features = ["async-await"] } 54futures = { version = "0.3.17", default-features = false, features = ["async-await"] }
55rand_core = "0.6.3" 55rand_core = "0.6.3"
56sdio-host = "0.5.0" 56sdio-host = "0.5.0"
57embedded-sdmmc = { git = "https://github.com/thalesfragoso/embedded-sdmmc-rs", branch = "async", optional = true } 57embedded-sdmmc = { git = "https://github.com/thalesfragoso/embedded-sdmmc-rs", branch = "async", optional = true }
58critical-section = "0.2.5" 58critical-section = "1.1"
59bare-metal = "1.0.0" 59atomic-polyfill = "1.0.1"
60atomic-polyfill = "0.1.5"
61stm32-metapac = { version = "0.1.0", path = "../stm32-metapac", features = ["rt"] } 60stm32-metapac = { version = "0.1.0", path = "../stm32-metapac", features = ["rt"] }
62vcell = "0.1.3" 61vcell = "0.1.3"
63bxcan = "0.7.0" 62bxcan = "0.7.0"
diff --git a/embassy-stm32/src/interrupt.rs b/embassy-stm32/src/interrupt.rs
index 9dc1f2044..b66e4c7ef 100644
--- a/embassy-stm32/src/interrupt.rs
+++ b/embassy-stm32/src/interrupt.rs
@@ -1,5 +1,4 @@
1pub use bare_metal::Mutex; 1pub use critical_section::{CriticalSection, Mutex};
2pub use critical_section::CriticalSection;
3pub use embassy_cortex_m::interrupt::*; 2pub use embassy_cortex_m::interrupt::*;
4 3
5pub use crate::_generated::interrupt::*; 4pub use crate::_generated::interrupt::*;
diff --git a/embassy-util/Cargo.toml b/embassy-util/Cargo.toml
index 00de5e850..d4708d735 100644
--- a/embassy-util/Cargo.toml
+++ b/embassy-util/Cargo.toml
@@ -17,8 +17,8 @@ defmt = { version = "0.3", optional = true }
17log = { version = "0.4.14", optional = true } 17log = { version = "0.4.14", optional = true }
18 18
19futures-util = { version = "0.3.17", default-features = false } 19futures-util = { version = "0.3.17", default-features = false }
20atomic-polyfill = "0.1.5" 20atomic-polyfill = "1.0.1"
21critical-section = "0.2.5" 21critical-section = "1.1"
22heapless = "0.7.5" 22heapless = "0.7.5"
23cfg-if = "1.0.0" 23cfg-if = "1.0.0"
24embedded-io = "0.3.0" 24embedded-io = "0.3.0"
@@ -28,3 +28,6 @@ futures-executor = { version = "0.3.17", features = [ "thread-pool" ] }
28futures-test = "0.3.17" 28futures-test = "0.3.17"
29futures-timer = "3.0.2" 29futures-timer = "3.0.2"
30futures-util = { version = "0.3.17", features = [ "channel" ] } 30futures-util = { version = "0.3.17", features = [ "channel" ] }
31
32# Enable critical-section implementation for std, for tests
33critical-section = { version = "1.1", features = ["std"] }
diff --git a/examples/boot/application/nrf/Cargo.toml b/examples/boot/application/nrf/Cargo.toml
index dd9bcc093..ca4fb984d 100644
--- a/examples/boot/application/nrf/Cargo.toml
+++ b/examples/boot/application/nrf/Cargo.toml
@@ -15,5 +15,5 @@ defmt-rtt = { version = "0.3", optional = true }
15panic-reset = { version = "0.1.1" } 15panic-reset = { version = "0.1.1" }
16embedded-hal = { version = "0.2.6" } 16embedded-hal = { version = "0.2.6" }
17 17
18cortex-m = "0.7.3" 18cortex-m = { version = "0.7.6", features = ["critical-section-single-core"] }
19cortex-m-rt = "0.7.0" 19cortex-m-rt = "0.7.0"
diff --git a/examples/boot/application/stm32f3/Cargo.toml b/examples/boot/application/stm32f3/Cargo.toml
index 313808a0d..17df18169 100644
--- a/examples/boot/application/stm32f3/Cargo.toml
+++ b/examples/boot/application/stm32f3/Cargo.toml
@@ -15,7 +15,7 @@ defmt-rtt = { version = "0.3", optional = true }
15panic-reset = { version = "0.1.1" } 15panic-reset = { version = "0.1.1" }
16embedded-hal = { version = "0.2.6" } 16embedded-hal = { version = "0.2.6" }
17 17
18cortex-m = "0.7.3" 18cortex-m = { version = "0.7.6", features = ["critical-section-single-core"] }
19cortex-m-rt = "0.7.0" 19cortex-m-rt = "0.7.0"
20 20
21[features] 21[features]
diff --git a/examples/boot/application/stm32f7/Cargo.toml b/examples/boot/application/stm32f7/Cargo.toml
index 2a4741dc7..e3a3ff380 100644
--- a/examples/boot/application/stm32f7/Cargo.toml
+++ b/examples/boot/application/stm32f7/Cargo.toml
@@ -15,7 +15,7 @@ defmt-rtt = { version = "0.3", optional = true }
15panic-reset = { version = "0.1.1" } 15panic-reset = { version = "0.1.1" }
16embedded-hal = { version = "0.2.6" } 16embedded-hal = { version = "0.2.6" }
17 17
18cortex-m = "0.7.3" 18cortex-m = { version = "0.7.6", features = ["critical-section-single-core"] }
19cortex-m-rt = "0.7.0" 19cortex-m-rt = "0.7.0"
20 20
21[features] 21[features]
diff --git a/examples/boot/application/stm32h7/Cargo.toml b/examples/boot/application/stm32h7/Cargo.toml
index c6420e8ad..24dd34106 100644
--- a/examples/boot/application/stm32h7/Cargo.toml
+++ b/examples/boot/application/stm32h7/Cargo.toml
@@ -15,7 +15,7 @@ defmt-rtt = { version = "0.3", optional = true }
15panic-reset = { version = "0.1.1" } 15panic-reset = { version = "0.1.1" }
16embedded-hal = { version = "0.2.6" } 16embedded-hal = { version = "0.2.6" }
17 17
18cortex-m = "0.7.3" 18cortex-m = { version = "0.7.6", features = ["critical-section-single-core"] }
19cortex-m-rt = "0.7.0" 19cortex-m-rt = "0.7.0"
20 20
21[features] 21[features]
diff --git a/examples/boot/application/stm32l0/Cargo.toml b/examples/boot/application/stm32l0/Cargo.toml
index a6936419c..48659d801 100644
--- a/examples/boot/application/stm32l0/Cargo.toml
+++ b/examples/boot/application/stm32l0/Cargo.toml
@@ -15,7 +15,7 @@ defmt-rtt = { version = "0.3", optional = true }
15panic-reset = { version = "0.1.1" } 15panic-reset = { version = "0.1.1" }
16embedded-hal = { version = "0.2.6" } 16embedded-hal = { version = "0.2.6" }
17 17
18cortex-m = "0.7.3" 18cortex-m = { version = "0.7.6", features = ["critical-section-single-core"] }
19cortex-m-rt = "0.7.0" 19cortex-m-rt = "0.7.0"
20 20
21[features] 21[features]
diff --git a/examples/boot/application/stm32l1/Cargo.toml b/examples/boot/application/stm32l1/Cargo.toml
index 5e53cd5f6..f96933269 100644
--- a/examples/boot/application/stm32l1/Cargo.toml
+++ b/examples/boot/application/stm32l1/Cargo.toml
@@ -15,7 +15,7 @@ defmt-rtt = { version = "0.3", optional = true }
15panic-reset = { version = "0.1.1" } 15panic-reset = { version = "0.1.1" }
16embedded-hal = { version = "0.2.6" } 16embedded-hal = { version = "0.2.6" }
17 17
18cortex-m = "0.7.3" 18cortex-m = { version = "0.7.6", features = ["critical-section-single-core"] }
19cortex-m-rt = "0.7.0" 19cortex-m-rt = "0.7.0"
20 20
21[features] 21[features]
diff --git a/examples/boot/application/stm32l4/Cargo.toml b/examples/boot/application/stm32l4/Cargo.toml
index bbb5e7e1d..f529c871f 100644
--- a/examples/boot/application/stm32l4/Cargo.toml
+++ b/examples/boot/application/stm32l4/Cargo.toml
@@ -15,7 +15,7 @@ defmt-rtt = { version = "0.3", optional = true }
15panic-reset = { version = "0.1.1" } 15panic-reset = { version = "0.1.1" }
16embedded-hal = { version = "0.2.6" } 16embedded-hal = { version = "0.2.6" }
17 17
18cortex-m = "0.7.3" 18cortex-m = { version = "0.7.6", features = ["critical-section-single-core"] }
19cortex-m-rt = "0.7.0" 19cortex-m-rt = "0.7.0"
20 20
21[features] 21[features]
diff --git a/examples/boot/application/stm32wl/Cargo.toml b/examples/boot/application/stm32wl/Cargo.toml
index 62123a870..67973a24e 100644
--- a/examples/boot/application/stm32wl/Cargo.toml
+++ b/examples/boot/application/stm32wl/Cargo.toml
@@ -15,7 +15,7 @@ defmt-rtt = { version = "0.3", optional = true }
15panic-reset = { version = "0.1.1" } 15panic-reset = { version = "0.1.1" }
16embedded-hal = { version = "0.2.6" } 16embedded-hal = { version = "0.2.6" }
17 17
18cortex-m = "0.7.3" 18cortex-m = { version = "0.7.6", features = ["critical-section-single-core"] }
19cortex-m-rt = "0.7.0" 19cortex-m-rt = "0.7.0"
20 20
21[features] 21[features]
diff --git a/examples/boot/bootloader/nrf/Cargo.toml b/examples/boot/bootloader/nrf/Cargo.toml
index 9683bff19..aa2a13ecb 100644
--- a/examples/boot/bootloader/nrf/Cargo.toml
+++ b/examples/boot/bootloader/nrf/Cargo.toml
@@ -10,7 +10,7 @@ defmt-rtt = { version = "0.3", optional = true }
10 10
11embassy-nrf = { path = "../../../../embassy-nrf", default-features = false, features = ["nightly"] } 11embassy-nrf = { path = "../../../../embassy-nrf", default-features = false, features = ["nightly"] }
12embassy-boot-nrf = { path = "../../../../embassy-boot/nrf", default-features = false } 12embassy-boot-nrf = { path = "../../../../embassy-boot/nrf", default-features = false }
13cortex-m = { version = "0.7" } 13cortex-m = { version = "0.7.6", features = ["critical-section-single-core"] }
14cortex-m-rt = { version = "0.7" } 14cortex-m-rt = { version = "0.7" }
15cfg-if = "1.0.0" 15cfg-if = "1.0.0"
16 16
diff --git a/examples/boot/bootloader/stm32/Cargo.toml b/examples/boot/bootloader/stm32/Cargo.toml
index 4a3319528..491777103 100644
--- a/examples/boot/bootloader/stm32/Cargo.toml
+++ b/examples/boot/bootloader/stm32/Cargo.toml
@@ -10,7 +10,7 @@ defmt-rtt = { version = "0.3", optional = true }
10 10
11embassy-stm32 = { path = "../../../../embassy-stm32", default-features = false, features = ["nightly"] } 11embassy-stm32 = { path = "../../../../embassy-stm32", default-features = false, features = ["nightly"] }
12embassy-boot-stm32 = { path = "../../../../embassy-boot/stm32", default-features = false } 12embassy-boot-stm32 = { path = "../../../../embassy-boot/stm32", default-features = false }
13cortex-m = { version = "0.7" } 13cortex-m = { version = "0.7.6", features = ["critical-section-single-core"] }
14cortex-m-rt = { version = "0.7" } 14cortex-m-rt = { version = "0.7" }
15embedded-storage = "0.3.0" 15embedded-storage = "0.3.0"
16embedded-storage-async = "0.3.0" 16embedded-storage-async = "0.3.0"
diff --git a/examples/nrf/Cargo.toml b/examples/nrf/Cargo.toml
index 91edbd36d..2d28623ce 100644
--- a/examples/nrf/Cargo.toml
+++ b/examples/nrf/Cargo.toml
@@ -21,7 +21,7 @@ embedded-io = "0.3.0"
21defmt = "0.3" 21defmt = "0.3"
22defmt-rtt = "0.3" 22defmt-rtt = "0.3"
23 23
24cortex-m = "0.7.3" 24cortex-m = { version = "0.7.6", features = ["critical-section-single-core"] }
25cortex-m-rt = "0.7.0" 25cortex-m-rt = "0.7.0"
26panic-probe = { version = "0.3", features = ["print-defmt"] } 26panic-probe = { version = "0.3", features = ["print-defmt"] }
27futures = { version = "0.3.17", default-features = false, features = ["async-await"] } 27futures = { version = "0.3.17", default-features = false, features = ["async-await"] }
diff --git a/examples/rp/Cargo.toml b/examples/rp/Cargo.toml
index 94c3d8013..f58ec194f 100644
--- a/examples/rp/Cargo.toml
+++ b/examples/rp/Cargo.toml
@@ -8,12 +8,11 @@ version = "0.1.0"
8embassy-util = { version = "0.1.0", path = "../../embassy-util", features = ["defmt"] } 8embassy-util = { version = "0.1.0", path = "../../embassy-util", features = ["defmt"] }
9embassy-executor = { version = "0.1.0", path = "../../embassy-executor", features = ["defmt", "defmt-timestamp-uptime"] } 9embassy-executor = { version = "0.1.0", path = "../../embassy-executor", features = ["defmt", "defmt-timestamp-uptime"] }
10embassy-rp = { version = "0.1.0", path = "../../embassy-rp", features = ["defmt", "unstable-traits", "nightly", "unstable-pac"] } 10embassy-rp = { version = "0.1.0", path = "../../embassy-rp", features = ["defmt", "unstable-traits", "nightly", "unstable-pac"] }
11atomic-polyfill = "0.1.5"
12 11
13defmt = "0.3" 12defmt = "0.3"
14defmt-rtt = "0.3" 13defmt-rtt = "0.3"
15 14
16cortex-m = "0.7.3" 15cortex-m = { version = "0.7.6", features = ["critical-section-single-core"] }
17cortex-m-rt = "0.7.0" 16cortex-m-rt = "0.7.0"
18panic-probe = { version = "0.3", features = ["print-defmt"] } 17panic-probe = { version = "0.3", features = ["print-defmt"] }
19futures = { version = "0.3.17", default-features = false, features = ["async-await", "cfg-target-has-atomic", "unstable"] } 18futures = { version = "0.3.17", default-features = false, features = ["async-await", "cfg-target-has-atomic", "unstable"] }
diff --git a/examples/std/Cargo.toml b/examples/std/Cargo.toml
index 427b93438..47933894a 100644
--- a/examples/std/Cargo.toml
+++ b/examples/std/Cargo.toml
@@ -8,6 +8,7 @@ embassy-util = { version = "0.1.0", path = "../../embassy-util", features = ["lo
8embassy-executor = { version = "0.1.0", path = "../../embassy-executor", features = ["log", "std", "time", "nightly"] } 8embassy-executor = { version = "0.1.0", path = "../../embassy-executor", features = ["log", "std", "time", "nightly"] }
9embassy-net = { version = "0.1.0", path = "../../embassy-net", features=[ "std", "log", "medium-ethernet", "tcp", "udp", "dhcpv4", "pool-16"] } 9embassy-net = { version = "0.1.0", path = "../../embassy-net", features=[ "std", "log", "medium-ethernet", "tcp", "udp", "dhcpv4", "pool-16"] }
10embedded-io = { version = "0.3.0", features = ["async", "std", "futures"] } 10embedded-io = { version = "0.3.0", features = ["async", "std", "futures"] }
11critical-section = { version = "1.1", features = ["std"] }
11 12
12async-io = "1.6.0" 13async-io = "1.6.0"
13env_logger = "0.9.0" 14env_logger = "0.9.0"
diff --git a/examples/stm32f0/Cargo.toml b/examples/stm32f0/Cargo.toml
index 3ba297636..27bd8a69c 100644
--- a/examples/stm32f0/Cargo.toml
+++ b/examples/stm32f0/Cargo.toml
@@ -6,7 +6,7 @@ edition = "2021"
6# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html 6# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
7 7
8[dependencies] 8[dependencies]
9cortex-m = "0.7.3" 9cortex-m = { version = "0.7.6", features = ["critical-section-single-core"] }
10cortex-m-rt = "0.7.0" 10cortex-m-rt = "0.7.0"
11defmt = "0.3" 11defmt = "0.3"
12defmt-rtt = "0.3" 12defmt-rtt = "0.3"
diff --git a/examples/stm32f1/Cargo.toml b/examples/stm32f1/Cargo.toml
index 9ce553b6d..f0e046f57 100644
--- a/examples/stm32f1/Cargo.toml
+++ b/examples/stm32f1/Cargo.toml
@@ -13,7 +13,7 @@ embassy-usb-serial = { version = "0.1.0", path = "../../embassy-usb-serial", fea
13defmt = "0.3" 13defmt = "0.3"
14defmt-rtt = "0.3" 14defmt-rtt = "0.3"
15 15
16cortex-m = "0.7.3" 16cortex-m = { version = "0.7.6", features = ["critical-section-single-core"] }
17cortex-m-rt = "0.7.0" 17cortex-m-rt = "0.7.0"
18embedded-hal = "0.2.6" 18embedded-hal = "0.2.6"
19panic-probe = { version = "0.3", features = ["print-defmt"] } 19panic-probe = { version = "0.3", features = ["print-defmt"] }
diff --git a/examples/stm32f2/Cargo.toml b/examples/stm32f2/Cargo.toml
index a3fb736da..0825f6180 100644
--- a/examples/stm32f2/Cargo.toml
+++ b/examples/stm32f2/Cargo.toml
@@ -11,7 +11,7 @@ embassy-stm32 = { version = "0.1.0", path = "../../embassy-stm32", features = ["
11defmt = "0.3" 11defmt = "0.3"
12defmt-rtt = "0.3" 12defmt-rtt = "0.3"
13 13
14cortex-m = "0.7.3" 14cortex-m = { version = "0.7.6", features = ["critical-section-single-core"] }
15cortex-m-rt = "0.7.0" 15cortex-m-rt = "0.7.0"
16embedded-hal = "0.2.6" 16embedded-hal = "0.2.6"
17panic-probe = { version = "0.3", features = ["print-defmt"] } 17panic-probe = { version = "0.3", features = ["print-defmt"] }
diff --git a/examples/stm32f3/Cargo.toml b/examples/stm32f3/Cargo.toml
index 410e9b3e0..b7f70b117 100644
--- a/examples/stm32f3/Cargo.toml
+++ b/examples/stm32f3/Cargo.toml
@@ -14,7 +14,7 @@ embassy-usb-hid = { version = "0.1.0", path = "../../embassy-usb-hid", features
14defmt = "0.3" 14defmt = "0.3"
15defmt-rtt = "0.3" 15defmt-rtt = "0.3"
16 16
17cortex-m = "0.7.3" 17cortex-m = { version = "0.7.6", features = ["critical-section-single-core"] }
18cortex-m-rt = "0.7.0" 18cortex-m-rt = "0.7.0"
19embedded-hal = "0.2.6" 19embedded-hal = "0.2.6"
20panic-probe = { version = "0.3", features = ["print-defmt"] } 20panic-probe = { version = "0.3", features = ["print-defmt"] }
diff --git a/examples/stm32f4/Cargo.toml b/examples/stm32f4/Cargo.toml
index 3c58320dd..e69974c59 100644
--- a/examples/stm32f4/Cargo.toml
+++ b/examples/stm32f4/Cargo.toml
@@ -12,7 +12,7 @@ embassy-stm32 = { version = "0.1.0", path = "../../embassy-stm32", features = ["
12defmt = "0.3" 12defmt = "0.3"
13defmt-rtt = "0.3" 13defmt-rtt = "0.3"
14 14
15cortex-m = "0.7.3" 15cortex-m = { version = "0.7.6", features = ["critical-section-single-core"] }
16cortex-m-rt = "0.7.0" 16cortex-m-rt = "0.7.0"
17embedded-hal = "0.2.6" 17embedded-hal = "0.2.6"
18embedded-io = "0.3.0" 18embedded-io = "0.3.0"
diff --git a/examples/stm32f7/Cargo.toml b/examples/stm32f7/Cargo.toml
index 081bed84f..8dde9d4f0 100644
--- a/examples/stm32f7/Cargo.toml
+++ b/examples/stm32f7/Cargo.toml
@@ -13,7 +13,7 @@ embedded-io = { version = "0.3.0", features = ["async"] }
13defmt = "0.3" 13defmt = "0.3"
14defmt-rtt = "0.3" 14defmt-rtt = "0.3"
15 15
16cortex-m = "0.7.3" 16cortex-m = { version = "0.7.6", features = ["critical-section-single-core"] }
17cortex-m-rt = "0.7.0" 17cortex-m-rt = "0.7.0"
18embedded-hal = "0.2.6" 18embedded-hal = "0.2.6"
19panic-probe = { version = "0.3", features = ["print-defmt"] } 19panic-probe = { version = "0.3", features = ["print-defmt"] }
@@ -21,5 +21,5 @@ futures = { version = "0.3.17", default-features = false, features = ["async-awa
21heapless = { version = "0.7.5", default-features = false } 21heapless = { version = "0.7.5", default-features = false }
22nb = "1.0.0" 22nb = "1.0.0"
23rand_core = "0.6.3" 23rand_core = "0.6.3"
24critical-section = "0.2.3" 24critical-section = "1.1"
25embedded-storage = "0.3.0" 25embedded-storage = "0.3.0"
diff --git a/examples/stm32g0/Cargo.toml b/examples/stm32g0/Cargo.toml
index 3dedeac63..ab5567bb7 100644
--- a/examples/stm32g0/Cargo.toml
+++ b/examples/stm32g0/Cargo.toml
@@ -11,7 +11,7 @@ embassy-stm32 = { version = "0.1.0", path = "../../embassy-stm32", features = ["
11defmt = "0.3" 11defmt = "0.3"
12defmt-rtt = "0.3" 12defmt-rtt = "0.3"
13 13
14cortex-m = "0.7.3" 14cortex-m = { version = "0.7.6", features = ["critical-section-single-core"] }
15cortex-m-rt = "0.7.0" 15cortex-m-rt = "0.7.0"
16embedded-hal = "0.2.6" 16embedded-hal = "0.2.6"
17panic-probe = { version = "0.3", features = ["print-defmt"] } 17panic-probe = { version = "0.3", features = ["print-defmt"] }
diff --git a/examples/stm32g4/Cargo.toml b/examples/stm32g4/Cargo.toml
index 60c62ad1e..61150a4e2 100644
--- a/examples/stm32g4/Cargo.toml
+++ b/examples/stm32g4/Cargo.toml
@@ -12,7 +12,7 @@ embassy-hal-common = {version = "0.1.0", path = "../../embassy-hal-common" }
12defmt = "0.3" 12defmt = "0.3"
13defmt-rtt = "0.3" 13defmt-rtt = "0.3"
14 14
15cortex-m = "0.7.3" 15cortex-m = { version = "0.7.6", features = ["critical-section-single-core"] }
16cortex-m-rt = "0.7.0" 16cortex-m-rt = "0.7.0"
17embedded-hal = "0.2.6" 17embedded-hal = "0.2.6"
18panic-probe = { version = "0.3", features = ["print-defmt"] } 18panic-probe = { version = "0.3", features = ["print-defmt"] }
diff --git a/examples/stm32h7/Cargo.toml b/examples/stm32h7/Cargo.toml
index 896046759..70038d157 100644
--- a/examples/stm32h7/Cargo.toml
+++ b/examples/stm32h7/Cargo.toml
@@ -13,7 +13,7 @@ embedded-io = { version = "0.3.0", features = ["async"] }
13defmt = "0.3" 13defmt = "0.3"
14defmt-rtt = "0.3" 14defmt-rtt = "0.3"
15 15
16cortex-m = "0.7.3" 16cortex-m = { version = "0.7.6", features = ["critical-section-single-core"] }
17cortex-m-rt = "0.7.0" 17cortex-m-rt = "0.7.0"
18embedded-hal = "0.2.6" 18embedded-hal = "0.2.6"
19embedded-hal-1 = { package = "embedded-hal", version = "1.0.0-alpha.8" } 19embedded-hal-1 = { package = "embedded-hal", version = "1.0.0-alpha.8" }
@@ -23,7 +23,7 @@ panic-probe = { version = "0.3", features = ["print-defmt"] }
23futures = { version = "0.3.17", default-features = false, features = ["async-await"] } 23futures = { version = "0.3.17", default-features = false, features = ["async-await"] }
24heapless = { version = "0.7.5", default-features = false } 24heapless = { version = "0.7.5", default-features = false }
25rand_core = "0.6.3" 25rand_core = "0.6.3"
26critical-section = "0.2.5" 26critical-section = "1.1"
27micromath = "2.0.0" 27micromath = "2.0.0"
28stm32-fmc = "0.2.4" 28stm32-fmc = "0.2.4"
29embedded-storage = "0.3.0" 29embedded-storage = "0.3.0"
diff --git a/examples/stm32l0/Cargo.toml b/examples/stm32l0/Cargo.toml
index 7edda042d..367b89db5 100644
--- a/examples/stm32l0/Cargo.toml
+++ b/examples/stm32l0/Cargo.toml
@@ -22,7 +22,7 @@ defmt-rtt = "0.3"
22embedded-storage = "0.3.0" 22embedded-storage = "0.3.0"
23embedded-io = "0.3.0" 23embedded-io = "0.3.0"
24 24
25cortex-m = "0.7.3" 25cortex-m = { version = "0.7.6", features = ["critical-section-single-core"] }
26cortex-m-rt = "0.7.0" 26cortex-m-rt = "0.7.0"
27panic-probe = { version = "0.3", features = ["print-defmt"] } 27panic-probe = { version = "0.3", features = ["print-defmt"] }
28futures = { version = "0.3.17", default-features = false, features = ["async-await"] } 28futures = { version = "0.3.17", default-features = false, features = ["async-await"] }
diff --git a/examples/stm32l1/Cargo.toml b/examples/stm32l1/Cargo.toml
index d69de9c53..dba1dd7d6 100644
--- a/examples/stm32l1/Cargo.toml
+++ b/examples/stm32l1/Cargo.toml
@@ -11,7 +11,7 @@ embassy-stm32 = { version = "0.1.0", path = "../../embassy-stm32", features = ["
11defmt = "0.3" 11defmt = "0.3"
12defmt-rtt = "0.3" 12defmt-rtt = "0.3"
13 13
14cortex-m = "0.7.3" 14cortex-m = { version = "0.7.6", features = ["critical-section-single-core"] }
15cortex-m-rt = "0.7.0" 15cortex-m-rt = "0.7.0"
16embedded-hal = "0.2.6" 16embedded-hal = "0.2.6"
17panic-probe = { version = "0.3", features = ["print-defmt"] } 17panic-probe = { version = "0.3", features = ["print-defmt"] }
diff --git a/examples/stm32l4/Cargo.toml b/examples/stm32l4/Cargo.toml
index 8ac974c92..1d9c21a05 100644
--- a/examples/stm32l4/Cargo.toml
+++ b/examples/stm32l4/Cargo.toml
@@ -14,7 +14,7 @@ embassy-stm32 = { version = "0.1.0", path = "../../embassy-stm32", features = ["
14defmt = "0.3" 14defmt = "0.3"
15defmt-rtt = "0.3" 15defmt-rtt = "0.3"
16 16
17cortex-m = "0.7.3" 17cortex-m = { version = "0.7.6", features = ["critical-section-single-core"] }
18cortex-m-rt = "0.7.0" 18cortex-m-rt = "0.7.0"
19embedded-hal = "0.2.6" 19embedded-hal = "0.2.6"
20embedded-hal-1 = { package = "embedded-hal", version = "1.0.0-alpha.8" } 20embedded-hal-1 = { package = "embedded-hal", version = "1.0.0-alpha.8" }
diff --git a/examples/stm32l5/Cargo.toml b/examples/stm32l5/Cargo.toml
index 6466994ed..3e3a11d08 100644
--- a/examples/stm32l5/Cargo.toml
+++ b/examples/stm32l5/Cargo.toml
@@ -20,7 +20,7 @@ defmt = "0.3"
20defmt-rtt = "0.3" 20defmt-rtt = "0.3"
21panic-probe = { version = "0.3", features = ["print-defmt"] } 21panic-probe = { version = "0.3", features = ["print-defmt"] }
22 22
23cortex-m = "0.7.3" 23cortex-m = { version = "0.7.6", features = ["critical-section-single-core"] }
24cortex-m-rt = "0.7.0" 24cortex-m-rt = "0.7.0"
25embedded-hal = "0.2.6" 25embedded-hal = "0.2.6"
26futures = { version = "0.3.17", default-features = false, features = ["async-await"] } 26futures = { version = "0.3.17", default-features = false, features = ["async-await"] }
diff --git a/examples/stm32u5/Cargo.toml b/examples/stm32u5/Cargo.toml
index 4ce95be4c..d80260f04 100644
--- a/examples/stm32u5/Cargo.toml
+++ b/examples/stm32u5/Cargo.toml
@@ -11,7 +11,7 @@ embassy-stm32 = { version = "0.1.0", path = "../../embassy-stm32", features = ["
11defmt = "0.3" 11defmt = "0.3"
12defmt-rtt = "0.3" 12defmt-rtt = "0.3"
13 13
14cortex-m = "0.7.3" 14cortex-m = { version = "0.7.6", features = ["critical-section-single-core"] }
15cortex-m-rt = "0.7.0" 15cortex-m-rt = "0.7.0"
16embedded-hal = "0.2.6" 16embedded-hal = "0.2.6"
17panic-probe = { version = "0.3", features = ["print-defmt"] } 17panic-probe = { version = "0.3", features = ["print-defmt"] }
diff --git a/examples/stm32wb/Cargo.toml b/examples/stm32wb/Cargo.toml
index dc9107dd0..59f9401bf 100644
--- a/examples/stm32wb/Cargo.toml
+++ b/examples/stm32wb/Cargo.toml
@@ -11,7 +11,7 @@ embassy-stm32 = { version = "0.1.0", path = "../../embassy-stm32", features = ["
11defmt = "0.3" 11defmt = "0.3"
12defmt-rtt = "0.3" 12defmt-rtt = "0.3"
13 13
14cortex-m = "0.7.3" 14cortex-m = { version = "0.7.6", features = ["critical-section-single-core"] }
15cortex-m-rt = "0.7.0" 15cortex-m-rt = "0.7.0"
16embedded-hal = "0.2.6" 16embedded-hal = "0.2.6"
17panic-probe = { version = "0.3", features = ["print-defmt"] } 17panic-probe = { version = "0.3", features = ["print-defmt"] }
diff --git a/examples/stm32wl/Cargo.toml b/examples/stm32wl/Cargo.toml
index 00d63f02d..f886fae7d 100644
--- a/examples/stm32wl/Cargo.toml
+++ b/examples/stm32wl/Cargo.toml
@@ -15,7 +15,7 @@ lorawan = { version = "0.7.1", default-features = false, features = ["default-cr
15defmt = "0.3" 15defmt = "0.3"
16defmt-rtt = "0.3" 16defmt-rtt = "0.3"
17 17
18cortex-m = "0.7.3" 18cortex-m = { version = "0.7.6", features = ["critical-section-single-core"] }
19cortex-m-rt = "0.7.0" 19cortex-m-rt = "0.7.0"
20embedded-hal = "0.2.6" 20embedded-hal = "0.2.6"
21embedded-storage = "0.3.0" 21embedded-storage = "0.3.0"
diff --git a/examples/wasm/Cargo.toml b/examples/wasm/Cargo.toml
index 4e26f023c..20433689e 100644
--- a/examples/wasm/Cargo.toml
+++ b/examples/wasm/Cargo.toml
@@ -14,4 +14,4 @@ wasm-logger = "0.2.0"
14wasm-bindgen = "0.2" 14wasm-bindgen = "0.2"
15web-sys = { version = "0.3", features = ["Document", "Element", "HtmlElement", "Node", "Window" ] } 15web-sys = { version = "0.3", features = ["Document", "Element", "HtmlElement", "Node", "Window" ] }
16log = "0.4.11" 16log = "0.4.11"
17critical-section = "0.2.5" 17critical-section = "1.1"
diff --git a/stm32-metapac/Cargo.toml b/stm32-metapac/Cargo.toml
index 31d707785..9d5aba0c0 100644
--- a/stm32-metapac/Cargo.toml
+++ b/stm32-metapac/Cargo.toml
@@ -40,7 +40,7 @@ flavors = [
40] 40]
41 41
42[dependencies] 42[dependencies]
43cortex-m = "0.7.3" 43cortex-m = "0.7.6"
44cortex-m-rt = { version = ">=0.6.15,<0.8", optional = true } 44cortex-m-rt = { version = ">=0.6.15,<0.8", optional = true }
45 45
46# BEGIN BUILD DEPENDENCIES 46# BEGIN BUILD DEPENDENCIES
diff --git a/tests/rp/Cargo.toml b/tests/rp/Cargo.toml
index d19243b9d..d105f0e6e 100644
--- a/tests/rp/Cargo.toml
+++ b/tests/rp/Cargo.toml
@@ -11,7 +11,7 @@ embassy-rp = { version = "0.1.0", path = "../../embassy-rp", features = ["nightl
11defmt = "0.3.0" 11defmt = "0.3.0"
12defmt-rtt = "0.3.0" 12defmt-rtt = "0.3.0"
13 13
14cortex-m = "0.7.3" 14cortex-m = { version = "0.7.6", features = ["critical-section-single-core"] }
15cortex-m-rt = "0.7.0" 15cortex-m-rt = "0.7.0"
16embedded-hal = "0.2.6" 16embedded-hal = "0.2.6"
17embedded-hal-1 = { package = "embedded-hal", version = "1.0.0-alpha.8" } 17embedded-hal-1 = { package = "embedded-hal", version = "1.0.0-alpha.8" }
diff --git a/tests/stm32/Cargo.toml b/tests/stm32/Cargo.toml
index c1cca99d1..5fc67e130 100644
--- a/tests/stm32/Cargo.toml
+++ b/tests/stm32/Cargo.toml
@@ -20,7 +20,7 @@ embassy-stm32 = { version = "0.1.0", path = "../../embassy-stm32", features = ["
20defmt = "0.3.0" 20defmt = "0.3.0"
21defmt-rtt = "0.3.0" 21defmt-rtt = "0.3.0"
22 22
23cortex-m = "0.7.3" 23cortex-m = { version = "0.7.6", features = ["critical-section-single-core"] }
24cortex-m-rt = "0.7.0" 24cortex-m-rt = "0.7.0"
25embedded-hal = "0.2.6" 25embedded-hal = "0.2.6"
26embedded-hal-1 = { package = "embedded-hal", version = "1.0.0-alpha.8" } 26embedded-hal-1 = { package = "embedded-hal", version = "1.0.0-alpha.8" }