Cargo Features
ESP32-C2 has no features set by default.
[dependencies]
esp32c2 = { version = "0.23.0", features = ["rt", "impl-register-debug", "defmt", "critical-section"] }
- rt
- impl-register-debug
- defmt
-
Enables defmt
Features from optional dependencies
- critical-section implicit feature
-
Enables critical-section
critical-section:
Cross-platform critical section