-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
47 lines (39 loc) · 1.07 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
[package]
name = "blinky"
version = "0.0.0"
description = "blinky"
readme = "README.md"
keywords = ["esp-hal", "esp32"]
license = "MIT"
edition = "2021"
rust-version = "1.81"
[features]
default = [
"esp32c6",
"jtag",
"log",
]
log = [
"dep:log",
"esp-hal/log",
"esp-println/log",
"esp-backtrace/println",
]
defmt = [
"dep:defmt",
"esp-hal/defmt",
"esp-println/defmt-espflash",
"esp-backtrace/defmt",
]
jtag = ["esp-println/jtag-serial"]
uart = ["esp-println/uart"]
esp32c3 = ["esp-hal/esp32c3", "esp-println/esp32c3", "esp-backtrace/esp32c3"]
esp32c6 = ["esp-hal/esp32c6", "esp-println/esp32c6", "esp-backtrace/esp32c6"]
[dependencies]
esp-hal = { version = "0.22.0" }
esp-println = { version = "0.12.0", default-features = false, features = ["critical-section", "colors"] }
esp-backtrace = { version = "0.14.2", features = ["panic-handler", "exception-handler"] }
defmt = { version = "0.3", optional = true }
log = { version = "0.4", optional = true }
# Time library for embedded targets with ease-of-use and performance first.
fugit = "0.3"