-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
80 lines (65 loc) · 1.8 KB
/
Cargo.toml
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
[package]
name = "stm32h743-http"
version = "0.1.0"
authors = ["Adrian Parvin D. Ouano <[email protected]>"]
edition = "2018"
[[bin]]
name = "stm32h743-http"
test = false
bench = false
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[patch.crates-io]
usb-device = { git = "https://github.com/rust-embedded-community/usb-device", rev = "136b00ea3228ec8b8045698688ac7a52bcc3471d" }
[dependencies]
embedded-hal = "0.2"
nb = "1"
cortex-m-rt = "0.6"
cortex-m-rtic = "0.6.0-alpha.5"
rtic-monotonic = "0.1.0-alpha.1"
dwt-systick-monotonic = "0.1.0-alpha.3"
heapless = "0.7.1"
usb-device = { git = "https://github.com/rust-embedded-community/usb-device", rev = "136b00ea3228ec8b8045698688ac7a52bcc3471d" }
usbd-serial = "0.1.1"
defmt = "0.3.0"
defmt-rtt = "0.3.0"
rtcc = "0.2"
numtoa = "0.2.4"
fugit = "0.3.7"
[dependencies.cortex-m]
version = "0.7.6"
features = ["critical-section-single-core"]
[dependencies.panic-probe]
version = "0.3.0"
features = ["print-defmt"]
[dependencies.replace_with]
version = "0.1.7"
default-features = false
features = ["nightly"]
[dependencies.managed]
version = "0.7.2"
default-features = false
[dependencies.smoltcp]
git = "https://github.com/smoltcp-rs/smoltcp"
rev = "027f255f904b9b7c4226cfd8b2d31f272ffa5105"
default-features = false
features = ["proto-ipv6", "medium-ethernet", "socket-tcp", "socket-udp", "socket-raw"]
[dependencies.stm32h7xx-hal]
version = "0.14.0"
features = ["rt", "stm32h743", "usb_hs"] # replace the model of your microcontroller here
[dependencies.httparse]
version = "1.4.1"
default-features = false
[profile.dev]
opt-level = 'z'
lto = true
[profile.release]
opt-level = 3
lto = true
[features]
defmt-default = []
defmt-trace = []
defmt-debug = []
defmt-info = []
defmt-warn = []
defmt-error = []
default = ["defmt-default"]