* Document features for `esp-riscv-rt` package * Document features for `esp-hal-smartled` * Document features for `esp-hal-procmacros`
44 lines
1.2 KiB
TOML
44 lines
1.2 KiB
TOML
[package]
|
|
name = "esp-hal-smartled"
|
|
version = "0.8.0"
|
|
edition = "2021"
|
|
rust-version = "1.67.0"
|
|
description = "RMT adapter for smartleds"
|
|
repository = "https://github.com/esp-rs/esp-hal"
|
|
license = "MIT OR Apache-2.0"
|
|
|
|
[package.metadata.docs.rs]
|
|
features = ["esp32c3"]
|
|
targets = ["riscv32imc-unknown-none-elf"]
|
|
|
|
[dependencies]
|
|
defmt = { version = "=0.3.5", optional = true }
|
|
document-features = "0.2.7"
|
|
esp-hal = { version = "0.15.0", path = "../esp-hal" }
|
|
fugit = "0.3.7"
|
|
smart-leds-trait = "0.3.0"
|
|
|
|
[features]
|
|
## Implement `defmt::Format` on certain types.
|
|
defmt = ["dep:defmt", "esp-hal/defmt"]
|
|
|
|
#! ### Chip Support Feature Flags
|
|
## Target the ESP32.
|
|
esp32 = ["esp-hal/esp32"]
|
|
## Target the ESP32-C3.
|
|
esp32c3 = ["esp-hal/esp32c3"]
|
|
## Target the ESP32-C6.
|
|
esp32c6 = ["esp-hal/esp32c6"]
|
|
## Target the ESP32-H2.
|
|
esp32h2 = ["esp-hal/esp32h2"]
|
|
## Target the ESP32-S2.
|
|
esp32s2 = ["esp-hal/esp32s2"]
|
|
## Target the ESP32-S3.
|
|
esp32s3 = ["esp-hal/esp32s3"]
|
|
|
|
#! ### Crystal Frequency Feature Flags
|
|
## Target device has a 26MHz crystal.
|
|
xtal-26mhz = ["esp-hal/xtal-26mhz"]
|
|
## Target device has a 40MHz crystal.
|
|
xtal-40mhz = ["esp-hal/xtal-40mhz"]
|