[package]
name = "esp32-hal"
version = "0.3.0"
description = "A Hardware abstraction layer for Espressif's ESP32 WiFi microcontroller."
authors = ["Scott Mabin <scott@mabez.dev>", "Arjan Mels <arjan@mels.email>"]
categories = ["embedded", "hardware-support", "no-std"]
keywords = ["xtensa", "esp32", "hal", "esp"]
license = "MIT OR Apache-2.0"
readme = "README.md"
repository = "https://github.com/esp-rs/esp32-hal"
edition = "2018"
[package.metadata.cargo-xbuild]
memcpy = false
[features]
default = ["mem", "rt"]
all_in_ram = []
external_ram = ["esp32-hal-proc-macros/external_ram"]
alloc = ["linked_list_allocator"]
mem = []
rt = ["esp32/rt", "xtensa-lx-rt"]
[dependencies]
esp32-hal-proc-macros = { version = "=0.2.0", path = "procmacros" }
xtensa-lx-rt = { version = "0.7.0", optional = true, features = ["lx6"] }
xtensa-lx = { version = "0.4.0", features = ["lx6"] }
esp32 = "0.11.0"
bare-metal = "0.2"
nb = "0.1.2"
embedded-hal = { version = "0.2.3", features = ["unproven"] }
linked_list_allocator = { version = "=0.8.11", optional = true, default-features = false, features = ["alloc_ref"] }
void = { version = "1.0.2", default-features = false }
[dev-dependencies]
panic-halt = "0.2.0"
ili9341 = { version = "0.3.0", features = ["graphics"] }
ssd1306 = "0.3.1"
embedded-graphics = "0.6.2"
mpu6050 = "0.1.3"
[[example]]
name = "alloc"
required-features = ["alloc"]
[[example]]
name = "mem"
required-features = ["alloc"]