-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
64 lines (54 loc) · 1.62 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
[package]
name = "ft6x06"
version = "0.1.2"
edition = "2021"
authors = ["Shantanu Gaikwad", "Ken Sedgwick"]
categories = ["embedded", "no-std", "hardware-support"]
description = "A platform agnostic driver for the FT6x06 type touch panel controller used on STM32F4 series board."
license = "MIT OR Apache-2.0"
repository = "https://github.com/Srg213/ft6x06"
keywords = [
"embedded-hal-driver",
"embedded-hal",
"FT6x06",
"touchscreen",
]
readme = "README.md"
[dependencies]
embedded-hal = { version = "0.2.7", features = ["unproven"] }
cortex-m = "0.7"
heapless = {version = "0.7", optional =true}
panic-probe = { version = "0.2", features = ["print-rtt"] }
rtt-target = { version = "0.3.1", features = ["cortex-m"] }
[dev-dependencies]
cortex-m-rt = ">=0.6.15, <0.8"
rtt-target = { version = "0.3.1", features = ["cortex-m"] }
stm32f4xx-hal = "0.13.2"
panic-semihosting = "0.5.2"
st7789 = "0.6.1"
embedded-graphics = "0.7.1"
display-interface-spi = "0.4"
[profile.dev]
debug = 1 # default is `true`; not needed if not already overridden
opt-level = "z"
[profile.release]
debug = 1 # default is `false`; using `true` is also OK as symbols reside on the host, not the target
opt-level = "z"
[features]
stm32f412 = ["stm32f4xx-hal/stm32f412"]
stm32f413 = ["stm32f4xx-hal/stm32f413", "stm32f4xx-hal/fmpi2c1"]
fsmc_lcd = ["stm32f4xx-hal/fsmc_lcd"]
gesture = ["dep:heapless"]
[[example]]
name = "touch"
[[example]]
name = "multi_touch"
[[example]]
name = "interface"
required-features = ["fsmc_lcd"]
[[example]]
name = "display_touch"
required-features = ["fsmc_lcd"]
[[example]]
name = "glogic"
required-features = ["fsmc_lcd","gesture"]