Cargo Features

[dependencies]
esp-lp-hal = { version = "0.1.0", default-features = false, features = ["debug", "esp32c6", "esp32s2", "esp32s3", "embedded-hal-02", "embedded-hal", "embedded-io"] }
default = embedded-hal

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

debug

Enable debug features in the HAL (used for development).

Enables impl-register-debug of optional esp32c6-lp, optional esp32s2-ulp, and optional esp32s3-ulp

esp32c6

Chip Support Feature Flags
Target the ESP32-C6.

Enables esp32c6-lp, nb, and paste, is-lp-core of esp-hal-procmacros ^0.12.0

Affects esp-lp-hal::wake_hp_core

esp32s2

Target the ESP32-S2.

Enables esp32s2-ulp, is-ulp-core of esp-hal-procmacros ^0.12.0

esp32s3

Target the ESP32-S3.

Enables esp32s3-ulp, is-ulp-core of esp-hal-procmacros ^0.12.0

embedded-hal-02

Trait Implementation Feature Flags

Implement the traits defined in the 0.2.x release of embedded-hal.

Enables embedded-hal ^0.2.7

embedded-hal default

Implement the traits defined in the 1.0.0 releases of embedded-hal and embedded-hal-nb for the relevant peripherals.

Enables embedded-hal and embedded-hal-nb

embedded-io

Implement the traits defined in embedded-io for the relevant peripherals.

Enables embedded-io