-
Notifications
You must be signed in to change notification settings - Fork 3
/
Cargo.toml
78 lines (66 loc) · 2.36 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
[package]
name = "esp-gallery"
version = "0.1.0"
authors = ["Kirill Mikhailov <[email protected]>"]
edition = "2021"
license = "MIT OR Apache-2.0"
[target.xtensa-esp32-none-elf.dependencies]
xtensa-atomic-emulation-trap = "0.4.0"
esp32-hal = { package = "esp32-hal", git = "https://github.com/esp-rs/esp-hal.git" }
xtensa-lx-rt = { version = "0.15.0", features = ["esp32"], optional = true }
esp-println = { version = "0.4.0", features = ["esp32"] }
esp-backtrace = { git = "https://github.com/esp-rs/esp-backtrace", features = [
"esp32",
"panic-handler",
"print-uart",
] }
[target.xtensa-esp32s2-none-elf.dependencies]
xtensa-atomic-emulation-trap = "0.4.0"
esp32s2-hal = "0.7.0"
esp-backtrace = { git = "https://github.com/esp-rs/esp-backtrace", features = [
"esp32s2",
"panic-handler",
"print-uart",
] }
xtensa-lx-rt = { version = "0.15.0", features = ["esp32s2"], optional = true }
esp-println = { version = "0.4.0", features = [ "esp32s2" ] }
[target.xtensa-esp32s3-none-elf.dependencies]
xtensa-atomic-emulation-trap = "0.4.0"
esp32s3-hal = "0.7.0"
esp-backtrace = { git = "https://github.com/esp-rs/esp-backtrace", features = [
"esp32s3",
"panic-handler",
"print-uart",
] }
xtensa-lx-rt = { version = "0.15.0", features = ["esp32s3"], optional = true }
esp-println = { version = "0.4", features = [ "esp32s3" ] }
[target.riscv32imac-unknown-none-elf.dependencies]
esp32c3-hal = { package = "esp32c3-hal", git = "https://github.com/esp-rs/esp-hal.git" }
esp-backtrace = { git = "https://github.com/esp-rs/esp-backtrace", features = [
"esp32c3",
"panic-handler",
"print-uart",
] }
riscv-rt = { version = "0.11", optional = true }
esp-println = { version = "0.4", features = [ "esp32c3" ] }
[dependencies]
mipidsi = { git = "https://github.com/almindor/mipidsi" }
display-interface = "0.4"
display-interface-spi = "0.4.1"
embedded-graphics = "0.7.1"
embedded-graphics-core = "0.3.3"
embedded-hal = "0.2.7"
profont = "0.6.1" # font with extended signs and options of sizing (unlike fonts in embedded-graphics)
libm = "0.2.5"
[features]
default = [ "rt", "eh1" ]
rt = ["xtensa-lx-rt"] # for esp32 and esp32s2/s3 chips
# rt = [ ] # for esp32c3 chip
eh1 = ["esp32s3-hal/eh1", "esp32s3"]
# eh1 = ["esp32-hal/eh1", "esp32"]
# eh1 = ["esp32s2-hal/eh1", "esp32s2"]
# eh1 = ["esp32c3-hal/eh1", "esp32c3"]
esp32 = []
esp32s2 = []
esp32s3 = []
esp32c3 = []