forked from esp-rs/esp32-hal
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
49 lines (35 loc) · 1.11 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
[package]
name = "esp32-hal"
version = "0.1.0"
authors = ["Scott Mabin <[email protected]>", "Arjan Mels <[email protected]>"]
edition = "2018"
# Allow overriding of memcpy, memset, etc.
[package.metadata.cargo-xbuild]
memcpy = false
[features]
default=["mem"]
# 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=[]
[dependencies]
esp32-hal-proc-macros = { path = "procmacros" }
xtensa-lx6-rt = { version = "0.1.0" }
esp32 = { version = "0.4.0" }
bare-metal = "0.2"
nb = "0.1.2"
spin = "0.5.2"
embedded-hal = { version = "0.2.3", features = ["unproven"] }
linked_list_allocator = { version = "0.8.4", optional = true, default-features = false, features = ["alloc_ref"] }
[dev-dependencies]
panic-halt = "0.2.0"
[[example]]
name = "alloc"
required-features = ["alloc"]
[[example]]
name = "mem"
required-features = ["alloc"]