-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
34 lines (26 loc) · 924 Bytes
/
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
[package]
name = "mcx-hal"
version = "0.0.1"
edition = "2021"
authors = ["Logiase Song <logiase.songs@gmail.com>"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
cortex-m = { version = "0.7.7", features = ["critical-section-single-core"] }
cortex-m-rt = { version = "0.7.3" }
paste = { version = "1.0.14" }
embedded-hal = { version = "1" }
embedded-io = { version = "0.6.1", optional = true }
critical-section = { version = "1.0" }
cfg-if = { version = "1" }
static_assertions = { version = "1" }
# pacs
mcxn947-pac = { version = "0.0", optional = true }
[dev-dependencies]
panic-halt = { version = "0.2.0" }
[features]
n947 = ["dep:mcxn947-pac", "_device-selected"]
rt = ["mcxn947-pac?/rt"]
# Critical Section implementation
critical-section-mailbox = []
critical-section-single-core = ["cortex-m/critical-section-single-core"]
_device-selected = []