Skip to content

Commit 67edea4

Browse files
committed
Update to critical-section 1.0, atomic-polyfill 1.0
1 parent 16d0ae7 commit 67edea4

File tree

42 files changed

+56
-55
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+56
-55
lines changed

embassy-boot/nrf/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ defmt = { version = "0.3", optional = true }
1818
embassy-util = { path = "../../embassy-util" }
1919
embassy-nrf = { path = "../../embassy-nrf", default-features = false, features = ["nightly"] }
2020
embassy-boot = { path = "../boot", default-features = false }
21-
cortex-m = { version = "0.7" }
21+
cortex-m = { version = "0.7.6" }
2222
cortex-m-rt = { version = "0.7" }
2323
embedded-storage = "0.3.0"
2424
embedded-storage-async = "0.3.0"

embassy-boot/stm32/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ log = { version = "0.4", optional = true }
2020
embassy-util = { path = "../../embassy-util" }
2121
embassy-stm32 = { path = "../../embassy-stm32", default-features = false, features = ["nightly"] }
2222
embassy-boot = { path = "../boot", default-features = false }
23-
cortex-m = { version = "0.7" }
23+
cortex-m = { version = "0.7.6" }
2424
cortex-m-rt = { version = "0.7" }
2525
embedded-storage = "0.3.0"
2626
embedded-storage-async = "0.3.0"

embassy-cortex-m/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ embassy-util = { version = "0.1.0", path = "../embassy-util" }
3939
embassy-executor = { version = "0.1.0", path = "../embassy-executor"}
4040
embassy-macros = { version = "0.1.0", path = "../embassy-macros"}
4141
embassy-hal-common = { version = "0.1.0", path = "../embassy-hal-common"}
42-
atomic-polyfill = "0.1.5"
43-
critical-section = "0.2.5"
42+
atomic-polyfill = "1.0.1"
43+
critical-section = "1.1"
4444
cfg-if = "1.0.0"
45-
cortex-m = "0.7.3"
45+
cortex-m = "0.7.6"
4646

embassy-executor/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ embedded-hal-async = { version = "0.1.0-alpha.1", optional = true}
6060

6161
futures-util = { version = "0.3.17", default-features = false }
6262
embassy-macros = { version = "0.1.0", path = "../embassy-macros"}
63-
atomic-polyfill = "0.1.5"
64-
critical-section = "0.2.5"
63+
atomic-polyfill = "1.0.1"
64+
critical-section = "1.1"
6565
cfg-if = "1.0.0"
6666

6767
# WASM dependencies

embassy-nrf/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,9 @@ embedded-io = { version = "0.3.0", features = ["async"], optional = true }
8080
defmt = { version = "0.3", optional = true }
8181
log = { version = "0.4.14", optional = true }
8282
cortex-m-rt = ">=0.6.15,<0.8"
83-
cortex-m = "0.7.3"
83+
cortex-m = "0.7.6"
8484
futures = { version = "0.3.17", default-features = false }
85-
critical-section = "0.2.5"
85+
critical-section = "1.1"
8686
rand_core = "0.6.3"
8787
fixed = "1.10.0"
8888
embedded-storage = "0.3.0"

embassy-rp/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,12 @@ embassy-cortex-m = { version = "0.1.0", path = "../embassy-cortex-m", features =
3333
embassy-hal-common = {version = "0.1.0", path = "../embassy-hal-common" }
3434
embassy-embedded-hal = {version = "0.1.0", path = "../embassy-embedded-hal" }
3535
embassy-macros = { version = "0.1.0", path = "../embassy-macros", features = ["rp"]}
36-
atomic-polyfill = "0.1.5"
36+
atomic-polyfill = "1.0.1"
3737
defmt = { version = "0.3", optional = true }
3838
log = { version = "0.4.14", optional = true }
3939
cortex-m-rt = ">=0.6.15,<0.8"
40-
cortex-m = "0.7.3"
41-
critical-section = "0.2.5"
40+
cortex-m = "0.7.6"
41+
critical-section = "1.1"
4242
futures = { version = "0.3.17", default-features = false, features = ["async-await"] }
4343

4444
rp2040-pac2 = { git = "https://github.com/embassy-rs/rp2040-pac2", rev="9ad7223a48a065e612bc7dc7be5bf5bd0b41cfc4", features = ["rt"] }

embassy-stm32/Cargo.toml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,13 @@ embedded-storage-async = { version = "0.3.0", optional = true }
5050
defmt = { version = "0.3", optional = true }
5151
log = { version = "0.4.14", optional = true }
5252
cortex-m-rt = ">=0.6.15,<0.8"
53-
cortex-m = "0.7.3"
53+
cortex-m = "0.7.6"
5454
futures = { version = "0.3.17", default-features = false, features = ["async-await"] }
5555
rand_core = "0.6.3"
5656
sdio-host = "0.5.0"
5757
embedded-sdmmc = { git = "https://github.com/thalesfragoso/embedded-sdmmc-rs", branch = "async", optional = true }
58-
critical-section = "0.2.5"
59-
bare-metal = "1.0.0"
60-
atomic-polyfill = "0.1.5"
58+
critical-section = "1.1"
59+
atomic-polyfill = "1.0.1"
6160
stm32-metapac = { version = "0.1.0", path = "../stm32-metapac", features = ["rt"] }
6261
vcell = "0.1.3"
6362
bxcan = "0.7.0"

embassy-stm32/src/interrupt.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
pub use bare_metal::Mutex;
2-
pub use critical_section::CriticalSection;
1+
pub use critical_section::{CriticalSection, Mutex};
32
pub use embassy_cortex_m::interrupt::*;
43

54
pub use crate::_generated::interrupt::*;

embassy-util/Cargo.toml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ defmt = { version = "0.3", optional = true }
1717
log = { version = "0.4.14", optional = true }
1818

1919
futures-util = { version = "0.3.17", default-features = false }
20-
atomic-polyfill = "0.1.5"
21-
critical-section = "0.2.5"
20+
atomic-polyfill = "1.0.1"
21+
critical-section = "1.1"
2222
heapless = "0.7.5"
2323
cfg-if = "1.0.0"
2424
embedded-io = "0.3.0"
@@ -28,3 +28,6 @@ futures-executor = { version = "0.3.17", features = [ "thread-pool" ] }
2828
futures-test = "0.3.17"
2929
futures-timer = "3.0.2"
3030
futures-util = { version = "0.3.17", features = [ "channel" ] }
31+
32+
# Enable critical-section implementation for std, for tests
33+
critical-section = { version = "1.1", features = ["std"] }

examples/boot/application/nrf/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ defmt-rtt = { version = "0.3", optional = true }
1515
panic-reset = { version = "0.1.1" }
1616
embedded-hal = { version = "0.2.6" }
1717

18-
cortex-m = "0.7.3"
18+
cortex-m = { version = "0.7.6", features = ["critical-section-single-core"] }
1919
cortex-m-rt = "0.7.0"

examples/boot/application/stm32f3/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ defmt-rtt = { version = "0.3", optional = true }
1515
panic-reset = { version = "0.1.1" }
1616
embedded-hal = { version = "0.2.6" }
1717

18-
cortex-m = "0.7.3"
18+
cortex-m = { version = "0.7.6", features = ["critical-section-single-core"] }
1919
cortex-m-rt = "0.7.0"
2020

2121
[features]

examples/boot/application/stm32f7/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ defmt-rtt = { version = "0.3", optional = true }
1515
panic-reset = { version = "0.1.1" }
1616
embedded-hal = { version = "0.2.6" }
1717

18-
cortex-m = "0.7.3"
18+
cortex-m = { version = "0.7.6", features = ["critical-section-single-core"] }
1919
cortex-m-rt = "0.7.0"
2020

2121
[features]

examples/boot/application/stm32h7/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ defmt-rtt = { version = "0.3", optional = true }
1515
panic-reset = { version = "0.1.1" }
1616
embedded-hal = { version = "0.2.6" }
1717

18-
cortex-m = "0.7.3"
18+
cortex-m = { version = "0.7.6", features = ["critical-section-single-core"] }
1919
cortex-m-rt = "0.7.0"
2020

2121
[features]

examples/boot/application/stm32l0/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ defmt-rtt = { version = "0.3", optional = true }
1515
panic-reset = { version = "0.1.1" }
1616
embedded-hal = { version = "0.2.6" }
1717

18-
cortex-m = "0.7.3"
18+
cortex-m = { version = "0.7.6", features = ["critical-section-single-core"] }
1919
cortex-m-rt = "0.7.0"
2020

2121
[features]

examples/boot/application/stm32l1/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ defmt-rtt = { version = "0.3", optional = true }
1515
panic-reset = { version = "0.1.1" }
1616
embedded-hal = { version = "0.2.6" }
1717

18-
cortex-m = "0.7.3"
18+
cortex-m = { version = "0.7.6", features = ["critical-section-single-core"] }
1919
cortex-m-rt = "0.7.0"
2020

2121
[features]

examples/boot/application/stm32l4/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ defmt-rtt = { version = "0.3", optional = true }
1515
panic-reset = { version = "0.1.1" }
1616
embedded-hal = { version = "0.2.6" }
1717

18-
cortex-m = "0.7.3"
18+
cortex-m = { version = "0.7.6", features = ["critical-section-single-core"] }
1919
cortex-m-rt = "0.7.0"
2020

2121
[features]

examples/boot/application/stm32wl/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ defmt-rtt = { version = "0.3", optional = true }
1515
panic-reset = { version = "0.1.1" }
1616
embedded-hal = { version = "0.2.6" }
1717

18-
cortex-m = "0.7.3"
18+
cortex-m = { version = "0.7.6", features = ["critical-section-single-core"] }
1919
cortex-m-rt = "0.7.0"
2020

2121
[features]

examples/boot/bootloader/nrf/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ defmt-rtt = { version = "0.3", optional = true }
1010

1111
embassy-nrf = { path = "../../../../embassy-nrf", default-features = false, features = ["nightly"] }
1212
embassy-boot-nrf = { path = "../../../../embassy-boot/nrf", default-features = false }
13-
cortex-m = { version = "0.7" }
13+
cortex-m = { version = "0.7.6", features = ["critical-section-single-core"] }
1414
cortex-m-rt = { version = "0.7" }
1515
cfg-if = "1.0.0"
1616

examples/boot/bootloader/stm32/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ defmt-rtt = { version = "0.3", optional = true }
1010

1111
embassy-stm32 = { path = "../../../../embassy-stm32", default-features = false, features = ["nightly"] }
1212
embassy-boot-stm32 = { path = "../../../../embassy-boot/stm32", default-features = false }
13-
cortex-m = { version = "0.7" }
13+
cortex-m = { version = "0.7.6", features = ["critical-section-single-core"] }
1414
cortex-m-rt = { version = "0.7" }
1515
embedded-storage = "0.3.0"
1616
embedded-storage-async = "0.3.0"

examples/nrf/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ embedded-io = "0.3.0"
2121
defmt = "0.3"
2222
defmt-rtt = "0.3"
2323

24-
cortex-m = "0.7.3"
24+
cortex-m = { version = "0.7.6", features = ["critical-section-single-core"] }
2525
cortex-m-rt = "0.7.0"
2626
panic-probe = { version = "0.3", features = ["print-defmt"] }
2727
futures = { version = "0.3.17", default-features = false, features = ["async-await"] }

examples/rp/Cargo.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,11 @@ version = "0.1.0"
88
embassy-util = { version = "0.1.0", path = "../../embassy-util", features = ["defmt"] }
99
embassy-executor = { version = "0.1.0", path = "../../embassy-executor", features = ["defmt", "defmt-timestamp-uptime"] }
1010
embassy-rp = { version = "0.1.0", path = "../../embassy-rp", features = ["defmt", "unstable-traits", "nightly", "unstable-pac"] }
11-
atomic-polyfill = "0.1.5"
1211

1312
defmt = "0.3"
1413
defmt-rtt = "0.3"
1514

16-
cortex-m = "0.7.3"
15+
cortex-m = { version = "0.7.6", features = ["critical-section-single-core"] }
1716
cortex-m-rt = "0.7.0"
1817
panic-probe = { version = "0.3", features = ["print-defmt"] }
1918
futures = { version = "0.3.17", default-features = false, features = ["async-await", "cfg-target-has-atomic", "unstable"] }

examples/std/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ embassy-util = { version = "0.1.0", path = "../../embassy-util", features = ["lo
88
embassy-executor = { version = "0.1.0", path = "../../embassy-executor", features = ["log", "std", "time", "nightly"] }
99
embassy-net = { version = "0.1.0", path = "../../embassy-net", features=[ "std", "log", "medium-ethernet", "tcp", "udp", "dhcpv4", "pool-16"] }
1010
embedded-io = { version = "0.3.0", features = ["async", "std", "futures"] }
11+
critical-section = { version = "1.1", features = ["std"] }
1112

1213
async-io = "1.6.0"
1314
env_logger = "0.9.0"

examples/stm32f0/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ edition = "2021"
66
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
77

88
[dependencies]
9-
cortex-m = "0.7.3"
9+
cortex-m = { version = "0.7.6", features = ["critical-section-single-core"] }
1010
cortex-m-rt = "0.7.0"
1111
defmt = "0.3"
1212
defmt-rtt = "0.3"

examples/stm32f1/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ embassy-usb-serial = { version = "0.1.0", path = "../../embassy-usb-serial", fea
1313
defmt = "0.3"
1414
defmt-rtt = "0.3"
1515

16-
cortex-m = "0.7.3"
16+
cortex-m = { version = "0.7.6", features = ["critical-section-single-core"] }
1717
cortex-m-rt = "0.7.0"
1818
embedded-hal = "0.2.6"
1919
panic-probe = { version = "0.3", features = ["print-defmt"] }

examples/stm32f2/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ embassy-stm32 = { version = "0.1.0", path = "../../embassy-stm32", features = ["
1111
defmt = "0.3"
1212
defmt-rtt = "0.3"
1313

14-
cortex-m = "0.7.3"
14+
cortex-m = { version = "0.7.6", features = ["critical-section-single-core"] }
1515
cortex-m-rt = "0.7.0"
1616
embedded-hal = "0.2.6"
1717
panic-probe = { version = "0.3", features = ["print-defmt"] }

examples/stm32f3/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ embassy-usb-hid = { version = "0.1.0", path = "../../embassy-usb-hid", features
1414
defmt = "0.3"
1515
defmt-rtt = "0.3"
1616

17-
cortex-m = "0.7.3"
17+
cortex-m = { version = "0.7.6", features = ["critical-section-single-core"] }
1818
cortex-m-rt = "0.7.0"
1919
embedded-hal = "0.2.6"
2020
panic-probe = { version = "0.3", features = ["print-defmt"] }

examples/stm32f4/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ embassy-stm32 = { version = "0.1.0", path = "../../embassy-stm32", features = ["
1212
defmt = "0.3"
1313
defmt-rtt = "0.3"
1414

15-
cortex-m = "0.7.3"
15+
cortex-m = { version = "0.7.6", features = ["critical-section-single-core"] }
1616
cortex-m-rt = "0.7.0"
1717
embedded-hal = "0.2.6"
1818
embedded-io = "0.3.0"

examples/stm32f7/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ embedded-io = { version = "0.3.0", features = ["async"] }
1313
defmt = "0.3"
1414
defmt-rtt = "0.3"
1515

16-
cortex-m = "0.7.3"
16+
cortex-m = { version = "0.7.6", features = ["critical-section-single-core"] }
1717
cortex-m-rt = "0.7.0"
1818
embedded-hal = "0.2.6"
1919
panic-probe = { version = "0.3", features = ["print-defmt"] }
2020
futures = { version = "0.3.17", default-features = false, features = ["async-await"] }
2121
heapless = { version = "0.7.5", default-features = false }
2222
nb = "1.0.0"
2323
rand_core = "0.6.3"
24-
critical-section = "0.2.3"
24+
critical-section = "1.1"
2525
embedded-storage = "0.3.0"

examples/stm32g0/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ embassy-stm32 = { version = "0.1.0", path = "../../embassy-stm32", features = ["
1111
defmt = "0.3"
1212
defmt-rtt = "0.3"
1313

14-
cortex-m = "0.7.3"
14+
cortex-m = { version = "0.7.6", features = ["critical-section-single-core"] }
1515
cortex-m-rt = "0.7.0"
1616
embedded-hal = "0.2.6"
1717
panic-probe = { version = "0.3", features = ["print-defmt"] }

examples/stm32g4/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ embassy-hal-common = {version = "0.1.0", path = "../../embassy-hal-common" }
1212
defmt = "0.3"
1313
defmt-rtt = "0.3"
1414

15-
cortex-m = "0.7.3"
15+
cortex-m = { version = "0.7.6", features = ["critical-section-single-core"] }
1616
cortex-m-rt = "0.7.0"
1717
embedded-hal = "0.2.6"
1818
panic-probe = { version = "0.3", features = ["print-defmt"] }

examples/stm32h7/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ embedded-io = { version = "0.3.0", features = ["async"] }
1313
defmt = "0.3"
1414
defmt-rtt = "0.3"
1515

16-
cortex-m = "0.7.3"
16+
cortex-m = { version = "0.7.6", features = ["critical-section-single-core"] }
1717
cortex-m-rt = "0.7.0"
1818
embedded-hal = "0.2.6"
1919
embedded-hal-1 = { package = "embedded-hal", version = "1.0.0-alpha.8" }
@@ -23,7 +23,7 @@ panic-probe = { version = "0.3", features = ["print-defmt"] }
2323
futures = { version = "0.3.17", default-features = false, features = ["async-await"] }
2424
heapless = { version = "0.7.5", default-features = false }
2525
rand_core = "0.6.3"
26-
critical-section = "0.2.5"
26+
critical-section = "1.1"
2727
micromath = "2.0.0"
2828
stm32-fmc = "0.2.4"
2929
embedded-storage = "0.3.0"

examples/stm32l0/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ defmt-rtt = "0.3"
2222
embedded-storage = "0.3.0"
2323
embedded-io = "0.3.0"
2424

25-
cortex-m = "0.7.3"
25+
cortex-m = { version = "0.7.6", features = ["critical-section-single-core"] }
2626
cortex-m-rt = "0.7.0"
2727
panic-probe = { version = "0.3", features = ["print-defmt"] }
2828
futures = { version = "0.3.17", default-features = false, features = ["async-await"] }

examples/stm32l1/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ embassy-stm32 = { version = "0.1.0", path = "../../embassy-stm32", features = ["
1111
defmt = "0.3"
1212
defmt-rtt = "0.3"
1313

14-
cortex-m = "0.7.3"
14+
cortex-m = { version = "0.7.6", features = ["critical-section-single-core"] }
1515
cortex-m-rt = "0.7.0"
1616
embedded-hal = "0.2.6"
1717
panic-probe = { version = "0.3", features = ["print-defmt"] }

examples/stm32l4/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ embassy-stm32 = { version = "0.1.0", path = "../../embassy-stm32", features = ["
1414
defmt = "0.3"
1515
defmt-rtt = "0.3"
1616

17-
cortex-m = "0.7.3"
17+
cortex-m = { version = "0.7.6", features = ["critical-section-single-core"] }
1818
cortex-m-rt = "0.7.0"
1919
embedded-hal = "0.2.6"
2020
embedded-hal-1 = { package = "embedded-hal", version = "1.0.0-alpha.8" }

examples/stm32l5/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ defmt = "0.3"
2020
defmt-rtt = "0.3"
2121
panic-probe = { version = "0.3", features = ["print-defmt"] }
2222

23-
cortex-m = "0.7.3"
23+
cortex-m = { version = "0.7.6", features = ["critical-section-single-core"] }
2424
cortex-m-rt = "0.7.0"
2525
embedded-hal = "0.2.6"
2626
futures = { version = "0.3.17", default-features = false, features = ["async-await"] }

examples/stm32u5/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ embassy-stm32 = { version = "0.1.0", path = "../../embassy-stm32", features = ["
1111
defmt = "0.3"
1212
defmt-rtt = "0.3"
1313

14-
cortex-m = "0.7.3"
14+
cortex-m = { version = "0.7.6", features = ["critical-section-single-core"] }
1515
cortex-m-rt = "0.7.0"
1616
embedded-hal = "0.2.6"
1717
panic-probe = { version = "0.3", features = ["print-defmt"] }

examples/stm32wb/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ embassy-stm32 = { version = "0.1.0", path = "../../embassy-stm32", features = ["
1111
defmt = "0.3"
1212
defmt-rtt = "0.3"
1313

14-
cortex-m = "0.7.3"
14+
cortex-m = { version = "0.7.6", features = ["critical-section-single-core"] }
1515
cortex-m-rt = "0.7.0"
1616
embedded-hal = "0.2.6"
1717
panic-probe = { version = "0.3", features = ["print-defmt"] }

examples/stm32wl/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ lorawan = { version = "0.7.1", default-features = false, features = ["default-cr
1515
defmt = "0.3"
1616
defmt-rtt = "0.3"
1717

18-
cortex-m = "0.7.3"
18+
cortex-m = { version = "0.7.6", features = ["critical-section-single-core"] }
1919
cortex-m-rt = "0.7.0"
2020
embedded-hal = "0.2.6"
2121
embedded-storage = "0.3.0"

examples/wasm/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ wasm-logger = "0.2.0"
1414
wasm-bindgen = "0.2"
1515
web-sys = { version = "0.3", features = ["Document", "Element", "HtmlElement", "Node", "Window" ] }
1616
log = "0.4.11"
17-
critical-section = "0.2.5"
17+
critical-section = "1.1"

0 commit comments

Comments
 (0)