Cargo Features

esp-phy has no features set by default.

[dependencies]
esp-phy = { version = "0.1.1", features = ["defmt", "log-04", "esp32c2", "esp32c3", "esp32c6", "esp32h2", "esp32", "esp32s2", "esp32s3"] }
defmt

Logging Feature Flags

Enable logging output using defmt and implement defmt::Format on certain types.

Enables defmt

log-04

Enable logging output using version 0.4 of the log crate.

Enables log

esp32c2

Chip selection

One of the following features must be enabled to select the target chip:

Enables esp32c2 of esp-hal, esp-metadata-generated, and esp-wifi-sys

esp32c3

Enables esp32c3 of esp-hal, esp-metadata-generated, and esp-wifi-sys

esp32c6

Enables esp32c6 of esp-hal, esp-metadata-generated, and esp-wifi-sys

esp32h2

Enables esp32h2 of esp-hal, esp-metadata-generated, and esp-wifi-sys

esp32

Enables esp32 of esp-hal, esp-metadata-generated, and esp-wifi-sys

esp-hal:

Chip selection

One of the following features must be enabled to select the target chip:

esp32s2

Enables esp32s2 of esp-hal, esp-metadata-generated, and esp-wifi-sys

esp32s3

Enables esp32s3 of esp-hal, esp-metadata-generated, and esp-wifi-sys