-
Notifications
You must be signed in to change notification settings - Fork 2
/
Cargo.toml
33 lines (28 loc) · 969 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
[package]
name = "rp2040-async-i2c"
version = "0.1.0"
edition = "2021"
license = "Apache-2.0"
authors = ["Wilfried Chauveau <[email protected]>"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
rp2040-hal = { version = "0.9.0", features = ["eh1_0_alpha"] }
embedded-hal = { version = "=1.0.0-rc.1" }
embedded-hal-async = "1.0.0-rc.1"
i2c-write-iter = { version = "1.0.0-rc.1.3", features = ["async"] }
fugit = "0.3.6"
pio = { version = "0.2", optional = true }
pio-proc = { version = "0.2", optional = true }
[dev-dependencies]
cortex-m-rt = "0.7.1"
cortex-m = "0.7.6"
rp-pico = { version = "0.8.0", features = ["rt"] }
defmt = "0.3.2"
defmt-rtt = "0.3.2"
panic-probe = { version = "0.3.0", features = ["print-defmt"] }
nostd_async = { version = "0.6.0", features = ["cortex_m"] }
[[example]]
name = "pico_i2c_pio"
required-features = ["pio"]
[features]
pio = ["dep:pio", "dep:pio-proc"]