forked from mciantyre/teensy4-rs
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
145 lines (119 loc) · 2.66 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
[package]
name = "teensy4-bsp"
version = "0.5.0"
authors.workspace = true
edition.workspace = true
license.workspace = true
repository.workspace = true
description = """
Rust-based BSP for the Teensy 4.
Part of the teensy4-rs project.
"""
categories.workspace = true
keywords.workspace = true
autoexamples = false
[workspace.package]
authors = ["Ian McIntyre <ianpmcintyre@gmail.com>"]
edition = "2021"
license = "MIT OR Apache-2.0"
repository = "https://github.com/mciantyre/teensy4-rs"
categories = [
"embedded",
"hardware-support",
"no-std",
]
keywords = [
"arm",
"cortex-m",
"teensy4",
]
[dependencies.cortex-m]
version = "0.7"
features = ["critical-section-single-core"]
[dependencies.teensy4-fcb]
path = "teensy4-fcb"
version = "0.4"
[dependencies.imxrt-ral]
version = "0.5"
features = ["imxrt1062"]
[dependencies.imxrt-hal]
version = "0.5.3"
features = ["imxrt1060"]
[dependencies.imxrt-rt]
version = "0.1.4"
optional = true
features = ["device"]
[build-dependencies.imxrt-rt]
version = "0.1"
optional = true
features = ["device"]
[dependencies.teensy4-pins]
version = "0.3.1"
path = "teensy4-pins"
[workspace]
members = [
"teensy4-fcb",
"teensy4-panic",
"teensy4-pins",
"tools",
]
[features]
rt = ["dep:imxrt-rt", "imxrt-ral/rt"]
# Don't optimize build dependencies, like proc macros.
# Helps with build times.
[profile.release.build-override]
opt-level = 0
[profile.release]
debug = 2
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
default-target = "thumbv7em-none-eabihf"
[dev-dependencies.teensy4-panic]
version = "0.2"
path = "teensy4-panic"
features = ["log"]
[dev-dependencies]
defmt = "0.3"
defmt-bbq = "0.1"
embedded-hal = "0.2"
imxrt-log = { version = "0.1", default-features = false, features = ["usbd", "log"] }
log = "0.4"
nb = "1"
rtic = { version = "2", features = ["thumbv7-backend"] }
rtic-monotonics = { version = "1", default-features = false, features = ["cortex-m-systick"] }
usb-device = "0.2"
usbd-serial = "0.1"
[[example]]
name = "blocking_gpt"
required-features = ["rt"]
[[example]]
name = "blocking_led"
required-features = ["rt"]
[[example]]
name = "blocking_panic"
required-features = ["rt"]
[[example]]
name = "blocking_pit"
required-features = ["rt"]
[[example]]
name = "blocking_uart"
required-features = ["rt"]
[[example]]
name = "rtic_configure_pin"
required-features = ["rt"]
[[example]]
name = "rtic_defmt_usb_log"
required-features = ["rt"]
[[example]]
name = "rtic_gpt"
required-features = ["rt"]
[[example]]
name = "rtic_pit"
required-features = ["rt"]
[[example]]
name = "rtic_uart"
required-features = ["rt"]
[[example]]
name = "rtic_usb_log"
required-features = ["rt"]