-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathCargo.toml
98 lines (79 loc) · 3.06 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
90
91
92
93
94
95
96
97
98
[package]
name = "esp-clock"
version = "0.1.0"
authors = ["Kirill Mikhailov <[email protected]>"]
edition = "2021"
categories = ["embedded", "hardware-support"]
keywords = ["embedded", "idf", "esp-idf", "esp32", "zx"]
description = "Demonstration of esp-rust-board functionality"
repository = "https://github.com/playfulFence/esp-clock"
license = "MIT OR Apache-2.0"
readme = "README.md"
[profile.dev]
# symbols are nice and they don't increase the size on Flash
debug = true
opt-level = "z"
#[profile.release]
#opt-level = "s"
[features]
# default = [ "esp32c3_rust_board_ili9341" ]
default = [ "esp32c3_ili9341" ]
# default = [ "esp32s3_ili9341" ]
# default = [ "esp32s2_ili9341" ]
# default = [ "esp32s3_usb_otg" ]
# default = [ "esp32s2_usb_otg" ]
# default = [ "esp32_ili9341" ]
# Enable this feature in case you have a ESP32 ILI9341 board
esp32_ili9341 = []
# Enable this feature in case you have a ESP32S2 ILI9341 board
esp32s2_ili9341 = ["wifi"]
# Enable this feature in case you have a ESP32S3 ILI9341 board
esp32s3_ili9341 = ["wifi"]
# Enable this feature in case you have a ESP32C3 ILI9341 board
esp32c3_ili9341 = ["wifi"]
# Enable this feature in case you have a Kaluga ILI9341 board
kaluga_ili9341 = []
# Enable this feature in case you have a Kaluga ST7789 board
kaluga_st7789 = []
# Enable this feature in case you have a TTGO board
ttgo = []
# Enable this feature in case you have a Heltec board
heltec = []
# Enable this feature in case you have an ESP32S2-USB-OTG preview board
esp32s2_usb_otg = []
# Enable this feature in case you have an ESP32S3-USB-OTG board
esp32s3_usb_otg = []
# Enable this feature in case you have an ESP32C3-RUST-BOARD AND you want to use it's on-board sensors
esp32c3_rust_board_ili9341 = []
# Enable this feature in case you want to use network communication
wifi = []
[dependencies]
anyhow = { version = "1", features = ["backtrace"] }
log = "0.4"
esp-idf-sys = { version = "0.32.1", features = ["binstart"] }
esp-idf-svc = { version = "0.45.0" }
esp-idf-hal = "0.40.1"
embedded-svc = "0.24.0"
embedded-hal = "0.2.7"
embedded-graphics = "0.7.1"
embedded-text = "0.5.0"
display-interface = "0.4.1"
display-interface-spi = "0.4.1"
st7789 = "0.6"
ili9341 = { version = "0.5", git = "https://github.com/yuri91/ili9341-rs" }
ssd1306 = "0.7"
rustzx-utils = { version = "0.15", features = ["std"] }
rustzx-core = { version = "0.15", features = ["embedded-roms"] }
time = { version = "0.3.9", features = ["std", "macros"]}
icm42670 = { git = "https://github.com/jessebraham/icm42670" }
shared-bus = "0.2.4"
shtcx = "0.10.0"
bitmap-font = "0.2.2"
tinybmp = "0.3.3"
profont = "0.6.1"
cfg-if = "1.0.0"
toml-cfg = "0.1.3"
#esp32c3_hal = { package = "esp32c3-hal",git = "https://github.com/esp-rs/esp-hal/" } bare-metal variant, try later...
[build-dependencies]
embuild = "0.28.5"
anyhow = "1.0.50"