esp-hal/esp32-hal/Cargo.toml
Robert Wiewel 21b64f5c28 WIP: Prototype of shared I2C implementation
- Add example for I2C display example for ESP32-C3 and ESP32
- Example works for ESP32-C3, but not yet for ESP32
- Dependent on patched and forked `esp-pacs` version (referenced
  relatively for now, please check out and place accordingly)
2022-03-01 14:16:57 +01:00

46 lines
1003 B
TOML

[package]
name = "esp32-hal"
version = "0.1.0"
authors = [
"Jesse Braham <jesse@beta7.io>",
"Björn Quentin <bjoern.quentin@mobile-j.de>",
]
edition = "2021"
description = "HAL for ESP32 microcontrollers"
repository = "https://github.com/esp-rs/esp-hal"
license = "MIT OR Apache-2.0"
keywords = [
"embedded",
"embedded-hal",
"esp",
"esp32",
"no-std",
]
categories = [
"embedded",
"hardware-support",
"no-std",
]
[dependencies]
bare-metal = "1.0"
embedded-hal = { version = "0.2", features = ["unproven"] }
nb = "1.0"
void = { version = "1.0", default-features = false }
xtensa-lx = { version = "0.6.0", features = ["esp32"] }
xtensa-lx-rt = { version = "0.9.0", features = ["esp32"], optional = true }
[dependencies.esp-hal-common]
path = "../esp-hal-common"
features = ["esp32"]
[dev-dependencies]
panic-halt = "0.2"
ssd1306 = "0.7.0"
embedded-graphics = "0.7.1"
[features]
default = ["rt"]
rt = ["xtensa-lx-rt"]