[build-dependencies.basic-toml]
version = "0.1.8"
[build-dependencies.serde]
features = ["derive"]
version = "1.0.195"
[dependencies.bitfield]
version = "0.14.0"
[dependencies.bitflags]
version = "2.4.2"
[dependencies.cfg-if]
version = "1.0.0"
[dependencies.critical-section]
version = "1.1.2"
[dependencies.defmt]
optional = true
version = "=0.3.5"
[dependencies.embassy-executor]
optional = true
version = "0.5.0"
[dependencies.embassy-futures]
optional = true
version = "0.1.1"
[dependencies.embassy-sync]
optional = true
version = "0.5.0"
[dependencies.embassy-time-driver]
optional = true
version = "0.1.0"
[dependencies.embedded-can]
optional = true
version = "0.4.1"
[dependencies.embedded-dma]
version = "0.2.0"
[dependencies.embedded-hal]
features = ["unproven"]
version = "0.2.7"
[dependencies.embedded-hal-1]
optional = true
package = "embedded-hal"
version = "1.0.0"
[dependencies.embedded-hal-async]
optional = true
version = "1.0.0"
[dependencies.embedded-hal-nb]
optional = true
version = "1.0.0"
[dependencies.embedded-io]
optional = true
version = "0.6.1"
[dependencies.embedded-io-async]
optional = true
version = "0.6.1"
[dependencies.enumset]
version = "1.1.3"
[dependencies.esp-riscv-rt]
optional = true
version = "0.6.1"
[dependencies.esp-synopsys-usb-otg]
features = ["fs", "esp32sx"]
optional = true
version = "0.4.0"
[dependencies.esp32]
features = ["critical-section"]
optional = true
version = "0.28.0"
[dependencies.esp32c2]
features = ["critical-section"]
optional = true
version = "0.17.0"
[dependencies.esp32c3]
features = ["critical-section"]
optional = true
version = "0.20.0"
[dependencies.esp32c6]
features = ["critical-section"]
optional = true
version = "0.11.0"
[dependencies.esp32h2]
features = ["critical-section"]
optional = true
version = "0.7.0"
[dependencies.esp32s2]
features = ["critical-section"]
optional = true
version = "0.19.0"
[dependencies.esp32s3]
features = ["critical-section"]
optional = true
version = "0.23.0"
[dependencies.fugit]
version = "0.3.7"
[dependencies.heapless]
version = "0.8.0"
[dependencies.log]
optional = true
version = "0.4.20"
[dependencies.nb]
version = "1.1.0"
[dependencies.paste]
version = "1.0.14"
[dependencies.portable-atomic]
default-features = false
version = "1.6.0"
[dependencies.procmacros]
features = ["enum-dispatch", "ram"]
package = "esp-hal-procmacros"
version = "0.8.0"
[dependencies.riscv]
optional = true
version = "0.11.0"
[dependencies.strum]
default-features = false
features = ["derive"]
version = "0.25.0"
[dependencies.ufmt-write]
optional = true
version = "0.1.0"
[dependencies.usb-device]
optional = true
version = "0.3.1"
[dependencies.void]
default-features = false
version = "1.0.2"
[dependencies.xtensa-lx]
optional = true
version = "0.8.0"
[dependencies.xtensa-lx-rt]
optional = true
version = "0.16.0"
[features]
async = ["embedded-hal-async", "eh1", "embassy-sync", "embassy-futures", "embedded-io", "embedded-io-async"]
debug = ["esp32?/impl-register-debug", "esp32c2?/impl-register-debug", "esp32c3?/impl-register-debug", "esp32c6?/impl-register-debug", "esp32h2?/impl-register-debug", "esp32s2?/impl-register-debug", "esp32s3?/impl-register-debug"]
defmt = ["dep:defmt", "embassy-executor?/defmt", "embassy-futures?/defmt", "embassy-sync?/defmt", "embedded-hal-1?/defmt-03", "embedded-io/defmt-03", "embedded-io-async?/defmt-03"]
direct-vectoring = ["esp-riscv-rt/direct-vectoring"]
eh1 = ["embedded-hal-1", "embedded-hal-nb", "embedded-can"]
embassy = ["embassy-time-driver", "procmacros/embassy"]
embassy-executor-interrupt = ["embassy", "embassy-executor"]
embassy-executor-thread = ["embassy", "embassy-executor"]
embassy-integrated-timers = ["embassy-executor?/integrated-timers"]
embassy-time-systick = []
embassy-time-timg0 = []
embedded-io = ["dep:embedded-io"]
esp32 = ["dep:esp32", "xtensa", "procmacros/esp32", "xtensa-lx/esp32", "xtensa-lx-rt?/esp32"]
esp32c2 = ["dep:esp32c2", "riscv", "procmacros/esp32c2", "portable-atomic/unsafe-assume-single-core"]
esp32c3 = ["dep:esp32c3", "riscv", "procmacros/esp32c3", "portable-atomic/unsafe-assume-single-core"]
esp32c6 = ["dep:esp32c6", "riscv", "procmacros/esp32c6"]
esp32h2 = ["dep:esp32h2", "riscv", "procmacros/esp32h2"]
esp32s2 = ["dep:esp32s2", "xtensa", "procmacros/esp32s2", "xtensa-lx/esp32s2", "xtensa-lx-rt?/esp32s2", "usb-otg", "portable-atomic/critical-section"]
esp32s3 = ["dep:esp32s3", "xtensa", "procmacros/esp32s3", "xtensa-lx/esp32s3", "xtensa-lx-rt?/esp32s3", "usb-otg"]
flip-link = ["esp-riscv-rt/fix-sp"]
interrupt-preemption = ["esp-riscv-rt/interrupt-preemption"]
log = ["dep:log"]
opsram-16m = []
opsram-2m = []
opsram-4m = []
opsram-8m = []
psram-2m = []
psram-4m = []
psram-80mhz = []
psram-8m = []
riscv = ["dep:riscv", "critical-section/restore-state-u8"]
rt-riscv = ["esp-riscv-rt/zero-bss", "esp32c2?/rt", "esp32c3?/rt", "esp32c6?/rt", "esp32h2?/rt"]
rt-xtensa = ["dep:xtensa-lx-rt", "esp32?/rt", "esp32s2?/rt", "esp32s3?/rt"]
rv-init-data = ["esp-riscv-rt/init-data", "esp-riscv-rt/init-rw-text"]
rv-init-rtc-data = ["esp-riscv-rt/init-rtc-fast-data", "esp-riscv-rt/init-rtc-fast-text"]
rv-zero-rtc-bss = ["esp-riscv-rt/zero-rtc-fast-bss"]
ufmt = ["ufmt-write"]
usb-otg = ["esp-synopsys-usb-otg", "usb-device"]
vectored = ["procmacros/interrupt"]
xtal-26mhz = []
xtal-40mhz = []
xtensa = ["critical-section/restore-state-u32"]
[package]
description = "HAL implementations for peripherals common among Espressif devices; should not be used directly"
edition = "2021"
license = "MIT OR Apache-2.0"
links = "esp-hal-common"
name = "esp-hal-common"
readme = "README.md"
repository = "https://github.com/esp-rs/esp-hal"
rust-version = "1.67.0"
version = "0.15.0"