2021-01-23 01:18:12 +11:00
|
|
|
[package]
|
|
|
|
name = "rp2040-hal"
|
2021-12-27 06:50:42 +11:00
|
|
|
version = "0.4.0"
|
2021-12-20 06:22:15 +11:00
|
|
|
authors = ["The rp-rs Developers"]
|
2021-01-23 01:18:12 +11:00
|
|
|
edition = "2018"
|
2021-08-25 08:33:03 +10:00
|
|
|
homepage = "https://github.com/rp-rs/rp-hal"
|
2021-01-23 01:18:12 +11: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-24 12:08:42 +10:00
|
|
|
cortex-m = "0.7.2"
|
2022-03-13 12:35:59 +11:00
|
|
|
cortex-m-rt = ">=0.6.15,<0.8"
|
2021-09-09 17:55:30 +10:00
|
|
|
embedded-hal = { version = "0.2.5", features = ["unproven"] }
|
2022-02-26 21:06:55 +11:00
|
|
|
eh1_0_alpha = { version = "=1.0.0-alpha.7", package="embedded-hal", optional=true }
|
2021-07-27 05:16:09 +10:00
|
|
|
embedded-time = "0.12.0"
|
2021-09-16 00:32:00 +10:00
|
|
|
itertools = { version = "0.10.1", default-features = false }
|
2021-05-24 12:08:42 +10:00
|
|
|
nb = "1.0"
|
2022-01-30 23:56:51 +11:00
|
|
|
rp2040-pac = "0.3.0"
|
2021-05-24 12:08:42 +10:00
|
|
|
paste = "1.0"
|
2022-03-11 22:37:34 +11:00
|
|
|
pio = "0.2.0"
|
2022-03-13 12:35:59 +11:00
|
|
|
rp2040-hal-macros = { version = "0.1.0", path = "../rp2040-hal-macros" }
|
2021-09-09 17:55:30 +10:00
|
|
|
usb-device = "0.2.8"
|
2021-09-16 00:32:00 +10:00
|
|
|
vcell = "0.1"
|
|
|
|
void = { version = "1.0.2", default-features = false }
|
2021-09-26 20:51:01 +10:00
|
|
|
rand_core = "0.6.3"
|
2021-12-02 00:03:41 +11:00
|
|
|
critical-section = { version = "0.2.4", features = ["custom-impl"] }
|
2021-04-25 07:18:57 +10:00
|
|
|
|
2021-11-08 23:23:28 +11:00
|
|
|
futures = { version = "0.3", default-features = false, optional = true }
|
2021-11-29 21:15:20 +11:00
|
|
|
chrono = { version = "0.4", default-features = false, optional = true }
|
2021-11-08 23:23:28 +11:00
|
|
|
|
2021-04-25 07:18:57 +10:00
|
|
|
[dev-dependencies]
|
2021-09-15 15:07:25 +10:00
|
|
|
cortex-m-rt = "0.7"
|
2021-04-25 07:18:57 +10:00
|
|
|
panic-halt = "0.2.0"
|
2021-12-05 01:00:09 +11:00
|
|
|
rp2040-boot2 = "0.2.0"
|
2021-07-23 18:37:36 +10:00
|
|
|
hd44780-driver = "0.4.0"
|
2022-03-11 22:37:34 +11:00
|
|
|
pio-proc = "0.2.0"
|
2022-01-29 07:57:51 +11:00
|
|
|
dht-sensor = "0.2.1"
|
2021-07-07 19:33:36 +10:00
|
|
|
|
|
|
|
[features]
|
2021-07-23 18:37:36 +10:00
|
|
|
rt = ["rp2040-pac/rt"]
|
2021-12-01 23:52:53 +11:00
|
|
|
alloc = []
|
2022-01-30 11:46:45 +11:00
|
|
|
rom-func-cache = []
|
2022-02-02 14:56:07 +11:00
|
|
|
disable-intrinsics = []
|
|
|
|
rom-v2-intrinsics = []
|
2022-03-11 22:37:34 +11:00
|
|
|
|
|
|
|
[[example]]
|
|
|
|
# irq example uses cortex-m-rt::interrupt, need rt feature for that
|
|
|
|
name = "gpio_irq_example"
|
|
|
|
required-features = ["rt"]
|