[build-dependencies.esp-build]
version = "0.1.0"
[dependencies.cfg-if]
version = "1.0.0"
[dependencies.document-features]
version = "0.2.10"
[dependencies.embedded-hal]
optional = true
version = "1.0.0"
[dependencies.embedded-hal-02]
features = ["unproven"]
optional = true
package = "embedded-hal"
version = "0.2.7"
[dependencies.embedded-hal-nb]
optional = true
version = "1.0.0"
[dependencies.embedded-io]
optional = true
version = "0.6.1"
[dependencies.esp32c6-lp]
features = ["critical-section"]
optional = true
version = "0.3.0"
[dependencies.esp32s2-ulp]
features = ["critical-section"]
optional = true
version = "0.3.0"
[dependencies.esp32s3-ulp]
features = ["critical-section"]
optional = true
version = "0.3.0"
[dependencies.nb]
optional = true
version = "1.1.0"
[dependencies.paste]
optional = true
version = "1.0.15"
[dependencies.procmacros]
package = "esp-hal-procmacros"
version = "0.12.0"
[dependencies.riscv]
features = ["critical-section-single-hart"]
version = "0.11.1"
[dev-dependencies.panic-halt]
version = "0.2.0"
[[example]]
name = "blinky"
path = "examples/blinky.rs"
required-features = ["embedded-hal-02"]
[[example]]
name = "i2c"
path = "examples/i2c.rs"
required-features = ["embedded-hal-02", "esp32c6"]
[[example]]
name = "uart"
path = "examples/uart.rs"
required-features = ["embedded-hal-02", "esp32c6"]
[features]
debug = ["esp32c6-lp?/impl-register-debug", "esp32s2-ulp?/impl-register-debug", "esp32s3-ulp?/impl-register-debug"]
default = ["embedded-hal"]
embedded-hal = ["dep:embedded-hal", "dep:embedded-hal-nb"]
embedded-hal-02 = ["dep:embedded-hal-02"]
embedded-io = ["dep:embedded-io"]
esp32c6 = ["dep:esp32c6-lp", "procmacros/is-lp-core", "dep:nb", "dep:paste"]
esp32s2 = ["dep:esp32s2-ulp", "procmacros/is-ulp-core"]
esp32s3 = ["dep:esp32s3-ulp", "procmacros/is-ulp-core"]
[lib]
bench = false
name = "esp_lp_hal"
path = "src/lib.rs"
test = false
[lints.rust]
unexpected_cfgs = "allow"
[package]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = "build.rs"
description = "HAL for low-power RISC-V coprocessors found in ESP32 devices"
edition = "2021"
license = "MIT OR Apache-2.0"
name = "esp-lp-hal"
readme = "README.md"
repository = "https://github.com/esp-rs/esp-hal"
rust-version = "1.76.0"
version = "0.1.0"