-
Notifications
You must be signed in to change notification settings - Fork 2
/
Cargo_esp.toml
51 lines (47 loc) · 1.22 KB
/
Cargo_esp.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
[package]
resolver = "2"
name = "{{project-name}}"
version = "0.0.1"
description = "Keyboard firmware written in Rust"
homepage = ""
repository = ""
readme = ""
edition = "2021"
license = "MIT OR Apache-2.0"
[dependencies]
rmk = { version = "0.3.0", features = [
"{{ chip }}_ble",
"col2row",
"async_matrix",
] }
esp32-nimble = { version = "0.7.0" }
defmt = "0.3"
embassy-time = { version = "0.3.0", features = ["defmt", "generic-queue-8"] }
esp-println = { version = "0.10", features = ["{{ chip }}", "defmt-espflash"] }
esp-idf-svc = { version = "0.49", default-features = false, features = [
"std",
"alloc",
"binstart",
"embassy-sync",
"critical-section",
"embassy-time-driver",
"native"
] }
[build-dependencies]
xz2 = "0.1.7"
json = "0.12"
const-gen = "1.6"
embuild = "0.32"
[profile.dev]
codegen-units = 1 # better optimizations
debug = true
opt-level = 3 # esp-wifi should be built with opt-level 2 or 3
overflow-checks = true
lto = false
panic = 'unwind'
[profile.release]
codegen-units = 1 # better optimizations
debug = true # no overhead for bare-metal
opt-level = 3 # esp-wifi should be built with opt-level 2 or 3
overflow-checks = false
lto = "fat"