Cargo Features

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

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

critical-section default

Enables critical-section

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
jtag-serial

You must enable exactly 1 of the below features to enable to intended communication method (note that "auto" is enabled by default):
C3, C6, H2, P4, and S3 only!

Enables portable-atomic

uart
auto default

Enables portable-atomic

no-op

Don't print anything

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