mirror of
https://github.com/esp-rs/esp-hal.git
synced 2025-09-27 12:20:56 +00:00
59 lines
1.7 KiB
TOML
59 lines
1.7 KiB
TOML
[package]
|
|
name = "esp-storage"
|
|
version = "0.7.0"
|
|
edition = "2024"
|
|
rust-version = "1.86.0"
|
|
description = "Implementation of embedded-storage traits to access unencrypted ESP32 flash"
|
|
documentation = "https://docs.espressif.com/projects/rust/esp-storage/latest/"
|
|
keywords = ["embedded-storage", "esp32", "espressif", "no-std"]
|
|
categories = ["embedded", "hardware-support", "no-std"]
|
|
repository = "https://github.com/esp-rs/esp-hal"
|
|
license = "MIT OR Apache-2.0"
|
|
|
|
[package.metadata.docs.rs]
|
|
default-target = "riscv32imac-unknown-none-elf"
|
|
features = ["esp32c6"]
|
|
|
|
[lib]
|
|
bench = false
|
|
|
|
[dependencies]
|
|
embedded-storage = "0.3.1"
|
|
procmacros = { version = "0.19.0", package = "esp-hal-procmacros", path = "../esp-hal-procmacros" }
|
|
|
|
# Optional dependencies
|
|
esp-sync = { version = "0.0.0", path = "../esp-sync", optional = true }
|
|
esp-rom-sys = { version = "0.1.1", path = "../esp-rom-sys", optional = true }
|
|
|
|
# Unstable dependencies that are not (strictly) part of the public API
|
|
document-features = "0.2.11"
|
|
|
|
[features]
|
|
default = ["critical-section"]
|
|
|
|
## Place the flash operations in a critical section
|
|
critical-section = []
|
|
|
|
## Bytewise read emulation
|
|
bytewise-read = []
|
|
|
|
#! ### Chip selection
|
|
#! One of the following features must be enabled to select the target chip:
|
|
|
|
##
|
|
esp32c2 = ["esp-rom-sys/esp32c2", "esp-sync/esp32c2"]
|
|
##
|
|
esp32c3 = ["esp-rom-sys/esp32c3", "esp-sync/esp32c3"]
|
|
##
|
|
esp32c6 = ["esp-rom-sys/esp32c6", "esp-sync/esp32c6"]
|
|
##
|
|
esp32h2 = ["esp-rom-sys/esp32h2", "esp-sync/esp32h2"]
|
|
##
|
|
esp32 = ["esp-rom-sys/esp32", "esp-sync/esp32"]
|
|
##
|
|
esp32s2 = ["esp-rom-sys/esp32s2", "esp-sync/esp32s2"]
|
|
##
|
|
esp32s3 = ["esp-rom-sys/esp32s3", "esp-sync/esp32s3"]
|
|
## Used for testing on a host.
|
|
emulation = []
|