-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
64 lines (53 loc) · 1.77 KB
/
Copy pathCargo.toml
File metadata and controls
64 lines (53 loc) · 1.77 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
[package]
name = "stm32_lab"
version = "0.1.0"
edition = "2024"
[dependencies]
embassy-stm32 = { version = "0.2.0", git = "https://github.com/embassy-rs/embassy", rev = "2e7a2b6", features = [
"defmt",
"stm32f401re",
"unstable-pac",
"memory-x",
"time-driver-tim4",
"exti",
"chrono",
] }
# Embedded HAL utilities
embassy-embedded-hal = { version = "0.3.0", git = "https://github.com/embassy-rs/embassy", rev = "2e7a2b6", features = [
"defmt",
] }
# Synchronization primitives and data structures with async support
embassy-sync = { version = "0.6.2", git = "https://github.com/embassy-rs/embassy", rev = "2e7a2b6", features = [
"defmt",
] }
# Async/await executor
embassy-executor = { version = "0.7.0", git = "https://github.com/embassy-rs/embassy", rev = "2e7a2b6", features = [
"task-arena-size-49152",
"arch-cortex-m",
"executor-thread",
"executor-interrupt",
"defmt",
] }
# Utilities for working with futures, compatible with no_std and not using alloc
embassy-futures = { version = "0.1.0", git = "https://github.com/embassy-rs/embassy", rev = "2e7a2b6" }
# Timekeeping, delays and timeouts
embassy-time = { version = "0.4.0", git = "https://github.com/embassy-rs/embassy", rev = "2e7a2b6", features = [
"defmt",
"defmt-timestamp-uptime",
"tick-hz-32_768",
] }
# USB device
embassy-usb = { version = "0.4.0", git = "https://github.com/embassy-rs/embassy", rev = "2e7a2b6", features = [
"defmt",
] }
# Defmt support
defmt = "0.3"
defmt-rtt = "0.4"
# Low level access to Cortex-M processors
cortex-m = { version = "0.7.7", features = [
"inline-asm",
"critical-section-single-core",
] }
cortex-m-rt = "0.7.5"
panic-probe = { version = "1.0.0", features = ["print-defmt"] }
# Panic handler that exits `probe-run` with an error code