-
Notifications
You must be signed in to change notification settings - Fork 655
/
Copy pathCargo.toml
160 lines (146 loc) · 5.1 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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
# Copyright © SixtyFPS GmbH <[email protected]>
# SPDX-License-Identifier: MIT
[package]
name = "mcu-board-support"
version = "1.11.0"
authors = ["Slint Developers <[email protected]>"]
edition = "2021"
license = "MIT"
publish = false
description = "Internal helper that includes support for different MCUs, for use in Slint examples"
repository = "https://github.com/slint-ui/slint"
homepage = "https://slint.dev"
links = "mcu_board_support" # just so we can pass metadata to the slint build crate
[lib]
path = "lib.rs"
[features]
pico-st7789 = [
"slint/unsafe-single-threaded",
"rp-pico",
"embedded-hal",
"embedded-hal-nb",
"cortex-m-rt",
"embedded-alloc",
"fugit",
"cortex-m",
"dep:mipidsi",
"defmt",
"defmt-rtt",
"slint/libm",
"embedded-dma",
"embedded-graphics",
"euclid/libm",
]
pico2-st7789 = [
"slint/unsafe-single-threaded",
"rp235x-hal/binary-info",
"rp235x-hal/critical-section-impl",
"rp235x-hal/rt",
"rp235x-hal/defmt",
"embedded-hal",
"embedded-hal-nb",
"cortex-m-rt",
"embedded-alloc",
"fugit",
"cortex-m",
"dep:mipidsi",
"defmt",
"defmt-rtt",
"slint/libm",
"embedded-dma",
"embedded-graphics",
"euclid/libm",
]
stm32h735g = [
"slint/unsafe-single-threaded",
"cortex-m/critical-section-single-core",
"cortex-m-rt",
"embedded-alloc",
"embedded-time",
"stm32h7xx-hal/stm32h735",
"defmt",
"defmt-rtt",
"embedded-display-controller",
"ft5336",
"panic-probe",
"slint/libm",
"getrandom",
]
# esp32-s3-box = ["slint/unsafe-single-threaded", "esp-hal/esp32s3", "embedded-hal", "embedded-hal-bus", "esp-alloc", "esp-println/esp32s3", "esp-backtrace/esp32s3", "dep:mipidsi", "embedded-graphics-core", "slint/libm", "tt21100"]
stm32u5g9j-dk2 = [
"embassy-stm32/stm32u5g9zj",
"embassy-stm32/time-driver-any",
"embassy-stm32/exti",
"embassy-stm32/memory-x",
"embassy-stm32/unstable-pac",
"embassy-stm32/chrono",
"embassy-stm32/time",
"embassy-stm32/defmt",
"embassy-executor/arch-cortex-m",
"embassy-executor/executor-interrupt",
"embassy-executor/task-arena-size-32768",
"embassy-executor/executor-thread",
"slint/libm",
"slint/unsafe-single-threaded",
"defmt",
"defmt-rtt",
"embedded-alloc",
"getrandom",
"cortex-m/critical-section-single-core",
"cortex-m-rt",
"panic-probe",
"embassy-time/tick-hz-32_768",
"embassy-time/defmt",
"embassy-time/defmt-timestamp-uptime",
"rand_core",
"cortex-m/inline-asm",
"cortex-m/critical-section-single-core",
"gt911/defmt",
"embassy-futures",
"i-slint-core/experimental",
]
[dependencies]
slint = { version = "=1.11.0", path = "../../api/rs/slint", default-features = false, features = ["compat-1-2", "renderer-software"] }
i-slint-core = { workspace = true }
i-slint-core-macros = { version = "=1.11.0", path = "../../internal/core-macros" }
derive_more = { workspace = true }
embedded-graphics = { version = "0.8", optional = true }
once_cell = { version = "1.9", default-features = false, features = ["alloc"] }
pin-weak = { version = "1", default-features = false }
rgb = "0.8.27"
cfg-if = "1"
embedded-alloc = { version = "0.6", optional = true }
cortex-m-rt = { version = "0.7", optional = true }
cortex-m = { version = "0.7.2", optional = true }
embedded-hal = { version = "1.0.0", optional = true }
embedded-hal-nb = { version = "1.0.0", optional = true }
embedded-hal-bus = { version = "0.2", optional = true }
embedded-dma = { version = "0.2.0", optional = true }
rp-pico = { version = "0.9.0", optional = true }
rp235x-hal = { version = "0.2.0", default-features = false, optional = true }
fugit = { version = "0.3.6", optional = true }
euclid = { version = "0.22", default-features = false, optional = true }
stm32h7xx-hal = { version = "0.16.0", optional = true, features = ["log-rtt", "ltdc", "xspi"] }
getrandom = { version = "0.2", optional = true, default-features = false, features = ["custom"] }
embedded-time = { version = "0.12.0", optional = true }
embedded-display-controller = { version = "0.2.0", optional = true }
ft5336 = { version = "0.2", optional = true }
# Commented out until ported to newer version that matches embassy-time needed by stm32u5
# esp-hal = { version = "0.22", optional = true }
esp-alloc = { version = "0.5", optional = true }
esp-println = { version = "0.12.0", optional = true }
esp-backtrace = { version = "0.14.0", optional = true, features = ["panic-handler", "println"] }
tt21100 = { version = "0.1", optional = true }
mipidsi = { version = "0.9.0", optional = true }
embedded-graphics-core = { version = "0.4", optional = true }
defmt-rtt = { version = "0.4.0", optional = true }
defmt = { version = "1.0.0", optional = true }
panic-probe = { version = "0.3.0", optional = true, features = ["print-defmt"] }
embassy-stm32 = { version = "0.2.0", optional = true }
embassy-executor = { version = "0.7.0", optional = true, default-features = false }
embassy-time = { version = "0.4.0", optional = true }
embassy-futures = { version = "0.1.1", optional = true }
gt911 = { version = "0.3.0", optional = true }
rand_core = { version = "0.6.3", optional = true }
[build-dependencies]
cfg-if = "1.0.0"