-
Notifications
You must be signed in to change notification settings - Fork 65
Expand file tree
/
Copy pathCargo.toml
More file actions
43 lines (34 loc) · 959 Bytes
/
Cargo.toml
File metadata and controls
43 lines (34 loc) · 959 Bytes
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
[package]
name = "ch32v003-examples"
version = "0.1.0"
edition = "2021"
[dependencies]
ch32-hal = { path = "../../", features = [
"ch32v003f4u6",
"memory-x",
"embassy",
"time-driver-tim2",
"rt",
] }
embassy-executor = { version = "0.9.1", features = [
"arch-spin",
"executor-thread",
] }
embassy-time = "0.5.0"
# This is okay because we should automatically use whatever ch32-hal uses
qingke = "0.7"
qingke-rt = { version = "0.7", features=["highcode"] }
panic-halt = "1.0"
embedded-hal = "1.0.0"
display-interface-spi = "0.5.0"
embedded-graphics = "0.8.1"
micromath = { version = "2.1.0", features = ["num-traits"] }
[profile.release]
strip = false # symbols are not flashed to the microcontroller, so don't strip them.
lto = true
opt-level = "z" # Optimize for size.
[profile.dev]
overflow-checks = false
# [patch.crates-io]
# qingke = { path = "../../../qingke" }
# qingke-rt = { path = "../../../qingke/qingke-rt" }