Cargo Features
[dependencies]
esp-hal-embassy = { version = "0.5.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 wheneveresp-hal-embassy
is added without
somewhere in the dependency tree.default-features = false - esp32
-
esp-hal:
Chip Support Feature Flags
Target the ESP32. - esp32c2
-
esp-hal:
Target the ESP32-C2.
- esp32c3
-
esp-hal:
Target the ESP32-C3.
- esp32c6
-
esp-hal:
Target the ESP32-C6.
- esp32h2
-
esp-hal:
Target the ESP32-H2.
- esp32s2
-
esp-hal:
Target the ESP32-S2.
- esp32s3
-
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
andInterruptExecutor
Enables embassy-executor and esp-hal
- integrated-timers
-
Use the executor-integrated
embassy-time
timer queue.Enables integrated-timers of optional embassy-executor