-
Notifications
You must be signed in to change notification settings - Fork 240
/
Copy pathCargo.toml
53 lines (44 loc) · 1.61 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
[package]
name = "esp-println"
version = "0.11.0"
edition = "2021"
rust-version = "1.76.0"
description = "Provides `print!` and `println!` implementations various Espressif devices"
repository = "https://github.com/esp-rs/esp-hal"
license = "MIT OR Apache-2.0"
links = "esp-println"
[package.metadata.docs.rs]
cargo-args = ["-Z", "build-std=core"]
default-target = "riscv32imc-unknown-none-elf"
features = ["esp32c3"]
[dependencies]
critical-section = { version = "1.1.3", optional = true }
defmt = { version = "0.3.8", optional = true }
log = { version = "0.4.22", optional = true }
portable-atomic = { version = "1.7.0", optional = true, default-features = false }
[build-dependencies]
esp-build = { version = "0.1.0", path = "../esp-build" }
[features]
default = ["critical-section", "colors", "auto"]
critical-section = ["dep:critical-section"]
log = ["dep:log"]
# You must enable exactly 1 of the below features to support the correct chip:
esp32 = []
esp32c2 = []
esp32c3 = []
esp32c6 = []
esp32h2 = []
esp32p4 = []
esp32s2 = []
esp32s3 = []
# You must enable exactly 1 of the below features to enable to intended
# communication method (note that "auto" is enabled by default):
jtag-serial = ["dep:portable-atomic"] # C3, C6, H2, P4, and S3 only!
uart = []
auto = ["dep:portable-atomic"]
# Don't print anything
no-op = []
# Enables a `defmt` backend usable with espflash. We force rzcobs encoding to simplify implementation
defmt-espflash = ["dep:defmt", "defmt?/encoding-rzcobs"]
# logging sub-features
colors = []