Cargo Features

[dependencies]
esp-println = { version = "0.9.1", default-features = false, features = ["log", "esp32", "esp32p4", "esp32s3", "uart", "jtag-serial", "no-op", "defmt-espflash", "colors", "critical-section"] }
default = colors, critical-section, uart

These default features are set whenever esp-println is added without default-features = false somewhere in the dependency tree.

log

Enables log

Affects esp-println::logger

esp32

You must enable exactly 1 of the below features to support the correct chip:

esp32c2 esp32c3 esp32c6 esp32h2 esp32p4
esp32s2 esp32s3
uart default

You must enable exactly 1 of the below features to enable to intended communication method (note that "uart" is enabled by default):

jtag-serial = portable-atomic

C3, C6, H2, P4, and S3 only!

no-op
defmt-espflash

Enables a defmt backend usable with espflash. We force rzcobs encoding to simplify implementation

Enables encoding-rzcobs of defmt

Affects esp-println::defmt

colors default

logging sub-features

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

critical-section default
portable-atomic jtag-serial?