-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
42 lines (31 loc) · 908 Bytes
/
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
[package]
name = "esp32-idf-example"
version = "0.1.0"
authors = ["Urs de Swardt <[email protected]>"]
edition = "2021"
resolver = "2"
rust-version = "1.77"
[[bin]]
name = "esp32-idf-example"
harness = false # do not use the built in cargo test harness -> resolve rust-analyzer errors
[profile.release]
opt-level = "s"
[profile.dev]
debug = true # Symbols are nice and they don't increase the size on Flash
opt-level = "z"
[features]
default = []
experimental = ["esp-idf-svc/experimental"]
[dependencies]
log = "0.4"
esp-idf-svc = { version = "0.51", features = ["critical-section", "embassy-time-driver", "embassy-sync"] }
esp-idf-sys = { version = "0.36", features = ["binstart"] }
esp-idf-hal = "0.45"
[build-dependencies]
embuild = "0.33"
[build]
target = ["riscv32imc-esp-espidf"]
[target.riscv32imc-esp-espidf]
linker = "ldproxy"
[unstable]
build-std = ["std", "panic_abort"]