2021-01-23 01:18:12 +11:00
|
|
|
[package]
|
2021-07-03 18:15:39 +10:00
|
|
|
name = "pico"
|
2021-01-23 01:18:12 +11:00
|
|
|
version = "0.1.0"
|
|
|
|
authors = ["evan <evanmolder@gmail.com>"]
|
|
|
|
edition = "2018"
|
2021-07-03 18:15:39 +10:00
|
|
|
homepage = "https://github.com/rp-rs/rp-hal/boards/pico"
|
2021-01-26 07:42:43 +11:00
|
|
|
description = "Board Support Package for the Raspberry Pi Pico"
|
2021-01-23 01:18:12 +11:00
|
|
|
license = "MIT OR Apache-2.0"
|
|
|
|
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
|
|
|
|
[dependencies]
|
2021-07-03 18:15:39 +10:00
|
|
|
cortex-m = "0.7.2"
|
2021-12-05 01:00:09 +11:00
|
|
|
rp2040-boot2 = { version = "0.2.0", optional = true }
|
2021-09-22 20:43:30 +10:00
|
|
|
rp2040-hal = { path = "../../rp2040-hal", version = "0.3.0"}
|
2021-09-15 15:07:25 +10:00
|
|
|
cortex-m-rt = { version = "0.7", optional = true }
|
2021-07-27 05:16:09 +10:00
|
|
|
embedded-time = "0.12.0"
|
2021-09-10 23:39:01 +10:00
|
|
|
usb-device= "0.2.8"
|
2021-09-09 17:55:30 +10:00
|
|
|
usbd-serial = "0.1.1"
|
2021-09-25 19:10:01 +10:00
|
|
|
usbd-hid = "0.5.1"
|
2021-11-08 23:23:28 +11:00
|
|
|
futures = { version = "0.3", default-features = false, optional = true }
|
|
|
|
|
|
|
|
[dependencies.embassy]
|
|
|
|
git = "https://github.com/embassy-rs/embassy"
|
2021-12-05 23:38:58 +11:00
|
|
|
rev = "6d6e6f55b8a9ecd38b5a6d3bb11f74b2654afdeb"
|
2021-11-08 23:23:28 +11:00
|
|
|
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"
|
2021-12-05 23:38:58 +11:00
|
|
|
rev = "6d6e6f55b8a9ecd38b5a6d3bb11f74b2654afdeb"
|
2021-11-08 23:23:28 +11:00
|
|
|
package = "embassy-traits"
|
|
|
|
optional = true
|
2021-07-26 20:24:58 +10:00
|
|
|
|
|
|
|
[dev-dependencies]
|
|
|
|
panic-halt= "0.2.0"
|
|
|
|
embedded-hal ="0.2.5"
|
2021-12-08 11:24:35 +11:00
|
|
|
cortex-m-rtic = "0.6.0-rc.4"
|
2021-09-16 18:47:34 +10:00
|
|
|
nb = "1.0"
|
2021-12-14 10:52:32 +11:00
|
|
|
i2c-pio = { git = "https://github.com/ithinuel/i2c-pio-rs", rev = "df06e4ac94a5b2c985d6a9426dc4cc9be0d535c0" }
|
2021-07-07 19:33:36 +10:00
|
|
|
|
|
|
|
[features]
|
2021-12-05 01:00:09 +11:00
|
|
|
default = ["boot2", "rt"]
|
|
|
|
boot2 = ["rp2040-boot2"]
|
2021-09-09 17:55:30 +10:00
|
|
|
rt = ["cortex-m-rt","rp2040-hal/rt"]
|
2021-11-08 23:23:28 +11:00
|
|
|
embassy-traits = ["futures", "embassy", "embassy_traits"]
|
|
|
|
|
|
|
|
[[example]]
|
|
|
|
name = "pico_i2c_controller_peripheral"
|
|
|
|
required-features = ["embassy-traits"]
|