-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
55 lines (45 loc) · 1.27 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
[package]
name = "imxrt-eth"
version = "0.1.0"
authors = ["Tim Vrakas <[email protected]>"]
edition = "2021"
[workspace.package]
edition = "2021"
[workspace.dependencies]
imxrt-hal = "0.5"
imxrt-iomuxc = "0.2.1"
imxrt-log = {version = "0.1", default-features = false, features = ["log", "lpuart", "usbd"] }
imxrt-ral = "0.5"
imxrt-rt = "0.1"
imxrt-usbd = "0.2"
[dependencies]
cortex-m = "0.7.2"
embedded-hal = "0.2"
# Remove me if you don't want logging.
log = "0.4"
teensy4-panic = { version = "0.2", optional = true }
smoltcp = { version = "0.10.0", default-features = false, features = ["log","proto-ipv4","medium-ethernet","medium-ip","socket-udp","proto-igmp","socket-icmp","socket-raw"] }
struct-pad = "0.2.0"
static_assertions = "1.1.0"
board = { path = "board", features = ["imxrt-log"]}
imxrt-rt = { workspace = true }
imxrt-ral = { workspace = true }
imxrt-hal = { workspace = true }
[features]
default = ["imxrt1170evk"]
teensy4 = ["board/teensy4","teensy4-panic"]
imxrt1170evk = ["board/imxrt1170evk-cm7"]
[[example]]
name = "teensy_demo"
required-features = ["teensy4"]
[[example]]
name = "rt1176_evk_demo"
required-features = ["imxrt1170evk"]
[profile.dev]
opt-level = 1
panic = "abort"
[profile.release]
opt-level = "z"
lto = "fat"
panic = "abort"
overflow-checks = true