esp32c2-hal 0.13.1

HAL for ESP32-C2 microcontrollers
[[example]]
name = "spi_eh1_loopback"
required-features = ["eh1"]

[[example]]
name = "spi_eh1_device_loopback"
required-features = ["eh1"]

[[example]]
name = "embassy_hello_world"
required-features = ["embassy", "embassy-executor-thread"]

[[example]]
name = "embassy_multiprio"
required-features = ["embassy", "embassy-executor-thread", "embassy-executor-interrupt"]

[[example]]
name = "embassy_wait"
required-features = ["embassy", "async", "embassy-executor-thread"]

[[example]]
name = "embassy_spi"
required-features = ["embassy", "async", "embassy-executor-thread"]

[[example]]
name = "interrupt_preemption"
required-features = ["interrupt-preemption"]

[[example]]
name = "embassy_serial"
required-features = ["embassy", "async", "embassy-executor-thread"]

[[example]]
name = "embassy_i2c"
required-features = ["embassy", "async", "embassy-executor-thread"]

[[example]]
name = "direct-vectoring"
required-features = ["direct-vectoring"]
[build-dependencies.build-alert]
version = "0.1.6"
[dependencies.esp-hal-common]
features = ["esp32c2"]
version = "0.15.0"
[dev-dependencies.critical-section]
version = "1.1.2"

[dev-dependencies.crypto-bigint]
default-features = false
version = "0.5.5"

[dev-dependencies.elliptic-curve]
default-features = false
features = ["sec1"]
version = "0.13.8"

[dev-dependencies.embassy-executor]
features = ["nightly"]
version = "0.5.0"

[dev-dependencies.embassy-sync]
version = "0.5.0"

[dev-dependencies.embassy-time]
version = "0.3.0"

[dev-dependencies.embedded-graphics]
version = "0.8.1"

[dev-dependencies.embedded-hal-1]
package = "embedded-hal"
version = "1.0.0"

[dev-dependencies.embedded-hal-async]
version = "1.0.0"

[dev-dependencies.embedded-hal-bus]
version = "0.1.0"

[dev-dependencies.embedded-io-async]
version = "0.6.1"

[dev-dependencies.esp-backtrace]
features = ["esp32c2", "panic-handler", "exception-handler", "print-uart"]
version = "0.10.0"

[dev-dependencies.esp-println]
features = ["esp32c2"]
version = "0.8.0"

[dev-dependencies.heapless]
version = "0.8.0"

[dev-dependencies.hex-literal]
version = "0.4.1"

[dev-dependencies.lis3dh-async]
version = "0.9.1"

[dev-dependencies.p192]
default-features = false
features = ["arithmetic"]
version = "0.13.0"

[dev-dependencies.p256]
default-features = false
features = ["arithmetic"]
version = "0.13.2"

[dev-dependencies.sha2]
default-features = false
version = "0.10.8"

[dev-dependencies.ssd1306]
version = "0.8.4"

[dev-dependencies.static_cell]
features = ["nightly"]
version = "2.0.0"

[features]
async = ["esp-hal-common/async"]
debug = ["esp-hal-common/debug"]
default = ["rt", "vectored", "xtal-40mhz", "embassy-integrated-timers"]
defmt = ["esp-hal-common/defmt", "esp-println/defmt-espflash"]
direct-vectoring = ["esp-hal-common/direct-vectoring"]
eh1 = ["esp-hal-common/eh1"]
embassy = ["esp-hal-common/embassy"]
embassy-executor-interrupt = ["esp-hal-common/embassy-executor-interrupt"]
embassy-executor-thread = ["esp-hal-common/embassy-executor-thread"]
embassy-integrated-timers = ["esp-hal-common/embassy-integrated-timers"]
embassy-time-systick = ["esp-hal-common/embassy-time-systick", "embassy-time/tick-hz-16_000_000"]
embassy-time-timg0 = ["esp-hal-common/embassy-time-timg0", "embassy-time/tick-hz-1_000_000"]
embedded-io = ["esp-hal-common/embedded-io"]
interrupt-preemption = ["esp-hal-common/interrupt-preemption"]
log = ["esp-hal-common/log", "esp-println/log"]
rt = ["esp-hal-common/rt-riscv"]
ufmt = ["esp-hal-common/ufmt"]
vectored = ["esp-hal-common/vectored"]
xtal-26mhz = ["esp-hal-common/xtal-26mhz"]
xtal-40mhz = ["esp-hal-common/xtal-40mhz"]

[package]
categories = ["embedded", "hardware-support", "no-std"]
description = "HAL for ESP32-C2 microcontrollers"
edition = "2021"
keywords = ["embedded", "embedded-hal", "esp", "esp32c2", "no-std"]
license = "MIT OR Apache-2.0"
name = "esp32c2-hal"
readme = "README.md"
repository = "https://github.com/esp-rs/esp-hal"
rust-version = "1.67.0"
version = "0.13.1"
[profile.release]
debug = 2