Skip to content

Commit 66f75f1

Browse files
committed
Use critical section for examples
1 parent 2dcee88 commit 66f75f1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ stm32f3 = { version = "0.16.0", package = "stm32f3-staging", default-features =
4646
void = { version = "1.0.2", default-features = false }
4747

4848
[dev-dependencies]
49+
cortex-m = { version = "0.7.7", features = ["critical-section-single-core"] }
4950
cortex-m-rtic = "1.1"
5051
cortex-m-semihosting = "0.5.0"
5152
defmt = "0.3.5"
@@ -58,6 +59,7 @@ rtt-target = { version = "0.4.0" }
5859
systick-monotonic = "1.0"
5960
usb-device = "0.3.1"
6061
usbd-serial = "0.2.0"
62+
stm32f3 = { version = "0.16.0", package = "stm32f3-staging" }
6163

6264
[build-dependencies]
6365
slice-group-by = "0.3.1"

0 commit comments

Comments
 (0)