Cargo Features

esp-wifi-hal has no features set by default.

[dependencies]
esp-wifi-hal = { version = "0.1.0-alpha.0", features = ["esp32", "esp32s2", "defmt", "log", "critical_section"] }
esp32

Enables esp32 and esp32 of esp-hal and esp-wifi-sys

esp-hal:

Chip Support Feature Flags
Target the ESP32.

esp32s2

Enables esp32s2, critical-section of portable-atomic and esp32s2 of esp-hal and esp-wifi-sys

esp-hal:

Target the ESP32-S2.

defmt

Enables defmt, defmt of defmt-or-log

log

Enables log and log of defmt-or-log

defmt-or-log:

Choose at most one of the following two features

critical_section

esp-wifi-hal has 5 features without comments.