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
|
[package]
name = "board"
version = "0.1.0"
edition = "2024"
publish = false
[dependencies.cfg-if]
version = "1.0"
[dependencies.imxrt-ral]
version = "0.5"
features = ["rt"]
[dependencies.imxrt-rt]
path = ".."
features = ["device"]
[build-dependencies.imxrt-rt]
path = ".."
features = ["device"]
[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]
nonboot = []
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",
]
imxrt1010evk-ram = [
"imxrt-ral/imxrt1011",
# No FCB required.
"dep:rtt-target",
"dep:panic-rtt-target",
]
imxrt1170evk-cm7 = [
"imxrt-ral/imxrt1176_cm7",
"dep:imxrt1170evk-fcb",
"dep:rtt-target",
"dep:panic-rtt-target",
]
# Dummy boards for testing DCD linking.
# Don't try running these on hardware; they might not work.
__dcd = ["teensy4"]
__dcd_missize = ["teensy4"]
|