aboutsummaryrefslogtreecommitdiff
path: root/board/Cargo.toml
blob: 21defd4a095f59118ce5b6ce5b986ef991b6c68d (plain)
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
[package]
name = "board"
version = "0.1.0"
edition = "2021"
publish = false

[dependencies.cfg-if]
version = "1.0"

[dependencies.imxrt-ral]
version = "0.5"

[dependencies.imxrt-rt]
path = ".."

[build-dependencies.imxrt-rt]
path = ".."

[target.'cfg(all(target_arch = "arm", target_os = "none"))'.dependencies]
teensy4-fcb = { version = "0.3", optional = true }
teensy4-panic = { version = "0.2", optional = true }

imxrt1010evk-fcb = { version = "0.1", optional = true }
imxrt1170evk-fcb = { version = "0.1", optional = true }
rtt-target = { version = "0.3", optional = true, features = ["cortex-m"] }
panic-rtt-target = { version = "0.1", optional = true, features = ["cortex-m"] }

[features]
rtic = []
# Begin board features.
teensy4 = [
    "imxrt-ral/imxrt1062",
    "dep:teensy4-fcb",
    "dep:teensy4-panic",
]
imxrt1010evk = [
    "imxrt-ral/imxrt1011",
    "dep:imxrt1010evk-fcb",
    "dep:rtt-target",
    "dep:panic-rtt-target",
]
imxrt1170evk-cm7 = [
    "imxrt-ral/imxrt1176_cm7",
    "dep:imxrt1170evk-fcb",
    "dep:rtt-target",
    "dep:panic-rtt-target",
]