This repository has been archived by the owner on May 27, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Cargo.toml
89 lines (78 loc) · 2.89 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
[package]
name = "esp-storage"
version = "0.3.0"
edition = "2021"
authors = [
"The ESP-RS team",
"Björn Quentin <[email protected]>",
]
description = "Implementation of embedded-storage traits to access unencrypted ESP32 flash"
repository = "https://github.com/esp-rs/esp-storage"
license = "MIT OR Apache-2.0"
keywords = [
"embedded-storage",
"esp",
"no-std",
]
categories = [
"embedded",
"hardware-support",
"no-std",
]
[dependencies]
embedded-storage = "0.3.0"
critical-section = { version = "1.1.1", optional = true }
# specifying dev dependencies by target is less than ideal - however we cannot have feature gated dev-dependencies
[target.riscv32imc-unknown-none-elf.dev-dependencies]
# ESP32-C2
# esp32c2-hal = "0.11.0"
# esp-println = { version = "0.7.1", features = [ "esp32c2" ] }
# esp-backtrace = { version = "0.9.0", features = [ "esp32c2", "panic-handler", "exception-handler", "print-uart"] }
# ESP32-C3
esp32c3-hal = "0.13.0"
esp-println = { version = "0.7.1", features = [ "esp32c3" ] }
esp-backtrace = { version = "0.9.0", features = [ "esp32c3", "panic-handler", "exception-handler", "print-uart"] }
[target.riscv32imac-unknown-none-elf.dev-dependencies]
# ESP32-C6
esp32c6-hal = "0.6.0"
esp-println = { version = "0.7.1", features = [ "esp32c6" ] }
esp-backtrace = { version = "0.9.0", features = [ "esp32c6", "panic-handler", "exception-handler", "print-uart"] }
# ESP32-H2
# esp32h2-hal = "0.4.0"
# esp-println = { version = "0.7.1", features = [ "esp32h2" ] }
# esp-backtrace = { version = "0.9.0", features = [ "esp32h2", "panic-handler", "exception-handler", "print-uart"] }
[target.xtensa-esp32-none-elf.dev-dependencies]
esp32-hal = "0.16.0"
esp-println = { version = "0.7.1", features = [ "esp32" ] }
esp-backtrace = { version = "0.9.0", features = [ "esp32", "panic-handler", "exception-handler", "print-uart"] }
[target.xtensa-esp32s2-none-elf.dev-dependencies]
esp32s2-hal = "0.13.0"
esp-println = { version = "0.7.1", features = [ "esp32s2" ] }
esp-backtrace = { version = "0.9.0", features = [ "esp32s2", "panic-handler", "exception-handler", "print-uart"] }
[target.xtensa-esp32s3-none-elf.dev-dependencies]
esp32s3-hal = "0.13.0"
esp-println = { version = "0.7.1", features = [ "esp32s3" ] }
esp-backtrace = { version = "0.9.0", features = [ "esp32s3", "panic-handler", "exception-handler", "print-uart"] }
[[example]]
name = "low_level"
required-features = ["low-level"]
[features]
default = ["critical-section", "storage"]
critical-section = ["dep:critical-section"]
# ReadStorage/Storage traits
storage = []
# ReadNorFlash/NorFlash traits
nor-flash = []
# Bytewise read emulation
bytewise-read = []
esp32c2 = []
esp32c3 = []
esp32c6 = []
esp32h2 = []
esp32 = []
esp32s2 = []
esp32s3 = []
# Enable flash emulation to run tests
emulation = []
# this feature is reserved for very specific use-cases - usually you don't want to use this!
low-level = []