-
Notifications
You must be signed in to change notification settings - Fork 6
/
Cargo.toml
56 lines (45 loc) · 1.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
[package]
name = "imxrt-rt"
version = "0.1.5"
edition = "2021"
license = "MIT OR Apache-2.0"
repository = "https://github.com/imxrt-rs/imxrt-rt"
description = "Startup and runtime support for i.MX RT processors."
categories = [
"embedded",
"hardware-support",
"no-std",
]
[features]
device = ["cortex-m-rt/device"]
[dependencies]
cfg-if = "1.0"
[target.'cfg(all(target_arch = "arm", target_os = "none"))'.dependencies]
cortex-m-rt = { version = "=0.7.3", features = ["set-vtor", "set-sp"] }
[target.'cfg(all(target_arch = "arm", target_os = "none"))'.dev-dependencies]
board = { path = "board" }
cortex-m-rtic = { version = "1.0" }
[target.'cfg(not(all(target_arch = "arm", target_os = "none")))'.dev-dependencies]
goblin = "0.5"
[[example]]
name = "blink-rtic"
required-features = ["board/rtic"]
[workspace]
members = [
"board",
]
[profile.dev]
opt-level = 0
lto = "off"
panic = "abort"
[profile.release]
opt-level = "s"
lto = "fat"
panic = "abort"
codegen-units = 1
[profile.dev.build-override]
opt-level = 0
codegen-units = 256
[profile.release.build-override]
opt-level = 0
codegen-units = 256