-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
112 lines (84 loc) · 3.88 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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
[package]
name = "esp-osm"
version = "0.1.0"
authors = ["Jonatan Borkowski <[email protected]>", "Maciej Bielecki <[email protected]>"]
edition = "2021"
license = "MIT OR Apache-2.0"
[patch.crates-io]
embassy-executor = { git = "https://github.com/zyla/embassy", rev = "d42a3279" }
embassy-net = { git = "https://github.com/zyla/embassy", rev = "d42a3279" }
embassy-net-driver = { git = "https://github.com/zyla/embassy", rev = "d42a3279"}
embassy-time = { git = "https://github.com/zyla/embassy", rev = "d42a3279" }
embassy-macros = { git = "https://github.com/zyla/embassy", rev = "d42a3279" }
embassy-sync = { git = "https://github.com/zyla/embassy", rev = "d42a3279" }
smoltcp = { git = "https://github.com/jborkowski/smoltcp.git", rev = "db7a929" }
esp-hal-common = { path = "./libs/esp-hal/esp-hal-common" }
esp32-hal = { path = "./libs/esp-hal/esp32-hal" }
[dependencies]
esp-backtrace = { version = "0.8.0", features = ["panic-handler", "exception-handler", "print-uart"] }
esp-println = { version = "0.6.0", features = ["log"] }
log = { version = "0.4.18" }
esp-alloc = { version = "0.3.0" }
esp-wifi = { git = "https://github.com/jborkowski/esp-wifi/", rev = "5ad2714", features = ["wifi", "embassy-net", "async"] }
smoltcp = { version = "0.10.0", default-features=false, features = ["proto-igmp", "proto-ipv4", "socket-tcp", "socket-icmp", "socket-udp", "medium-ethernet", "proto-dhcpv4", "socket-raw", "socket-dhcpv4"] }
heapless = { version = "0.7.14", default-features = false }
embassy-executor = { version = "0.3.0", features = ["nightly", "integrated-timers","executor-thread"] }
embassy-net = { version = "0.1.0", features = ["nightly","tcp","proto-ipv4","medium-ethernet","dhcpv4", "dns", "log", "udp", "medium-ip" ] }
embassy-net-driver = "0.1.0"
embassy-time = { version = "0.1.4", features = ["nightly"]}
embassy-macros = "0.2.1"
embedded-svc = { version = "0.25.0", default-features = false, features = [] }
embedded-io = "0.4"
reqwless = { version = "0.9.0", features = ["log"], default-features = false }
embedded-graphics = "0.8.1"
static_cell = { version = "1.2.0", features = ["nightly"] }
embedded-text = "0.6.6"
# chips
esp32c3-hal = { version = "0.12.0", features=["embassy","async","embassy-time-timg0"], optional = true }
esp32c6-hal = { version = "0.5.0", features=["embassy","async","embassy-time-timg0"], optional = true }
esp32-hal = { version = "0.15.0", features=["embassy","async","embassy-time-timg0","eh1","log"], optional = true }
display-interface = { version = "0.4.1" }
display-interface-spi = "0.4.1"
incremental-png = { path = "./libs/incremental-png" }
embedded-io-async = "0.6.0"
mipidsi = { version = "0.7.1" }
xpt2046 = { version = "0.3.1", path = "libs/xpt2046" }
minipng = "0.1.1"
embedded-hal-1 = { version = "=1.0.0-rc.1", package = "embedded-hal" }
spin = "0.9.8"
[features]
default = ["esp32", "psram"]
esp32c3 = ["esp32c3-hal", "esp-backtrace/esp32c3", "esp-println/esp32c3", "esp-wifi/esp32c3", "embassy-executor/arch-riscv32"]
esp32c6 = ["esp32c6-hal", "esp-backtrace/esp32c6", "esp-println/esp32c6", "esp-wifi/esp32c6", "embassy-executor/arch-riscv32"]
esp32 = ["esp32-hal", "esp-backtrace/esp32", "esp-println/esp32", "esp-wifi/esp32", "embassy-executor/arch-xtensa"]
psram = ["esp32-hal/psram_8m"]
[profile.dev.package.esp-wifi]
opt-level = 3
[profile.dev.package.incremental-png]
opt-level = 3
[profile.dev.package.minipng]
opt-level = 3
[profile.dev.package.miniz_oxide]
opt-level = 3
[profile.dev.package.embedded-graphics]
opt-level = 3
[profile.dev.package.embedded-graphics-core]
opt-level = 3
[profile.dev.package.mipidsi]
opt-level = 3
[profile.dev.package.display-interface]
opt-level = 3
[profile.dev.package.display-interface-spi]
opt-level = 3
[profile.dev.package.esp-hal-common]
opt-level = 3
[profile.dev.package.esp32-hal]
opt-level = 3
[profile.dev.package.esp-osm]
opt-level = 3
[profile.dev]
opt-level = "z"
lto = false
[profile.release]
opt-level = "z"
lto = false