Skip to content

Commit 1074a61

Browse files
authored
add dependicies from crates.io
1 parent f382e67 commit 1074a61

1 file changed

Lines changed: 36 additions & 55 deletions

File tree

device/usb-bulk-stm32-nucleo-u545re/Cargo.toml

Lines changed: 36 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -4,69 +4,50 @@ version = "0.1.0"
44
edition = "2024"
55

66
[dependencies]
7-
embassy-stm32 = { version = "0.4.0", git = "https://github.com/embassy-rs/embassy", rev = "3e8d8fe", features = [
8-
"defmt",
9-
"stm32u545re",
10-
"unstable-pac",
11-
"memory-x",
12-
"time-driver-tim4",
13-
"exti",
14-
"chrono",
7+
cortex-m = { version = "0.7.7", features = [
8+
"critical-section-single-core",
9+
"inline-asm",
1510
] }
16-
11+
# Boostrap crate for Cortex-M Processors
12+
cortex-m-rt = "0.7.5"
13+
# Defmt support
14+
defmt = "1.0.1"
15+
defmt-rtt = "1.1.0"
1716
# Embedded HAL utilities
18-
embassy-embedded-hal = { version = "0.5.0", git = "https://github.com/embassy-rs/embassy", rev = "3e8d8fe", features = [
19-
"defmt",
20-
] }
21-
22-
# Synchronization primitives and data structures with async support
23-
embassy-sync = { version = "0.7.2", git = "https://github.com/embassy-rs/embassy", rev = "3e8d8fe", features = [
24-
"defmt",
17+
embassy-embedded-hal = { version = "0.5.0", features = [
18+
"defmt",
2519
] }
26-
2720
# Async/await executor
28-
embassy-executor = { version = "0.9.0", git = "https://github.com/embassy-rs/embassy", rev = "3e8d8fe", features = [
29-
"arch-cortex-m",
30-
"executor-thread",
31-
"defmt",
21+
embassy-executor = { version = "0.9.0", features = [
22+
"arch-cortex-m",
23+
"defmt",
24+
"executor-thread",
3225
] }
33-
3426
# Utilities for working with futures, compatible with no_std and not using alloc
35-
embassy-futures = { version = "0.1.2", git = "https://github.com/embassy-rs/embassy", rev = "3e8d8fe" }
36-
27+
embassy-futures = "0.1.2"
28+
# STM32 HAL Implementation
29+
embassy-stm32 = { version = "0.4.0", features = [
30+
"defmt",
31+
"exti",
32+
"memory-x",
33+
"stm32u545re",
34+
"time-driver-tim4",
35+
"unstable-pac",
36+
# "chrono",
37+
] }
38+
# Synchronization primitives and data structures with async support
39+
embassy-sync = { version = "0.7.2", features = [
40+
"defmt",
41+
] }
3742
# Timekeeping, delays and timeouts
38-
embassy-time = { version = "0.5.0", git = "https://github.com/embassy-rs/embassy", rev = "3e8d8fe", features = [
39-
"defmt",
40-
"defmt-timestamp-uptime",
41-
"tick-hz-32_768",
43+
embassy-time = { version = "0.5.0", features = [
44+
"defmt",
45+
"defmt-timestamp-uptime",
46+
"tick-hz-32_768",
4247
] }
43-
4448
# USB device
45-
embassy-usb = { version = "0.5.1", git = "https://github.com/embassy-rs/embassy", rev = "3e8d8fe", features = [
46-
"defmt",
49+
embassy-usb = { version = "0.5.1", features = [
50+
"defmt",
4751
] }
48-
49-
# Defmt support
50-
defmt = "0.3"
51-
defmt-rtt = "0.4"
52-
53-
# Low level access to Cortex-M processors
54-
cortex-m = { version = "0.7.7", features = [
55-
"inline-asm",
56-
"critical-section-single-core",
57-
] }
58-
59-
cortex-m-rt = "0.7.5"
60-
panic-probe = { version = "1.0.0", features = ["print-defmt"] }
61-
62-
# Graphics crate
63-
embedded-graphics = "0.8.1"
64-
65-
# SPI Display support
66-
display-interface-spi = "0.5.0"
67-
display-interface = "0.5.0"
68-
69-
# Generic display driver to connect to TFT displays
70-
mipidsi = "0.8.0"
71-
7252
# Panic handler that exits `probe-run` with an error code
53+
panic-probe = { version = "1.0.0", features = ["print-defmt"] }

0 commit comments

Comments
 (0)