-
Notifications
You must be signed in to change notification settings - Fork 8
/
Cargo.toml
71 lines (62 loc) · 1.87 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
[package]
name = "ch58x-hal"
version = "0.0.2"
edition = "2021"
authors = ["Andelf <andelf@gmail.com>"]
repository = "https://github.com/ch32-rs/ch58x-hal"
documentation = "https://docs.rs/ch58x-hal"
homepage = "https://github.com/ch32-rs/ch58x-hal"
categories = ["embedded", "no-std"]
description = "HAL for the CH583/CH582/CH581 RISC-V BLE microcotrollers from WCH"
keywords = ["embedded-hal", "embassy", "ch582", "ch581", "ch583"]
readme = "README.md"
license = "MIT/Apache-2.0"
[features]
default = ["ble", "embassy"]
embassy = ["dep:embassy-sync"]
ble = []
[dependencies]
ch58x = { version = "0.3.0", features = ["ch58x", "rt"] }
critical-section = "1.1.2"
qingke = { version = "0.1.7", features = ["critical-section-impl"] }
qingke-rt = { version = "0.1.7", features = ["highcode"] }
# qingke = { version = "0.1.7", features = [
# "critical-section-impl",
# ], path = "../qingke" }
# qingke-rt = { version = "0.1.7", features = [
# "highcode",
# ], path = "../qingke/qingke-rt" }
fugit = "0.3.7"
nb = "1.1.0"
embedded-hal-02 = { package = "embedded-hal", version = "0.2.7", features = [
"unproven",
] }
embedded-hal-1 = { version = "1.0.0", package = "embedded-hal" }
embedded-hal-nb = "1.0.0"
embedded-hal-async = "1.0.0"
embassy-sync = { version = "0.5.0", optional = true }
embassy-time-driver = { version = "0.1.0", features = ["tick-hz-32_768"] }
[dev-dependencies]
display-interface = "0.4.1"
display-interface-spi = "0.4.1"
embedded-graphics = "0.8.1"
panic-halt = "0.2.0"
ssd1306 = "0.8.4"
embassy-futures = "0.1.1"
embassy-executor = { version = "0.5.0", features = [
"nightly",
"integrated-timers",
"arch-riscv32",
"executor-thread",
] }
embassy-time = { version = "0.3.0" }
# embassy time driver
heapless = "0.8.0"
embedded-alloc = "0.5.0"
embedded-sdmmc = "0.6.0"
[profile.release]
# panic = "unwind"
panic = "abort"
opt-level = "z"
lto = true
codegen-units = 1