-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
83 lines (66 loc) · 3.48 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
[package]
name = "esp-xkcd"
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 = "4e27208fca46" }
embassy-net = { git = "https://github.com/zyla/embassy", rev = "4e27208fca46" }
embassy-net-driver = { git = "https://github.com/zyla/embassy", rev = "4e27208fca46"}
embassy-time = { git = "https://github.com/zyla/embassy", rev = "4e27208fca46" }
embassy-macros = { git = "https://github.com/zyla/embassy", rev = "4e27208fca46" }
[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"], optional = true }
# display drivers
st7735-lcd = {version = "0.9.0", optional = true }
ssd1306 = { version = "0.8.4", optional = true }
display-interface = { version = "0.4.1", optional = true}
incremental-png = { git = "https://github.com/zyla/incremental-png", rev = "e05eaf91f8fd8d10f0dca7ba461c6190520c4f94" }
embedded-io-async = "0.6.0"
mipidsi = { version = "0.7.1", optional = true }
display-interface-spi = "0.4.1"
[features]
default = ["display-st7789", "esp32c3"]
#default = ["display-ssd1306"]
#default = ["display-ili9488", "esp32c3"]
display-ssd1306 = ["ssd1306", "display-interface"]
display-ili9488 = ["mipidsi", "display-interface"]
display-ili9341 = ["mipidsi", "display-interface"]
display-st7789 = ["mipidsi", "display-interface"]
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"]
[profile.dev.package.esp-wifi]
opt-level = 3
[profile.dev.package.incremental-png]
opt-level = 3
[profile.dev.package.miniz_oxide]
opt-level = 3
[profile.dev]
opt-level = "z"
lto = false
[profile.release]
opt-level = "z"
lto = false