forked from kiyoshigawa/bl602-ws2811
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
37 lines (33 loc) · 1.17 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
[package]
name = "bl602-ws2811"
version = "0.1.0"
authors = ["kiyoshigawa"]
edition = "2021"
[dependencies]
riscv-rt = "0.8.0"
embedded-hal = "=1.0.0-alpha.5"
# Only using the local copy while I am working on updating the timers in the hal:
bl602-hal = { git = "https://github.com/kiyoshigawa/bl602-hal" }
panic-halt = "0.2.0"
riscv = "0.7.0"
embedded-time = "0.12.0"
nb = "1.0.0"
bitvec = { version = "0.22.3", default-features = false }
rand = { version = "0.8.4", features = ["small_rng"], default-features = false }
arrayvec = { version = "0.7.2", default-features = false }
panic-write = "0.1.0"
# You probably don't want to use a debug build, but lots of people accidentally do
# give the code at least a low level of optimization
[profile.dev]
codegen-units = 1
lto = true
opt-level = 1
# Different optimization level for dependencies in debug mode
# So you can keep the main code more debuggable and still save some space
[profile.dev.package."*"]
opt-level = "z"
[profile.release]
codegen-units = 1 # better optimizations
debug = true # symbols are nice and they don't increase the size on Flash
lto = true # better optimizations
# opt-level = "z" # optimize for size instead of speed