Cargo Features

[dependencies]
esp-hal-embassy = { version = "0.3.0", default-features = false, features = ["esp32", "esp32c2", "esp32c3", "esp32c6", "esp32h2", "esp32s2", "esp32s3", "defmt", "log", "executors", "integrated-timers"] }
default = executors

The executors feature is set by default whenever esp-hal-embassy is added without default-features = false somewhere in the dependency tree.

esp32

Enables esp32 of esp-hal

esp-hal:

Chip Support Feature Flags
Target the ESP32.

esp32c2

Enables esp32c2 of esp-hal

esp-hal:

Target the ESP32-C2.

esp32c3

Enables esp32c3 of esp-hal

esp-hal:

Target the ESP32-C3.

esp32c6

Enables esp32c6 of esp-hal

esp-hal:

Target the ESP32-C6.

esp32h2

Enables esp32h2 of esp-hal

esp-hal:

Target the ESP32-H2.

esp32s2

Enables esp32s2 of esp-hal

esp-hal:

Target the ESP32-S2.

esp32s3

Enables esp32s3 of esp-hal

esp-hal:

Target the ESP32-S3.

defmt

Implement defmt::Format on certain types.

Enables defmt, defmt of esp-hal and optional embassy-executor

log

Enable logging via the log crate

Enables log

executors default

Provide Executor and InterruptExecutor

Enables embassy-executor and esp-hal

integrated-timers

Use the executor-integrated embassy-time timer queue.

Enables integrated-timers of optional embassy-executor