This repository has been archived by the owner on Aug 9, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 28
/
Cargo.toml
66 lines (51 loc) · 1.82 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
[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"
# Allow overriding of `memcpy`, `memset`, etc.
[package.metadata.cargo-xbuild]
memcpy = false
[features]
default = ["mem", "rt"]
# Place program completely in RAM (needed when e.g. using only ROM bootloader, or for debugging).
all_in_ram = []
# Allow use of external RAM. (Needs customized bootloader.)
external_ram = ["esp32-hal-proc-macros/external_ram"]
# Add support for global allocator.
alloc = ["linked_list_allocator"]
# Define `memcpy`, `memset`, etc. as replacement of standard functions.
mem = []
# Enable the `rt` feature of the `esp32` crate.
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 }
paste = "1.0.6"
[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"
ws2812-spi = "0.4.0"
smart-leds = "0.3.0"
[[example]]
name = "alloc"
required-features = ["alloc"]
[[example]]
name = "mem"
required-features = ["alloc"]