2021-01-22 09:18:12 -05:00
|
|
|
[package]
|
|
|
|
name = "rp2040-hal"
|
2021-09-22 20:43:30 +10:00
|
|
|
version = "0.3.0"
|
2021-01-22 09:18:12 -05:00
|
|
|
authors = ["evan <evanmolder@gmail.com>"]
|
|
|
|
edition = "2018"
|
2021-08-25 00:33:03 +02:00
|
|
|
homepage = "https://github.com/rp-rs/rp-hal"
|
2021-01-22 09:18:12 -05:00
|
|
|
description = "A Rust Embeded-HAL impl for the rp2040 microcontroller"
|
|
|
|
license = "MIT OR Apache-2.0"
|
|
|
|
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
|
|
|
|
[dependencies]
|
2021-05-23 21:08:42 -05:00
|
|
|
cortex-m = "0.7.2"
|
2021-09-09 08:55:30 +01:00
|
|
|
embedded-hal = { version = "0.2.5", features = ["unproven"] }
|
2021-11-19 21:41:00 +00:00
|
|
|
eh1_0_alpha = { version = "=1.0.0-alpha.6", package="embedded-hal", optional=true }
|
2021-07-26 21:16:09 +02:00
|
|
|
embedded-time = "0.12.0"
|
2021-09-15 17:32:00 +03:00
|
|
|
itertools = { version = "0.10.1", default-features = false }
|
2021-05-23 21:08:42 -05:00
|
|
|
nb = "1.0"
|
2021-09-15 07:07:25 +02:00
|
|
|
rp2040-pac = "0.1.5"
|
2021-05-23 21:08:42 -05:00
|
|
|
paste = "1.0"
|
2021-09-15 17:32:00 +03:00
|
|
|
pio = { git = "https://github.com/rp-rs/pio-rs.git", branch = "main" }
|
2021-09-09 08:55:30 +01:00
|
|
|
usb-device = "0.2.8"
|
2021-09-15 17:32:00 +03:00
|
|
|
vcell = "0.1"
|
|
|
|
void = { version = "1.0.2", default-features = false }
|
2021-09-26 11:51:01 +01:00
|
|
|
rand_core = "0.6.3"
|
2021-04-24 16:18:57 -05:00
|
|
|
|
2021-11-08 12:23:28 +00:00
|
|
|
futures = { version = "0.3", default-features = false, optional = true }
|
|
|
|
|
|
|
|
# namespaced features will let use use "dep:embassy-traits" in the features rather than using this
|
|
|
|
# trick of renaming the crate.
|
|
|
|
[dependencies.embassy_traits]
|
|
|
|
git = "https://github.com/embassy-rs/embassy"
|
|
|
|
rev = "3dcf899babff5b735b1f1a5a99a9005ce06f517f"
|
|
|
|
package = "embassy-traits"
|
|
|
|
optional = true
|
|
|
|
|
2021-04-24 16:18:57 -05:00
|
|
|
[dev-dependencies]
|
2021-09-15 07:07:25 +02:00
|
|
|
cortex-m-rt = "0.7"
|
2021-04-24 16:18:57 -05:00
|
|
|
panic-halt = "0.2.0"
|
2021-10-18 10:52:01 +01:00
|
|
|
rp2040-boot2 = "0.2"
|
2021-07-23 10:37:36 +02:00
|
|
|
hd44780-driver = "0.4.0"
|
2021-10-05 16:05:24 +00:00
|
|
|
pio-proc = { git = "https://github.com/rp-rs/pio-rs.git", branch = "main" }
|
2021-07-07 04:33:36 -05:00
|
|
|
|
|
|
|
[features]
|
2021-07-23 10:37:36 +02:00
|
|
|
rt = ["rp2040-pac/rt"]
|
2021-11-08 12:23:28 +00:00
|
|
|
embassy-traits = ["embassy_traits", "futures"]
|
|
|
|
|